Video: How to Setup Google DNS on your Computer

Published in: google dns - opendns

Like OpenDNS, Google today launched their own public DNS service that they say will make your web-surfing experience “faster, safer and more reliable.”

If you want to access a site (say from your browser, your computer needs the IP address of the web server that is hosting that domain. The computer will then query a public DNS server to find the IP address of the site

Google DNS Servers

This DNS server is generally maintained by your ISP but now you can instruct your computer (or wireless router) to use Google’s DNS server instead of your ISP’s DNS server. Google says their Public DNS Servers are hosted in data centers worldwide, and they use anycast routing to send users to the geographically closest data center.

If you are keen on making the switch to Google DNS, here’re the steps involved for Windows XP, Vista and Windows 7.

Video: Setup Google DNS on Windows XP


Select Internet Protocol Version 4 (TCP/IPv4), followed by Properties and them replace the IP addresses of your Preferred DNS server and Alternate DNS server with the IP addresses of the Google DNS servers which are and - the order doesn’t matter.

Screencast: Use Google DNS Servers on Windows 7 / Vista


In the above videos, I have changed settings for an Ethernet (LAN) connection but the steps are similar for Wireless networks as well.

In case you would like to setup Google DNS at the router level, open your router dashboard (e.g., and put the Google DNS server addresses ( and as your DNS server settings and apply.

How to Test Google DNS Servers

Open your command prompt and clear your DNS cache using the command ipconfig /flushdns. Then do a nslookup for any web address and you should see with as the IP address for the DNS resolver.

C:\>ipconfig /flushdns

Windows IP Configuration Successfully flushed the DNS Resolver Cache.

C:\>nslookup Server: Address:

Non-authoritative answer: Name: Addresses: Aliases:


📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: google dns - opendns

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
Amit Agarwal

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube