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:
parent
40fcdc01c5
commit
1d15c26865
@ -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]
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user