opn_set_dnsbl
Update DNSBL blocklist settings, including providers, allowlists, and blocklists, while preserving other configuration and applying changes immediately.
Instructions
Update a DNSBL blocklist configuration (read-modify-write).
Use this when you need to change DNSBL settings — providers, allowlists, blocklists, etc. Only the parameters you provide are changed; all other settings are preserved. Changes are applied immediately.
Get the UUID from opn_list_dnsbl first.
Parameters:
uuid: blocklist UUID from opn_list_dnsbl
enabled: enable/disable this blocklist
providers: comma-separated provider shortcodes (e.g. 'hgz002,hgz011,ag')
custom_urls: newline-separated custom blocklist URLs
allowlists: newline-separated allowlist entries (domains or regex patterns)
blocklists: newline-separated custom block domains
wildcards: newline-separated wildcard block domains
source_nets: comma-separated source networks (empty = all)
nxdomain: return NXDOMAIN instead of 0.0.0.0 for blocked domains
cache_ttl: cache TTL in seconds for DNSBL responses
description: human-readable description
Returns: dict with 'result', 'dnsbl_status', and 'service_status'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | ||
| enabled | No | ||
| providers | No | ||
| custom_urls | No | ||
| allowlists | No | ||
| blocklists | No | ||
| wildcards | No | ||
| source_nets | No | ||
| nxdomain | No | ||
| cache_ttl | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||