DNS (Domain Name Server) is basically a system to convert domain names into IP addresses. Domain names are easier to understand, memorize and write for humans while computers only use IP addresses to communicate.
In most of the case, Internet Service Providers providing the DNS servers to the customer. User can change it, the reasons to switch to other DNS servers for performance, privacy and censorship. Most of the people using OpenDNS as the first alternative, But Now Google Public DNS is available and the performance is much better.
Now How to set up Google Public DNS in Ubuntu
Select System-->Preferences-->Network Connections
Put these nameserver addresses as your ‘DNS Servers’:8.8.8.8, 8.8.4.4
Click ‘OK’ and reboot your machine.
NOTE:
$ sudo cp /etc/resolv.conf /etc/resolv.conf.auto
$ gksudo gedit /etc/dhcp3/dhclient.conf
# append the following line to the document
prepend domain-name-servers 8.8.8.8, 8.8.4.4;
# save and exit
$ sudo ifdown eth0 && sudo ifup eth0


0 Comments:
Post a Comment