You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far is I could tell from some research configuring block and whitelists for Unbound DNS, we could implement this functionality into this collection.
module: services_unbound_blocklistshort_description: Configuration of Unbound blocklists.description:
- Configuration of Unbound blocklistsoptions:
enable:
description: "Enable the usage of DNS blocklists."type: booldefault: trueforce_safe_search:
description: "Force the usage of SafeSearch on Google, DuckDuckGo, Bing, Qwant, PixaBay and YouTube"type: boolrequired: truedefault: falsepredefined_blocklists:
description:
- "Select which predeifined DNSBL you want to use."
- "See https://docs.opnsense.org/manual/unbound.html#predefined-sources for detailed source description"type: listelements: strblocklist_urls:
description: "List of domains from where blocklist will be downloaded."type: listelements: strrequired: falsewhitelist_domains:
description: "List of domains to whitelist. You can use regular expressions."type: listelements: strrequired: falseblocklist_domains:
description: "List of domains to blocklist. Only exact matches are supported."type: listelements: strrequired: falsewildcard_domains:
description: "List of wildcard domains to blocklist. All subdomains of the given domain will be blocked. Blocking first-level domains is not supported."type: listrequired: falsedestination_address:
description: "Destination ip address for entries in the blocklist (leave empty to use default: 0.0.0.0). Not used when \"Return NXDOMAIN\" is checked."type: strrequired: falsenxdomain:
description: "Use the DNS response code NXDOMAIN instead of a destination address."type: booldefault: false
Module Description
As far is I could tell from some research configuring block and whitelists for Unbound DNS, we could implement this functionality into this collection.
)
Minimum Viable Product (MVP)
Express your minimal viable product in the form of
the Ansible
DOCUMENTATION
block format:The types and values should be implemented according to the OPNsense core code:
https://github.com/opnsense/core/blob/24.1.9/src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml#L174
Examples
Mock up some usage examples in the form of
the Ansible
EXAMPLES
block format:The text was updated successfully, but these errors were encountered: