unbound/dot-provider-zones.conf: partially deduplicate by using forward-host

and remove extra dots
This commit is contained in:
Aminda Suomalainen 2024-09-19 09:13:29 +03:00
parent d09efef965
commit f04b6e4de4
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 31 additions and 61 deletions

View File

@ -13,104 +13,74 @@ server:
qname-minimisation: no
forward-zone:
name: "google."
name: "google"
forward-tls-upstream: yes
# Must be explicit forward-addr for dns.google to be found
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-zone:
name: "google.fi."
name: "google.fi"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
forward-zone:
name: "google.com."
name: "google.com"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
forward-zone:
name: "youtube.com."
name: "youtube.com"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
forward-zone:
name: "youtube-nocookie.com."
name: "youtube-nocookie.com"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
forward-zone:
name: "youtu.be."
name: "youtu.be"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
forward-zone:
name: "googlevideo.com."
name: "googlevideo.com"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
forward-zone:
name: "ytimg.com."
name: "ytimg.com"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
# forward-zone:
# name: "googleusercontent.com."
# name: "googleusercontent.com"
# forward-tls-upstream: yes
# forward-addr: 2001:4860:4860::8844@853#dns.google
# forward-addr: 2001:4860:4860::8888@853#dns.google
# forward-addr: 8.8.4.4@853#dns.google
# forward-addr: 8.8.8.8@853#dns.google
# forward-host: dns.google@853#dns.google
forward-zone:
name: "gstatic.com."
name: "gstatic.com"
forward-tls-upstream: yes
forward-addr: 2001:4860:4860::8844@853#dns.google
forward-addr: 2001:4860:4860::8888@853#dns.google
forward-addr: 8.8.4.4@853#dns.google
forward-addr: 8.8.8.8@853#dns.google
forward-host: dns.google@853#dns.google
forward-zone:
name: "cloudflare.com."
name: "cloudflare-dns.com"
# Must be explicit for forward-addr
forward-addr: 2606:4700:4700::1112@853#security.cloudflare-dns.com
forward-addr: 2606:4700:4700::1002@853#security.cloudflare-dns.com
forward-addr: 1.1.1.2@853#security.cloudflare-dns.com
forward-addr: 1.0.0.2@853#security.cloudflare-dns.com
forward-zone:
name: "cloudflare-dns.com."
forward-addr: 2606:4700:4700::1112@853#security.cloudflare-dns.com
forward-addr: 2606:4700:4700::1002@853#security.cloudflare-dns.com
forward-addr: 1.1.1.2@853#security.cloudflare-dns.com
forward-addr: 1.0.0.2@853#security.cloudflare-dns.com
name: "cloudflare.com"
forward-host: security.cloudflare-dns.com@853#security.cloudflare-dns.com
forward-zone:
name: "one.one."
forward-addr: 2606:4700:4700::1112@853#security.cloudflare-dns.com
forward-addr: 2606:4700:4700::1002@853#security.cloudflare-dns.com
forward-addr: 1.1.1.2@853#security.cloudflare-dns.com
forward-addr: 1.0.0.2@853#security.cloudflare-dns.com
name: "one.one"
forward-host: security.cloudflare-dns.com@853#security.cloudflare-dns.com
# vim: filetype=unbound.conf

View File

@ -9,26 +9,26 @@ server:
qname-minimisation: no
forward-zone:
name: "router.asus.com."
name: "router.asus.com"
forward-tls-upstream: no
forward-addr: 193.110.81.9
forward-addr: 185.253.5.9
forward-zone:
name: "tplinkrepeater.net."
name: "tplinkrepeater.net"
forward-tls-upstream: no
forward-addr: 193.110.81.9
forward-addr: 185.253.5.9
# Netgear
forward-zone:
name: "mywifiext.net."
name: "mywifiext.net"
forward-tls-upstream: no
forward-addr: 193.110.81.9
forward-addr: 185.253.5.9
forward-zone:
name: "norwegianwifi.com."
name: "norwegianwifi.com"
forward-tls-upstream: no
forward-addr: 193.110.81.9
forward-addr: 185.253.5.9