1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-09 11:41:33 -05:00

Change to Cloudflare DNS

Signed-off-by: Thien Tran <contact@tommytran.io>
This commit is contained in:
Thien Tran 2023-06-25 17:14:10 -07:00
parent 40fcdc01c5
commit 1d15c26865
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2
2 changed files with 8 additions and 8 deletions

View File

@ -44,10 +44,10 @@ echo 'server:
forward-zone: forward-zone:
name: "." name: "."
forward-tls-upstream: yes forward-tls-upstream: yes
forward-addr: 8.8.8.8#dns.google forward-addr: 1.1.1.1@853#cloudflare-dns.com
forward-addr: 8.8.4.4#dns.google forward-addr: 1.0.0.1@853#cloudflare-dns.com
forward-addr: 2001:4860:4860::8888#dns.google forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
forward-addr: 2001:4860:4860::8844#dns.google' | sudo tee /etc/unbound/unbound.conf.d/custom.conf forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com' | sudo tee /etc/unbound/unbound.conf.d/custom.conf
mkdir -p /etc/systemd/system/unbound.service.d mkdir -p /etc/systemd/system/unbound.service.d
echo $'[Service] echo $'[Service]

View File

@ -46,10 +46,10 @@ echo 'server:
forward-zone: forward-zone:
name: "." name: "."
forward-tls-upstream: yes forward-tls-upstream: yes
forward-addr: 8.8.8.8#dns.google forward-addr: 1.1.1.1@853#cloudflare-dns.com
forward-addr: 8.8.4.4#dns.google forward-addr: 1.0.0.1@853#cloudflare-dns.com
forward-addr: 2001:4860:4860::8888#dns.google forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
forward-addr: 2001:4860:4860::8844#dns.google' | sudo tee /etc/unbound/unbound.conf forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com' | sudo tee /etc/unbound/unbound.conf
mkdir -p /etc/systemd/system/unbound.service.d mkdir -p /etc/systemd/system/unbound.service.d
echo $'[Service] echo $'[Service]