How to Set Up KeepSolid SmartDNS on Ubiquiti UniFi

Important notes on changing Ubiquiti DNS settings 

  • Before you change your Ubiquiti DNS server addresses, we recommend to take note of your original DNS settings. You may need this information if you want to revert to the original settings in future.  
  • We also recommend to block Google DNS servers ( and on your router, otherwise you may not be able to access the content you want. You can find detailed instructions on how to do it on Ubiquiti UniFi in this manual.
  • To unblock streaming services with our KeepSolid SmartDNS app, you have to register your IP address. Check out how to manage your IP address in the KeepSolid SmartDNS App and your KeepSolid User Office here
  • Whenever your IP address changes, our service will stop working for you. To avoid this, make sure to update your IP via your User Office or KeepSolid SmartDNS app. 

Setting up KeepSolid SmartDNS: How to change Ubiquiti DNS server address

  1. Log in to Ubiquiti UniFi controller. 
  2. Go to the Settings tab. 
  3. Navigate to Networks.
  4. Click Edit Network > WAN.
  5. Proceed to Common Settings > DNS Server and enter addresses of KeepSolid SmartDNS servers below:

  6. Click Save.  
  7. Return to Network on the left sidebar again.
  8. Choose Edit Network > LAN
  9. Find the DHCP Name Server section and tick the box named Manual
  10. In the same DHCP Name Server section, enter your gateway address in the DNS Server 1 field. Alternatively, you may indicate KeepSolid SmartDNS servers in DNS Server 1 and DNS Server 2 fields. 
  11. Click Save
  12. Reboot your Ubiquiti UniFi for the changes to apply. 

How to block Google DNS servers on Ubiquiti UniFi

  1. Log in to your Ubiquiti UniFi controller.  
  2. On the Settings tab, navigate to Routing & Firewall
  3. Click Create New Route
  4. Fill out the fields in the following way: 

    Name: Enter a custom name of the route, for example Public DNS. 
    Enabled: Check the box Enable this route. 
    Static route type: Black Hole. 
  5. Click Save
  6. Now, create another route for the second Google Public DNS server. Repeat the steps 3-5 of the instruction, this time indicating in the Network field (step 3).