Key config:
auto-trust-anchor-file: "/var/lib/unbound/root.key" # RFC 5011 auto-managed
val-clean-additional: yes # remove unvalidated data
harden-glue: yes # trust glue within delegation only
harden-dnssec-stripped: yes # require DNSSEC for signed zones
use-caps-for-id: yes # 0x20 encoding against cache poisoning
ip-ratelimit: 1000 # prevents DNS amplification if exposed
harden-below-nxdomain: yes
harden-referral-path: yes
Community-maintained, DoT 1.3 via Cloudflare + CleanBrowsing, DNSSEC, multi-threaded: https://gist.github.com/timothymiller/79fd2a99fb1a14b82fbf7c72b77a582c
OPNsense ships with Unbound integrated: https://docs.opnsense.org/manual/unbound.html
Three documents covering the full spectrum:
See government-guides/nsa.md for URLs.