Last active
October 20, 2020 17:47
-
-
Save cpswan/6a7333df9c31e7b7972d39d958fcf126 to your computer and use it in GitHub Desktop.
Unbound/BIND config for DNS over TLS to 1.1.1.1
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
options { | |
directory "/tmp"; | |
listen-on-v6 { none; }; | |
forwarders { | |
127.0.0.1 port 2053; | |
}; | |
auth-nxdomain no; # conform to RFC1035 | |
notify yes; # notify slave server(s) | |
}; |
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
forward-zone: | |
name: "." | |
forward-addr: 217.169.20.22@853#dns.aa.net.uk | |
forward-addr: 1.1.1.1@853#1dot1dot1dot1.cloudflare-dns.com | |
forward-addr: 1.0.0.1@853#1dot1dot1dot1.cloudflare-dns.com | |
forward-addr: 9.9.9.9@853#dns.quad9.net | |
forward-addr: 149.112.112.112@853#rpz-public-resolver1.rrdns.pch.net | |
forward-ssl-upstream: yes |
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
do-tcp: yes | |
prefetch: yes | |
qname-minimisation: yes | |
rrset-roundrobin: yes | |
use-caps-for-id: yes | |
do-ip6: no | |
do-not-query-localhost: no #leftover from using Unbound in front of BIND | |
port: 2053 |
server: do-tcp: yes prefetch: yes qname-minimisation: yes rrset-roundrobin: yes use-caps-for-id: yes do-ip6: no do-not-query-localhost: no #leftover from using Unbound in front of BIND port: 2053
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're not verifying the certificates of the forwarders with this setup.