dronebeelinux / dnstrio

Setup a trifecta of DNS servers on your favorite docker host to help protect your privacy
0 stars 0 forks source link

create unbound root hints at container start #2

Open dronebeelinux opened 9 months ago

dronebeelinux commented 9 months ago

automate this with an init container in docker-compose:

Get root hints:

mkdir -p ./unbound/etc/unbound/var
dig +bufsize=1200 +norec NS . @a.root-servers.net | tee ./unbound/etc/unbound/var/root.hints