How to Override the DNS Server in UBUNTU
Ubuntu is a free Linux operating system. You can download it from their web site or have it sent to you on CD for a small fee. There are times when you want to choose what Domain Name Server (DNS) server you use in Ubuntu, instead of the one that is being assigned to you by your Internet Service Provider (ISP). Perhaps the DNS server they are giving you is slow or has outdated information. The Ubuntu operating system allows you to do this in just a few easy steps.
Instructions
-
-
1
Open the Terminal program. This can typically be done by pressing "CTRL", "ALT" and "T" on your keyboard simultaneously. You can also find it by clicking "Dash", "More Apps" then "Accessories."
-
2
Type in the following command, then press "Enter."
sudo gedit /etc/resolv.conf
The Sudo window will open.
-
-
3
Change or add the following lines:
nameserver your_DNS_server_1
nameserver your_DNS_server_2
"your_DNS_server_(#)" should be the IP address or hostname of the DNS server you wish to use.
-
4
Type :wq to save and quit. You may need to restart your system for changes to take place.
-
1