Created
June 23, 2021 14:12
-
-
Save passcod/f79bcaa6af8c38b880418873a0e93e00 to your computer and use it in GitHub Desktop.
Coredns with one local-only zone
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
your.zone.tld { | |
ready | |
cancel | |
loop | |
log | |
loadbalance round_robin | |
auto { | |
directory /local/zones (.*) {1} | |
} | |
forward . 1.1.1.1 1.0.0.1 | |
errors | |
} | |
. { | |
ready | |
cancel | |
loop | |
local | |
forward . 1.1.1.1 1.0.0.1 | |
errors | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment