Created
December 16, 2022 09:37
-
-
Save slonka/f47590177d749b6ee774ad7e31cffc15 to your computer and use it in GitHub Desktop.
coredns config with logging
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
.:{{ .CoreDNSPort }} { | |
forward . 127.0.0.1:{{ .EnvoyDNSPort }} | |
alternate NOTIMP,FORMERR,NXDOMAIN,SERVFAIL,REFUSED . /etc/resolv.conf | |
prometheus localhost:{{ .PrometheusPort }} | |
errors | |
log | |
} | |
.:{{ .CoreDNSEmptyPort }} { | |
template ANY ANY . { | |
rcode NXDOMAIN | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment