From da56d477595f3e2601057cd738cab2f42711268f Mon Sep 17 00:00:00 2001 From: eichehome Date: Fri, 25 Feb 2022 18:32:24 +0100 Subject: [PATCH] Corefile-Notizen --- CoreDNS/Corefile-bsp | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 CoreDNS/Corefile-bsp diff --git a/CoreDNS/Corefile-bsp b/CoreDNS/Corefile-bsp new file mode 100644 index 0000000..401a03e --- /dev/null +++ b/CoreDNS/Corefile-bsp @@ -0,0 +1,53 @@ +tls +sign +file/root +loadbalance +forward +bind +loop + +dns://.:53 { + bind eth0 + loadbalance round_robin + forward . 127.0.0.1:5051 127.0.0.1:5052 +} + +127.0.0.1:5051 { + forward . tls://8.8.8.8 tls://8.8.4.4 { + tls_servername dns.google + } +} + +127.0.0.1:5052 { + forward . 1.1.1.1 1.0.0.1 { + tls_servername cloudflare-dns.com + } +} + + + +tls://.:853 { + tls cert.pem key.pem ca.pem +} + +https://.:443 { + tls cert.pem key.pem ca.pem +} + +. { + bind eth0 + loop + loadbalance round_robin + forward . 8.8.8.8 9.9.9.9 + forward . tls://9.9.9.9 { + tls_servername dns.quad9.net + health_check 5s + } + cache 30 + hosts { + 10.0.0.1 example.org + falltrough + } + hosts + hosts /etc/hosts example.org +} \ No newline at end of file