Tuesday, July 3, 2012

Using Google’s public DNS service as resolvers in your server

December 4, 2009 by  
Filed under General

Google recently introduced this service. You can use this service as resolver for your server.

Login to your server as root

Background current resolver settings:

cp /etc/resolv.conf /etc/resolv.conf.backup

Open the file using vi:

vi /etc/resolv.conf

Remove the current entries by pressing dd

Put the following lines in the file:

nameserver 8.8.8.8
nameserver 8.8.4.4

Save the file and exit (press :x ).

You are done!


Read this for more information

GD Star Rating
loading...
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Related posts:

  1. Adding Spell Checker in SquirrelMail in cPanel server
  2. DoS Protection via APF, BFD, DDOS and RootKit
  3. Install and configure munin (and munin-node) for Server Monitoring
  4. The BIND DNS Server module
  5. Delivery to the following recipient failed permanently, Verification failed

Comments

4 Responses to “Using Google’s public DNS service as resolvers in your server”
  1. Vivek says:

    What’s the use of setting google dns on my server ?

    GD Star Rating
    loading...
  2. Vivek says:

    Well I read it ,but not sure it is good for the dedicated/vps servers and what is the advantages exactly

    GD Star Rating
    loading...
    • Ryan says:

      If you still don’t understand the advantages after reading that then the problem is your own stupidity. Advantages are relative to whatever resolver you are currently using. Potential advantages are speed, reliability, security, impartiality etc.

      Chances are that if you can ask a question in a single sentence then Google has millions of answers for you already. By asking Google you also avoid looking like a lazy moron.

      GD Star Rating
      loading...

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!