<form>
    <field>
        <id>unbound.dnsbl.enabled</id>
        <label>Enable</label>
        <type>checkbox</type>
        <help>Enable the usage of DNS blocklists.</help>
    </field>
    <field>
        <id>unbound.dnsbl.safesearch</id>
        <label>Force SafeSearch</label>
        <type>checkbox</type>
        <style>safesearch</style>
        <help>Force the usage of SafeSearch on Google, DuckDuckGo, Bing, Qwant, PixaBay and YouTube</help>
    </field>
    <field>
        <id>unbound.dnsbl.type</id>
        <label>Type of DNSBL</label>
        <type>select_multiple</type>
        <help>Select which kind of DNSBL you want to use.</help>
    </field>
    <field>
        <id>unbound.dnsbl.lists</id>
        <label>URLs of Blocklists</label>
        <type>select_multiple</type>
        <style>tokenize</style>
        <allownew>true</allownew>
        <advanced>true</advanced>
        <help>List of domains from where blocklist will be downloaded.</help>
    </field>
    <field>
        <id>unbound.dnsbl.whitelists</id>
        <label>Whitelist Domains</label>
        <type>select_multiple</type>
        <style>tokenize</style>
        <allownew>true</allownew>
        <help>List of domains to whitelist. You can use regular expressions.</help>
    </field>
    <field>
        <id>unbound.dnsbl.blocklists</id>
        <label>Blocklist Domains</label>
        <type>select_multiple</type>
        <style>tokenize</style>
        <allownew>true</allownew>
        <help>List of domains to blocklist. Only exact matches are supported.</help>
    </field>
    <field>
        <id>unbound.dnsbl.wildcards</id>
        <label>Wildcard Domains</label>
        <type>select_multiple</type>
        <style>tokenize</style>
        <allownew>true</allownew>
        <help>
            List of wildcard domains to blocklist. All subdomains of the given domain will
            be blocked. Blocking first-level domains is not supported.
        </help>
    </field>
    <field>
        <id>unbound.dnsbl.address</id>
        <label>Destination Address</label>
        <type>text</type>
        <advanced>true</advanced>
        <help>
            Destination ip address for entries in the blocklist (leave empty to use default: 0.0.0.0).
            Not used when "Return NXDOMAIN" is checked.
        </help>
    </field>
    <field>
        <id>unbound.dnsbl.nxdomain</id>
        <label>Return NXDOMAIN</label>
        <type>checkbox</type>
        <advanced>true</advanced>
        <help>Use the DNS response code NXDOMAIN instead of a destination address.</help>
    </field>
</form>
