DNS Error on WiFi: What It Means and How to Fix It
In this article
A DNS error on WiFi means your device connected to the router fine, but could not translate website names into the numbers computers use to find them. Most cases clear up by restarting your router, forgetting and rejoining the WiFi network, or switching to a public DNS server like 8.8.8.8.
Time 15 min · Steps 7 · Level Easy
Fix a DNS Error in Order, Cheapest First
- Reload the page and try another site. If every site fails but other devices on the same WiFi work, the problem is your one device; if nothing works anywhere, the problem is the router or your internet provider.
- Restart your device. A reboot clears the failed DNS cache that keeps your device using a bad answer it stored earlier.
- Restart the router. Unplug it, wait 30 seconds, plug it back in, and give it about 2 minutes to come back online. This forces it to request fresh DNS settings from your provider.
- Forget and rejoin the WiFi network. In your device's WiFi settings, tap or click "Forget this network", then reconnect with your password so the network settings, including DNS, are set up again from scratch.
- Flush the DNS cache on a computer. On Windows, open Command Prompt and run
ipconfig /flushdns; on macOS, open Terminal and runsudo dscacheutil -flushcache. Then reload the page. - Switch to a public DNS server. Set DNS manually to 8.8.8.8 and 8.8.4.4 (Google) or 1.1.1.1 and 1.0.0.1 (Cloudflare) in your device's network settings. This bypasses a broken DNS server at your provider.
- Check with your internet provider. If every device on every connection fails, or the error mentions a server outage, the fault is on their side and only they can fix it.
What a DNS Error Actually Is
WiFi and DNS are two different jobs. WiFi is the radio link between your device and the router; DNS is the lookup service that turns a name like a website address into the number a server actually answers on. A DNS error almost always means the WiFi link is fine and the lookup step is failing. That is why the error often appears while the WiFi icon still shows a strong connection. The message may read "DNS server not responding", "DNS_PROBE_FINISHED_NO_INTERNET" in a browser, or simply "server DNS address could not be found".
Symptom, Likely Cause and Fix
| Symptom | Likely cause | Fix |
|---|---|---|
| One device fails, others on the same WiFi work | Stale DNS cache or wrong DNS setting on that device | Restart the device, then flush its DNS cache or set DNS manually |
| All devices fail, router restart does not help | Your provider's DNS servers are down or unreachable | Set a public DNS like 8.8.8.8 on your router or device; report the fault to your provider |
| Error only on one website | That site's own DNS record is broken | Wait and retry later; nothing on your side needs changing |
| Error appears after changing router settings | A typo in the DNS addresses you entered | Re-enter the DNS numbers carefully, or set DNS back to automatic |
| Error only on a work or school network | The network blocks or filters certain lookups | Ask the network administrator; the filter is doing its job |
How to Tell Each Fix Worked
After each step, open a browser and load two or three different websites, not just the one that failed first. If they all load, the DNS error is gone. If the browser still shows a DNS message, move to the next fix in the list. A quick extra check on a computer: open Command Prompt or Terminal and run ping 8.8.8.8. If that replies but websites still fail, your connection is alive and DNS is definitely the broken part, so setting DNS manually to 8.8.8.8 is the fix most likely to work.
Setting DNS by Hand, Device by Device
Menu names differ slightly between versions, so expect small wording changes on your device.
Windows
Open Settings > Network & internet > your WiFi network > DNS server assignment, and set it to Manual. Enter 8.8.8.8 as the preferred server and 8.8.4.4 as the alternate, then save and reload a page.
Mac
Open System Settings > Network, select your WiFi connection, click Details, then DNS. Replace or add the addresses 1.1.1.1 and 1.0.0.1, then apply and reload.
Android
Open Settings > Network & internet > Private DNS, or on some versions Settings > WiFi > your network > Advanced. Private DNS accepts a hostname such as one dot one dot one dot one spelled out; network settings accept the numbers directly. Save and reconnect.
iPhone and iPad
Open Settings > Wi-Fi, tap the "i" next to your network, then Configure DNS. Switch from Automatic to Manual, remove the existing entries, and add 8.8.8.8 and 8.8.4.4. Save and reload.
On the router itself
Signing in to your router's admin page and setting DNS there fixes every device at once. The admin address and password are usually printed on a label on the router. Look for a DNS field under internet or WAN settings, enter 8.8.8.8 and 8.8.4.4, save, and restart the router. If you are not comfortable with the admin page, set DNS on each device instead; it works just as well.
DNS Error Cases That Keep Coming Back
If the error returns every few days, the router is probably losing its DNS settings each time it renews its connection. Setting DNS on the router rather than on one device usually stops this. If it happens only on one old device, that device's network settings file may be damaged; forgetting the WiFi network and rejoining, or resetting network settings entirely, rebuilds it. Resetting network settings wipes saved WiFi passwords and VPN profiles, so only do it after the gentler fixes fail. If the error appears only at certain times of day, it points to your provider's DNS servers being overloaded, and a public DNS server is the lasting answer.
Official source: Google Android Help