Changing DNS nameservers manually
Getting to grips with the command line in Linux will mean that you'll always be able to manage practically any Linux distribution (and there are literally hundreds) without having to learn a new interface. Command line instructions are often quicker to implement as well.
Log in to your Linux server using your username and password, and enter the following command...
sudo vi /etc/resolv.conf
Now edit the file as below...
- search myserver.mydomain.local
- nameserver 192.168.1.1
- nameserver 192.168.1.2
Note that your machine will try 192.168.1.1 first and then 192.168.1.2.
Thanks for visiting,