Domain overrides tells unbound to locally resolve the domain to whatever you set there.
I did notice you can also specify a port on the domain overrides by using <ip>@<port> so you can change the port there also.
Oh, right, I forgot about this syntax. Thanks for checking. This makes the 'Query Forwarding' page even more mysterious. It omits adding entries to private_domains.conf. Other than that, there seems to be no difference to 'Domain Overrides'.
Since the 'Domain Overrides', 'Query Forwarding' and 'DNS over TLS' pages do essentially the same (create 'forward-zone' entries), let me make a proposal for discussion:Let's get rid of 'Domain Overrides' and 'DNS over TLS' and merge them into 'Query Forwarding'. Add two checkboxes to the edit dialogue:[ ] Private domainDisables DNSSEC validation, rebinding prevention and AS112 checks like 'Domain Overrides' currently does.[ ] DNS over TLSEnables DoT like 'DNS over TLS' currently does.Then we would have everything on a single page and could specify (and change!) these settings for individual entries.Thoughts?CheersMaurice
The only other difference is that you're able to omit a domain in Query Forwarding, allowing you to forward all requests to custom servers
which, granted, is basically the same functionality as using the system nameservers.
Also: API support
My opinion is that 'Query Forwarding', its help sections and accompanying documentation is a lot clearer than a 'Domain Overrides', as it doesn't really have anything to do with overriding as interpreted in host overrides.
Not exactly. As mentioned in #5138, you might want Unbound to forward all queries to servers which are different from the system nameservers. I do get that point.