How to Block Google Public DNS Servers on Your Router

To make sure you get access to all the desired web content, we recommend you to take one more step besides setting up KeepSolid SmartDNS on your router – block Google public DNS servers. 

To block Google DNS, you need to set up static routes on your router. The majority of routers allow you to do so and the process is basically the same:

  1. First, log in to your router. Most routers use,, or as their IP addresses. 
  2. After you’ve logged in, you get to the setup page. Find the option Advanced Routing.
  3. Fill out the fields as shown below:

    Route Name: enter a custom name, for example Public DNS
    Destination IP:
    Subnet Mask:
    Gateway: it is the IP address of your router. In some cases, you may need to change the last digit of the router’s IP address, for example instead of using, use

  4. Press Save Settings.
  5. Repeat the steps 2-4, but this time indicate in the field Destination IP (in step 3). 

You can find more detailed instructions on how to block Google DNS, as well as configure KeepSolid SmartDNS service on a specific router in our manuals. See the list of available manuals below:

How to block Google DNS: verify the setup 

After you finish setting up static routes to block Google DNS public server addresses, you can run the following ping test to make sure Google DNS is successfully blocked:

1. If you’re using a PC, open the program Command Prompt. In case you’re on a Mac, open the Terminal (you can find it in Applications > Utilities).

2. Write the following in the command line and press enter: ping 

3. In case you get Request Timed Out as a result of this test, it means that you’ve successfully blocked Google DNS.