How to Add Google Public DNS to Your Wi-Fi Router

Instead of adding a new DNS to each computer on your home network, it’s easier to just add it to your router. Here’s how.

Last week we looked at how to add Google Public DNS to your computer for faster browsing. If you have several computers on your network, it’s easier to add them to your home router, than each computer.

What is DNS?

Without the Domain Name System (DNS) in place, you wouldn’t be reading this article. Everything from websites to email servers would be crippled without DNS in place. You can think of it as the phonebook for the internet. It converts IP addresses into a domain that’s easier to remember like

For more check out our article: What is DNS and Why it Matters.

Add Google Public DNS to Your Router

From a computer on your network, launch a browser and type in the IP of your router, and hit Enter. Usually, it’s or similar. If you’re not sure, check the router documentation.

Here I’m using a Linksys E4200.


Next, enter the password for your home router. You do have it password protected right?


Now go to the DNS settings for your router. With Linksys routers that I have used, the section is under Setup >> Basic Setup.

Each router’s user interface is different, but adding the DNS to is the same.

For Static DNS type: and – they can be in either order.


After you enter the DNS values, make sure to save the settings.

That’s it! The changes have been saved. Some routers will require you to restart it before changes go into effect.


To verify the Google Public DNS is working, click Start type: cmd into the search box and hit enter.


At the command prompt type: ipconfig /all and hit Enter.


Then search through the results under the adapter your PC is connected to.


That’s all there is to it. Adding Google Public DNS to your router is easier than adding it to each individual machine.



  1. Brandon

    The command entered into the Command Prompt should be ipconfig /all as shown in the screenshot.

    Not msconfig /all as the text states.

    • Brian Burgess

      Nice catch Brandon! Thank you.

  2. nick

    Will this work with OSX as well?

  3. vic

    My favourite number :D
    I use it in my modem setting.
    Really usefull this number.
    Thank you google ;)

  4. bsur

    Why i never thought about this on my router, I have this setting on all of my PC/Laptop at home. I read this before when you cover the DNSbenchmark apps.

  5. Rob

    even after a release and renew my PC still shows as DNS – even though the Google DNS numbers are in my router.

Leave a Reply

Your email address will not be published. Required fields are marked *


To Top