DNS problem after changing it

2 posts / 0 new
Last post
#1 Tue, 10/31/2017 - 06:30
L4UR3NS

DNS problem after changing it

Hi all,

  • I edited my message

After I installed Webmin on Ubuntu 16.04 LTS, changed the DNS on the Network Settings page, all DNS servers but 127.0.0.1 get removed and I can't add or edit anything. My server now has no DNS.

Help? :)

Tue, 10/31/2017 - 11:31
scotwnw

Trying putting the dns info into the interfaces file manually. I've run into that before as well but not sure what fixed it.

sudo nano /etc/network/interfaces

Add line for dns-nameservers under your active Ethernet connection. 'Space' separated list, not comma separated. Line below has 3 dns servers listed.

iface eth0 inet static
        ....
        ....
        dns-nameservers 127.0.0.1 8.8.8.8 8.8.4.4
Topic locked