nano /etc/resolv.confOr, for Ubuntu:
sudo nano /etc/resolv.confAdd namesevers as necessary:
nameserver <ip address>Save and close the config file.
nameserver <ip address>
nameserver <ip address>
See also Change Ubuntu IP Address from DHCP to Static
Cool and useful tools and knowledge for computers, networks and security.
nano /etc/resolv.confOr, for Ubuntu:
sudo nano /etc/resolv.confAdd namesevers as necessary:
nameserver <ip address>Save and close the config file.
nameserver <ip address>
nameserver <ip address>