mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
systemd-resolved & unbound: add google dns for when everything is broken and you just want connected
This commit is contained in:
parent
8702c16ac0
commit
4c41a4cb56
8
etc/systemd/resolved.conf.d/10-dot-google.conf
Normal file
8
etc/systemd/resolved.conf.d/10-dot-google.conf
Normal file
@ -0,0 +1,8 @@
|
||||
[Resolve]
|
||||
DNS=8.8.4.4#dns.google 8.8.8.8#dns.google 2001:4860:4860::8844#dns.google 2001:4860:4860::8888#dns.google
|
||||
# Google DNS64
|
||||
#DNS=2001:4860:4860::6464#dns64.dns.google 2001:4860:4860::64#dns64.dns.google
|
||||
DNSOverTLS=true
|
||||
Domains=~.
|
||||
DNSSEC=true
|
||||
# vim: filetype=systemd
|
25
etc/unbound/unbound.conf.d/dot-google.conf
Normal file
25
etc/unbound/unbound.conf.d/dot-google.conf
Normal file
@ -0,0 +1,25 @@
|
||||
server:
|
||||
# Debian ca-certificates location
|
||||
#tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
|
||||
# Fedora
|
||||
#tls-cert-bundle: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
|
||||
# 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
|
||||
|
||||
forward-zone:
|
||||
name: "."
|
||||
forward-tls-upstream: yes
|
||||
# Google Public DNS
|
||||
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
|
||||
|
||||
# Google DNS64
|
||||
#forward-addr: 2001:4860:4860::6464@853#dns64.dns.google
|
||||
#forward-addr: 2001:4860:4860::64@853#dns64.dns.google
|
||||
|
||||
# vim: filetype=unbound.conf
|
Loading…
Reference in New Issue
Block a user