NAME

WebService::OPNsense::Unbound::Overview - Unbound overview controller

VERSION

version 0.001

SYNOPSIS

my $unbound_overview = $opn->unbound_overview;

my $enabled = $unbound_overview->is_enabled;

DESCRIPTION

Unbound overview and statistics.

NAME

WebService::OPNsense::Unbound::Overview - Unbound overview controller

METHODS

is_enabled

my $enabled = $unbound_overview->is_enabled;

Returns whether Unbound is enabled.

is_block_list_enabled

my $enabled = $unbound_overview->is_block_list_enabled;

Returns whether the DNSBL block list is enabled.

get_policies

my $policies = $unbound_overview->get_policies;

Returns Unbound policies.

totals

my $totals = $unbound_overview->totals;
my $totals = $unbound_overview->totals($maximum);

Returns query totals, optionally capped at a maximum.

search_queries

my $queries = $unbound_overview->search_queries(%params);

Searches DNS query logs.

rolling

my $data = $unbound_overview->rolling($timeperiod, $clients);

Returns rolling statistics for a given time period and client count.

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