Unbound
- async OPNsenseClient.get_unbound_blocklist()
Return Unbound DNS blocklist configuration.
- Returns:
- A UUID-keyed mapping of extended DNSBL rows,
or the regular DNSBL settings under
legacyon older firmware. A missing endpoint (404) returns an empty mapping. With errors disabled, a denied or failed read, undecodable JSON, or a wrongly shaped inventory returnsNone. With errors enabled, decoded payloads use the existing normalization rules, and the mappedOPNsenseErrorpropagates for request or decoding failures, including a legacy endpoint’s 404.
- Return type:
- async OPNsenseClient.enable_unbound_blocklist(uuid=None)
Enable Unbound DNS blocklist filtering.
- async OPNsenseClient.disable_unbound_blocklist(uuid=None)
Disable Unbound DNS blocklist filtering.