Fix UniFi services after a DNS change
UniFi services stop updating or remote management fails after you set custom DNS servers on the gateway
Affects: UniFi Cloud Gateways, gateways and UniFi OS consoles running the UniFi Network application
What this message means
Ubiquiti documents a specific dependency: UniFi's own services need to resolve ui.com. The DNS troubleshooting guide states that updating, remote management and similar services "require you to sufficiently resolve ui.com domains" and that "incorrect configuration could impact these services" [1]. The same guide cautions against custom DNS servers that "may not be updated to resolve the required ui.com domains, or they may block them entirely" [2]. When the symptom appears after a DNS change, the resolver you entered is the prime suspect.
Fix it step by step
Cause 1: The provider DNS cannot resolve ui.com
Some Smart DNS services only route the domains they need to rewrite.
Fix:
- Test whether the gateway can resolve ui.com while the custom DNS is in place - a DNS lookup for ui.com from the network tells you quickly.
- If ui.com does not resolve, move the provider addresses out of the WAN field: set the WAN DNS back to automatic under Settings > Internet [1].
- Keep the provider addresses only in the per-network DHCP DNS field under Settings > Networks, so clients use Smart DNS while the gateway keeps a working resolver.
This placement keeps both worlds: your streaming devices get the Smart DNS addresses over DHCP, and the gateway continues resolving ui.com for its own services. The relevant steps are Step 2 and Step 5 of How to change DNS on a UniFi gateway.
Cause 2: The custom DNS blocks ui.com deliberately
Filtering resolvers (parental controls, ad-blocking lists) sometimes block vendor domains wholesale.
Fix:
- Check the provider's documentation for filtered categories; ui.com falling under a security or tech category is possible with some filtering services.
- Choose provider addresses without aggressive filtering, or ask the provider to unblock ui.com.
- Re-test UniFi's updating and remote management after the change.
Ubiquiti's caution covers exactly this case - servers that "may block them entirely" [2]. If your Smart DNS plan includes a filtering tier, test that tier separately from the plain Smart DNS tier.
Cause 3: The WAN health probes fail and cascade
WAN status and services can fail together when the probes break.
Fix:
- Remember the probes: ping to ping.ui.com and "DNS resolution of ui.com using Cloudflare (1.1.1.1)" plus Google [3].
- If two of the three fail, the WAN is marked down, and services that depend on connectivity reports misbehave too [3].
- Restore automatic DNS, confirm the WAN returns to online, then re-apply the DNS change in the safer placement from Cause 1.
If the WAN status itself is the loudest symptom, the dedicated WAN offline page walks the probe mechanism in more detail.
If nothing helps
Set both DNS locations back to their defaults - automatic on the WAN, and the gateway as the DHCP DNS per network [2] - and confirm UniFi's services recover before touching anything else. Then reintroduce your Smart DNS addresses one field at a time so you can see exactly which placement triggers the failure. If services stay broken even with automatic DNS, the cause is upstream (an ISP outage, a blocked port, or a pending firmware update) rather than your DNS edit; in that case check the UniFi dashboard for alarms before contacting Ubiquiti support.
FAQ
Which UniFi features depend on resolving ui.com?
Ubiquiti names updating and remote management as services that "require you to sufficiently resolve ui.com domains" [1]. The WAN health probes also resolve ui.com through Cloudflare and Google [3], so a broken resolver shows up in several places at once.
Can I use Smart DNS and keep UniFi services working?
Yes, if the Smart DNS provider resolves ui.com correctly. If a provider address breaks UniFi services, keep the WAN resolver on automatic and put the provider addresses only in the per-network DHCP DNS field, so the gateway itself keeps a healthy resolver.
Is this a Smart DNS problem or a UniFi problem?
Neither in itself. It is a consequence of where you placed the custom addresses. Ubiquiti cautions against DNS servers that block or fail to resolve ui.com [2], and the fix is about placement rather than abandoning Smart DNS.
Will a factory reset fix this?
It removes every setting including your DNS change, so treat it as a last resort. Restoring automatic DNS on the WAN is enough to bring UniFi services back in the common case.
Setting up DNS on this device?
Sources
- Ubiquiti Help Center - UniFi DNS Troubleshooting Guide - accessed 2026-11-23
- Ubiquiti Help Center - UniFi DNS Troubleshooting Guide (custom DNS caution) - accessed 2026-11-23
- Ubiquiti Help Center - WAN Failover, Load Balancing and Port Remapping on UniFi Gateways - accessed 2026-11-23