Wednesday, 30 October 2013

How To Setup Google Public DNS Servers In Ubuntu and Linux machines

Setup Google Public DNS Servers.


Google DNS a popular DNS that which helps in getting faster browsing speed than that which is provided by ISP DNS. This DNS is having DNSSEC validation which will automatically provide better protection this also protects you from all attack by rejecting and I identifying invalid responses.

In this tutorial as we are Ubuntu geek we need faster and safer internet browsing so for that we are setting up google DNS for Ubuntu and Linux versions.

What is DNS?

I this you people actually got this question. This actually means that human-readable domain, (eg.linuxtrendz.com) into IP addresses so that they are accessible by computers.

Setting Google Public DNS Servers In Ubuntu and Linux machines.


Getting started with the tutorial

Press Ctrl – Alt – T and enter below command and run the command.

Setup Google Public DNS Servers In Ubuntu
sudo gedit /etc/dhcp/dhclient.conf

Find the below shown line and change it and make it look like this. Then save and close.

Setup Google Public DNS Servers In Ubuntu
prepend domain-name-servers x.x.x.x, y.y.y.y;

Save and restart your pc to make changed setting to be effected.

 

Another way is by moving to edit network connections.

Setup Google Public DNS Servers In Ubuntu Setup Google Public DNS Servers In Ubuntu

Edit the network connection and make connection method to ‘Automatic (DHCP) address only’

And give the google DNS

 

 

No comments:

Post a Comment