Skip to content

Instantly share code, notes, and snippets.

@jamesog
Created March 13, 2023 20:15
Show Gist options
  • Save jamesog/022aadf1cb71ca63674500c2afd2c5cd to your computer and use it in GitHub Desktop.
Save jamesog/022aadf1cb71ca63674500c2afd2c5cd to your computer and use it in GitHub Desktop.
CoreDNS with NextDNS
. {
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