shell-things/etc/unbound/unbound.conf.d/dns-over-tls.conf
Mikaela Suomalainen 222a030cee
unbound/dns-over-tls: note version requirement 1.7.3
Debian 9 has 1.6.0 with which I am stuck for now. Debian 10 has 1.9.0
2019-07-22 16:52:07 +03:00

45 lines
2.1 KiB
Plaintext

# NOTE! Requires Unbound 1.7.3 or newer! Debian 9 has 1.6.0
# cp of forwards.conf updated to DNS over TLS time with a lot took from
# https://www.ctrl.blog/entry/unbound-tls-forwarding.html
server:
# Debian ca-certificates location
tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
# ctrl.blog says this is the Fedora location
#tls-cert-bundle: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
# Forward queries to
forward-zone:
name: "."
forward-tls-upstream: yes
## Quad9 - warning: uncommenting others simultaneously will break
## malicious domain blocking.
forward-addr: 2620:fe::fe@853#dns.quad9.net
forward-addr: 9.9.9.9@853#dns.quad9.net
forward-addr: 2620:fe::9@853#dns.quad9.net
forward-addr: 149.112.112.112@853#dns.quad9.net
## Google - warning: for-profit business
#forward-addr: 2001:4860:4860::8888@853#dns.google
#forward-addr: 2001:4860:4860::8844@853#dns.google
#forward-addr: 8.8.8.8@853#dns.google
#forward-addr: 8.8.4.4@853#dns.google
## censurfridns.dk (Copenhagen?)
#forward-addr: 2001:67c:28a4::@853#anycast.censurfridns.dk
#forward-addr: 91.239.100.100@853#anycast.censurfridns.dk
## DNS.WATCH (German) - PROBLEM: NO DOT AS OF 2019-07-22 but in hope
## they will have it I am leaving these here.
#forward-addr: 2001:1608:10:25::1c04:b12f@853#resolver1.dns.watch
#forward-addr: 2001:1608:10:25::9249:d69b@853#resolver2.dns.watch
#forward-addr: 84.200.69.80@853#resolver1.dns.watch
#forward-addr: 84.200.70.40@853#resolver2.dns.watch
## Cloudflare DNS - didn't exist in 2015 for forwards.conf
## warning: for-profit business (and too big in my opinion)
#forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
#forward-addr: 1.1.1.1@853#cloudflare-dns.com
#forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com
#forward-addr: 1.0.0.1@853#cloudflare-dns.com
## AdGuard DNS - warning: for-profit business which task is to lie (to
## block ads)
#forward-addr: 176.103.130.130@853#dns.adguard.com
#forward-addr: 176.103.130.131@853#dns.adguard.com