TLFor interested unbound users - with RFC7706(bis-00), also dubbed hyperlocal concept but its coiner prefers it not yet to be called as such , it is possible to mitigate the amount of DNS upstream queries and thereby increasing privacy and decreasing query response times.
In essence it is the transfer (AXFR/IXFR) of the internet root zone (.) and its top-level domains (TLD) referrals to the router. Thus queries for the root domain and TLD are resolved locally.
Since the settings cannot be parsed by UCI it requires 2 steps to implement the necessary settings
First add to “/etc/config/resolver”
config resolver 'unbound_includes' list include_path "/etc/unbound/unbound_ext.conf"
and then create the file “/etc/unbound/unbound_ext.conf” and insert
auth-zone: name: . for-downstream: no fallback-enabled: yes master: 188.8.131.52 master: 184.108.40.206 master: 220.127.116.11 master: 18.104.22.168 master: 22.214.171.124 master: 126.96.36.199 master: 188.8.131.52 master: 184.108.40.206 master: 220.127.116.11 master: 18.104.22.168 master: 22.214.171.124 master: 126.96.36.199 master: 188.8.131.52
Finally restart the resolver to apply the settings.
Word of caution - the aforementioned ipv4 addresses represent the world’s root domain servers and thus might change over time, though likely not very frequently. Changes should be monitored and updated in the config thus.
Furthermore not all root servers as of date permit the zone transfer and the permission for the root zone transfer could be revoked entirely at any time.
Users with a preference to ipv6 can utilise the corresponding addresses or hostnames instead (which have to be resolved first), e.g.
Instead of the
master directive the url directive can be utilized
url: https://www.internic.net/domain/root.zone, which is probably the most convenient way but not RFC7706 since the root zone is not transferred but downloaded and thus are difference semantics.