Looking for ways to change your DNS server addresses in Ubuntu 12.10? Here’s a quick tip that shows you how.
This tutorial is going to show you how to replace your current DNS providers in Ubuntu easily. With more faster and secure DNS providers available, settling for the ones provided by your ISP is no longer the only option available to you. You can choose your own DNS providers and replace the current one provided to you anytime, and this tip will show you how.
- Change DNS providers in Ubuntu 12.10
To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to edit dhclient.conf file.
sudo gedit /etc/dhcp/dhclient.conf
Next, edit the file to look like the one below. Remove the comment ( # ) and add the DNS addresses as shown below. Replace the addresses highlighted below with your own DNS provider addresses. Save the file and close.prepend domain-name-servers 220.127.116.11, 18.104.22.168;
Restart your computer and verify.