Created
March 13, 2023 20:15
-
-
Save jamesog/022aadf1cb71ca63674500c2afd2c5cd to your computer and use it in GitHub Desktop.
CoreDNS with NextDNS
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
. { | |
forward . tls://2a07:a8c0::ae:9cfd tls://2a07:a8c1::ae:9cfd tls://45.90.28.178 tls://45.90.30.178 8.8.8.8 8.8.4.4 { | |
tls_servername dns01-ae9cfd.dns.nextdns.io | |
policy sequential | |
} | |
cache { | |
success 12800 86400 300 | |
denial 12800 | |
prefetch 25 | |
serve_stale 24h | |
} | |
log . "client={remote}:{port} id={>id} type={type} class={class} name={name} proto={proto} size={size} do={>do} rcode={rcode} rflags={>rflags} rsize={rsize} duration={duration}" | |
prometheus 0.0.0.0:9153 | |
errors | |
} | |
bind server { | |
chaos | |
log | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment