Created
August 22, 2024 11:15
-
-
Save ei-grad/7580bc472206b485f7adadf90f1cfeef to your computer and use it in GitHub Desktop.
Using `coredns` as local caching name server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. { | |
bind lo | |
#forward . /etc/resolv.dhcp.conf | |
forward . tls://1.1.1.1 tls://1.0.0.1 { | |
tls_servername cloudflare-dns.com | |
} | |
cache { | |
success 99840 259200 600 | |
serve_stale | |
} | |
errors | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment