UniFi - DNS Troubleshooting Guide

The DNS server is responsible for translating a url (ex., google.com) into the IP address where the host is located. There's a number of UniFi services (updating, remote management, etc) that require you to sufficiently resolve ui.com domains. Incorrect configuration could impact these services.

Check Firewalls & ISP Restrictions

DNS works using UDP Port 53. Ensure that this is not being blocked by any upstream firewalls, gateways or ISP modems. If it is, DNS resolution will fail.

Selecting a Reliable DNS Server

By default, UniFi will use the DNS Server provided by your Internet service provider. This is usually okay, but if you are unsure, we recommend using a public DNS Server such as or

We caution the use of custom, internal DNS servers because they may not be updated to resolve the required ui.com domains, or they may block them entirely.

Re-Configuring Your DNS Server

UniFi Gateways

Navigate to UniFi Network > Settings > Internet > DNS Server and enter the new DNS Server.

Cloud Keys, Network Video Recorders & Other Non-Gateway Consoles

Navigate to UniFi OS > Console Settings and check if the IP Configuration is set to DHCP or Static.

  • If it is Static, enter the new DNS Server and select Apply Changes.
  • If it is DHCP, you will need to modify the DNS Server directly from your DHCP server.
    • If you have a UniFi gateway, this is found in UniFi Network > Settings > Networks > [Network Name] > DHCP Service Management > DNS Server.
    • Note: This change will take effect after your device’s DHCP lease expires, usually after 24 hours. To expedite this, turn your device off and back on again.
Was this article helpful?
120 out of 287 found this helpful