Skip to content

Instantly share code, notes, and snippets.

@passcod
Created June 23, 2021 14:12
Embed
What would you like to do?
Coredns with one local-only zone
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