User Tools

Site Tools


ubuntu:networking:dns:set_nameservers_to_outside_nameservers

Ubuntu - Networking - DNS - Set nameservers to outside nameservers

sudo vi /etc/network/interfaces

Update the dns-nameservers line as shown:

/etc/network/interfaces
. . .
iface eth0 inet6 static
        address 2604:A880:0800:0010:0000:0000:00B2:0001
        netmask 64
        gateway 2604:A880:0800:0010:0000:0000:0000:0001
        autoconf 0
        dns-nameservers 8.8.8.8 8.8.4.4

Refresh your network settings:

sudo ifdown eth0 && sudo ifup eth0
ubuntu/networking/dns/set_nameservers_to_outside_nameservers.txt · Last modified: 2021/01/07 09:33 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki