2021-10-05 11:33:40 +02:00
|
|
|
# NOTE! Requires Unbound 1.7.3 or newer!
|
|
|
|
# Based on https://www.ctrl.blog/entry/unbound-tls-forwarding.html
|
|
|
|
|
|
|
|
server:
|
2023-02-21 18:08:54 +01:00
|
|
|
# Debian ca-certificates location
|
2024-04-17 15:01:38 +02:00
|
|
|
#tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
|
2023-02-21 18:08:54 +01:00
|
|
|
# Fedora location
|
|
|
|
#tls-cert-bundle: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
|
2024-04-17 15:01:38 +02:00
|
|
|
# Use system certificates no matter where they are
|
|
|
|
tls-system-cert: yes
|
|
|
|
# Quad9 says pointless performance impact on forwarders.
|
|
|
|
# https://docs.quad9.net/Quad9_For_Organizations/DNS_Forwarder_Best_Practices/#disable-qname-minimization
|
|
|
|
qname-minimisation: no
|
2021-10-05 11:33:40 +02:00
|
|
|
|
|
|
|
# DNS servers that have public button for flushing cache. Privacy not considered.
|
|
|
|
|
|
|
|
forward-zone:
|
2023-02-21 18:08:54 +01:00
|
|
|
name: "."
|
|
|
|
forward-tls-upstream: yes
|
2021-10-05 11:33:40 +02:00
|
|
|
|
2023-02-21 18:08:54 +01:00
|
|
|
# Cloudflare / https://1.1.1.1/purge-cache/
|
|
|
|
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
|
2021-10-05 11:33:40 +02:00
|
|
|
|
2023-02-21 18:08:54 +01:00
|
|
|
# Google / https://dns.google/cache
|
|
|
|
forward-addr: 8.8.8.8@853#dns.google
|
|
|
|
forward-addr: 8.8.4.4@853#dns.google
|
|
|
|
forward-addr: 2001:4860:4860::8888@853#dns.google
|
|
|
|
forward-addr: 2001:4860:4860::8844@853#dns.google
|
2024-04-19 08:14:32 +02:00
|
|
|
|
|
|
|
# vim: filetype=unbound.conf
|