NAME

WebService::OPNsense::Unbound::Service - Unbound service controller

VERSION

version 0.001

SYNOPSIS

my $unbound_service = $opn->unbound_service;

my $status = $unbound_service->status;

DESCRIPTION

Unbound DNS service control.

NAME

WebService::OPNsense::Unbound::Service - Unbound service controller

METHODS

status

my $status = $unbound_service->status;

Returns the current Unbound service status.

start

my $result = $unbound_service->start;

Starts the Unbound service.

stop

my $result = $unbound_service->stop;

Stops the Unbound service.

restart

my $result = $unbound_service->restart;

Restarts the Unbound service.

reconfigure

my $result = $unbound_service->reconfigure;

Reconfigures the Unbound service.

reconfigure_general

my $result = $unbound_service->reconfigure_general;

Reconfigures general Unbound settings.

dnsbl

my $result = $unbound_service->dnsbl;

Updates the DNSBL configuration.

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License