Skip to content

Instantly share code, notes, and snippets.

@st3fan
Created July 19, 2025 16:46
Show Gist options
  • Save st3fan/c8db2f0817627d4e46ca6976d168e2f1 to your computer and use it in GitHub Desktop.
Save st3fan/c8db2f0817627d4e46ca6976d168e2f1 to your computer and use it in GitHub Desktop.
# From https://coredns.io/plugins/forward/
. {
forward . 127.0.0.1:5301 127.0.0.1:5302
}
.:5301 {
forward . tls://8.8.8.8 tls://8.8.4.4 {
tls_servername dns.google
}
}
.:5302 {
forward . tls://1.1.1.1 tls://1.0.0.1 {
tls_servername cloudflare-dns.com
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment