How to use Google Public DNS on Windows 7 and Windows XP

Google recently announced that it’s offering a new public DNS server. It caught me by surprise. However, I’m not new to using public DNS services, and I gave Google’s new service a try. If you are using Windows 7 or Windows XP, I’ll show you how to set it up.

First, let’s get a couple of questions out of the way.

What is a DNS server?

DNS stuff can get pretty complicated, and I don’t want to go into details, so I’ll just give you a general idea. A DNS server is like a phone book. If you want to call someone using your phone, you may need to look up their phone number. Every website on the net has a 12 digit number (IP Address) that your PC needs to know in order to contact it. When you type a website name into a browser, your PC queries it’s assigned DNS server (the phone book), the DNS server reports the IP address (the phone number) back to your PC, and the PC initiates a connection with the site you requested. This all happens automatically and you really don’t need to know about DNS to use it. Most people are using a private DNS server that’s assigned by their Internet Service Provider, however, there are many open (public) DNS servers out there that anyone can use. Google’s new DNS server is only one among thousands.

Why would you want to use Google’s Public DNS?

I’m not sure that I completely agree with the reasons given at the Google Public DNS home page, but they state that their DNS service is faster, more secure and fairly private. Personally, I prefer OpenDNS, but that’s a topic for another time.

And now – on to the How toportion.

Set up Google Public DNS on Windows XP

Published by

Clif Sipe

Promoting Freeware and Free information since 2004. Owner of with over 2000 pages of freebies. Please subscribe to my Google Feed or follow me on Twitter @clifnotes.

  • Great Explanation. Thanks

    • Thanks Sriram. I love to explain stuff, but I have to be careful not to provide long and boring explanations.

      Drop in any time.


      • Chinauser

        I tried using this method but i still wasnt able to get access to facebook or youtube. any ideas? =)

  • willemijns

    look for "vivilproject dns" on a search engine and list a lot of public DNS other than google dns and opendns… i do not love my private surf can be tracked for ads reasons :-(

    • Hi Willem

      I think I can sympathize with your reluctance to trust Google with all of the information that a DNS can provide. However, I did read their privacy statement concerning what they plan to do with the data. At this point, it does not appear that they will keep any personally identifiable data past 48 hours. They also plainly stated that they do not plan to sell or share the data.

      I am not defending Google, I'm simply stating what they have said. I prefer OpenDNS, however, I have not looked at other services. What is this "vivalproject"? I could find nothing on it.

  • Pingback: Dns jumper v1.0.2 |()

  • Hi,

    I have two Local Area Connection in my window 7 computer.
    Which one should I change the DNS?
    I always use the Local Area Connection2.

  • french26

    Yes, thank for this up-date, every time i have a problem on my internet connection, since i set u-p this process, really it’s work…
    My connection now is great!

  • Benji

    Good day Sir. Can i use this even if i use router? If i can, what computer will we put the DNS? those computers that are connected to the router?

    • Hi Benji – yes, you can use Google DNS even if you use a router. These settings will work on almost any computer, even if you use it away from home, on wireless networks.

  • Lime

    Hi. I tried following these steps (XP User) and it did not work. I restarted my computer to no avail. Is there anything else I can try?

    • Lime

      Oh, I forgot to say that my computer is a desktop connected to a modem that is connected to a router, if that helps.

      • Lime

        connected to a router that is connected to a modem* I apologize for the mistakes.

        • Sorry Lime – it should have worked. I can’t say why it didn’t.

  • akasuke

    will be trying this out.several sites have been blocked in my country and yeh, i think its kindda unfair because most of us aren’t making any profit out of downloading (everything’s for personal entertainment,which as i have learned is no wrong)

    love the simple instructions.

    so, for windows xp if both the original buttons were set on ‘obtain automatically’.to change to dns, i just need to change the bottom half without remembering anything right?and to reverse it back just by selecting ‘obtain automatically’ again

    muchos gracios

  • wow, very needfull info. thanks for the timely help :)

  • Hi,

    i’m windows 7 user, i just try your tutorial and working for at PC. many thanks to you..

    • Changing your DNS is sometimes very helpful. Thanks for the comment.

  • Clif = Awesome

    Thanks a ton!

  • haiiiiiiiiiiiii

  • Hi. Good article. I need your help… I’m so at a loss for words… I’ve been using Google Sites to build my first website and things are going terribly. It’s been a nightmare trying to solve a redirection issue my visitors are facing_ every time someone refreshes a page from within my website they are redirected back to my Landing Page. I’m using Dottk’s free Domain Name service just to shorten my Google Sites URL but it seems as though I’ve opened up a can of killer worms by doing this. Every forum I go to and every where I turn I’m hearing that I need to Map my URL or use a DNS server or something but I don’t know how to do this and I cant seem to make this clear enough to any one. But I’m so confused at this point I’m just ready to give up and rid myself of this terrible headache. Please help me out if you can. Thanks! Jeff

  • I know this may sound a little ridiculous, but when i try to enter the DNS with Windows 7, the little dots separating the aren’t visibile, and i can’t enter anything but the first 8….any suggestions as to the problem? thanks.

    • Hi Morgan – that does sound odd. Can you send me a screenshot of the window showing the DNS address that you are using? If you wish, you can upload the image to and paste a link to it.

  • rocky

    hi, I am using this first time and its working , is this legal?

  • rocky

    hi, I am using this first time and its working , is this legal?

  • rocky

    is this legal?

  • rocky

    is this legal?

  • Vipin

    Sir I am no techie. tried your procedure on windows7 32bit but no success. con u help? its frustrating in india that they have blocked all torrent site.

  • Vipin

    Sir I am no techie. tried your procedure on windows7 32bit but no success. con u help? its frustrating in india that they have blocked all torrent site.

  • ketchup

    how o configure for reliance netconnect

  • if i want to redirect wi-fi users when they connect my restaurants wi-fi, to my restaurant webpage how do i do that?

  • good tuturial, worked for me

  • Jim


    I have been running with the google DNS server specified for about 7 months with no problem until – I was visiting another city and went to the library for internet access and the local wireless connect requires an approval via a web browser when launched (it uses a re-direct of whatever web page you are looking for and redirects you to the local page that has the approval link on it). With the google DNS server address ( the redirect would not work. Once I figured out what was wrong – I needed to go back to the DNS selection for my wireless connection (see above instructions) and select “Obtain DNS serve address automatically”. Then reconnect to the wireless and relaunch the browser and approve the connection. (by the way using Chrome as my browser didn’t work – I had to use Microsoft’s Internet Explorer to get the approval page to come up)

  • GoogieHost One of the leading Free Web Hosting In India for Small Business, GoogieHost has given reasons why it decided to provide free web hosting in all over the world, saying it is important to organizations to own website, including small businesses (SMEs). and your business portfolio website with the free website builder.