Categories
CLI Command Line DNS Linux Nano Ubuntu Windows

Ubuntu Linux DNS Settings

DNS server settings are found in /etc/resolv.conf.  To edit use your favorite editor to open, personally I prefer nano.

sudo nano /etc/resolv.conf

Entries will look like

nameserver <ip address>
nameserver <ip address>
nameserver <ip address>

You should enter at least two known good DNS servers.