Saturday, September 17, 2011

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

December 4, 2009 by  
Filed under General

4 Comments

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 ).

You are done!


Read this for more information

GD Star Rating
a WordPress rating system
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. Delivery to the following recipient failed permanently, Verification failed
  5. Secure and Optimize your Virtual Private Server (VPS)

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
    a WordPress rating system
    Reply
    • admin says:

      You may read more here:
      http://code.google.com/speed/public-dns/faq.html

      GD Star Rating
      a WordPress rating system
      Reply
  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
    a WordPress rating system
    Reply
    • 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
      a WordPress rating system
      Reply

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!
Click here to cancel reply.