Unbound

async OPNsenseClient.get_unbound_blocklist()

Return the Unbound Blocklist details.

Returns:

Normalized data returned by the related OPNsense endpoint.

Return type:

dict[str, Any]

async OPNsenseClient.enable_unbound_blocklist(uuid=None)

Enable the unbound blocklist.

Parameters:

uuid (str | None, optional) – Unique identifier of the target OPNsense resource.

Returns:

True when the operation succeeds; otherwise, False.

Return type:

bool

async OPNsenseClient.disable_unbound_blocklist(uuid=None)

Disable the unbound blocklist.

Parameters:

uuid (str | None, optional) – Unique identifier of the target OPNsense resource.

Returns:

True when the operation succeeds; otherwise, False.

Return type:

bool