Skip to content

Instantly share code, notes, and snippets.

@bukowa
Last active October 26, 2024 19:28
Show Gist options
  • Save bukowa/99cbbd161de6e485edd94a0afe06a77f to your computer and use it in GitHub Desktop.
Save bukowa/99cbbd161de6e485edd94a0afe06a77f to your computer and use it in GitHub Desktop.
coredns
.:53 {
forward . tls://1.1.1.1 tls://1.0.0.1 {
tls_servername cloudflare-dns.com
health_check 5s
}
cache {
success 3600
}
}
docker run --restart=always -d --network=host --volume=$HOME/coredns/:/app coredns/coredns --conf=/app/Corefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment