User Tools

Site Tools


ubuntu:networking:dns:configure_dns

This is an old revision of the document!


Ubuntu - Networking - DNS - Configure DNS

Global DNS Setting

/etc/systemd/resolved.conf
[Resolve]
DNS=9.9.9.9
FallbackDNS=149.112.112.112
DNSSEC=true
DNSOverTLS=opportunistic

Restart systemd

sudo systemctl restart systemd-resolved.service

Check status

systemd-resolve --status

returns:

Global
    DNS Servers: 9.9.9.9
 
Link 3 [DEVICE_NAME]
      DNSSEC Setting: yes
    DNSSEC Supported: yes
         DNS Servers: 8.26.56.26
                      8.20.247.20
ubuntu/networking/dns/configure_dns.1610536899.txt.gz · Last modified: 2021/01/13 11:21 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki