See https://calomel.org/unbound_dns.html - specifically recursive, authoritative, validating dns over tls cache using 9.9.9.9 and 1.1.1.1
- Unifi usg with unifi controller running on a raspi with fixed ip
- unifi usg serves dhcp and hostnames for dhcp devices, upstreams to local dns cache
- local dns cache upstreams over tls, and validates with dnssec
sudo apt-get install unbound
sudo wget ftp://FTP.INTERNIC.NET/domain/named.cache -O /var/lib/unbound/root.hints
configure
delete system name-server
set system name-server 192.168.1.1
set interfaces ethernet eth0 dhcp-options name-server no-update
set service dns forwarding name-server 192.168.1.8 # unbound
commit
save
exit