NAME
WebService::OPNsense::Unbound::Service - Unbound service controller
VERSION
version 0.002
SYNOPSIS
my $unbound_service = $opn->unbound_service;
my $status = $unbound_service->status;
DESCRIPTION
Unbound DNS service control.
METHODS
status
my $status = $unbound_service->status;
Returns 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.
client
my $http_client = $unbound_service->client;
Returns the underlying HTTP client object used for API requests.
SEE ALSO
WebService::OPNsense::Role::Service
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