From ee293669d9fb2ec12929405e3e8e49c304fc1171 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Tue, 5 Oct 2021 12:33:40 +0300 Subject: [PATCH] unbound: add dot-flushable-cache.conf Resolves: #105 --- .../unbound.conf.d/dot-fluhable-cache.conf | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 etc/unbound/unbound.conf.d/dot-fluhable-cache.conf diff --git a/etc/unbound/unbound.conf.d/dot-fluhable-cache.conf b/etc/unbound/unbound.conf.d/dot-fluhable-cache.conf new file mode 100644 index 00000000..99773e52 --- /dev/null +++ b/etc/unbound/unbound.conf.d/dot-fluhable-cache.conf @@ -0,0 +1,26 @@ +# NOTE! Requires Unbound 1.7.3 or newer! +# Based on https://www.ctrl.blog/entry/unbound-tls-forwarding.html + +server: + # Debian ca-certificates location + tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt + # Fedora location + #tls-cert-bundle: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem + +# DNS servers that have public button for flushing cache. Privacy not considered. + +forward-zone: + name: "." + forward-tls-upstream: yes + + # 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 + + # 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