User Agents

Web browsers and everyday web tech, explained

DNS Error Fixes: What to Try First and Why

· 5 min read · How the Web Works

In this article
  1. Work Through the Fixes in This Order
  2. Confirm Which of the Three Causes You Actually Have
  3. Set Public DNS Without Breaking Anything
  4. Run the Quick Checks Before Assuming the Worst
  5. Know When the Problem Is on Your Provider's Side

Most DNS errors come from a problem with your device's network settings, your router, or your internet provider's DNS servers. Restarting your connection and switching to a different DNS server fixes the large majority of cases in under 15 minutes.

Time 15 min · Steps 8 · Level Easy

DNS errors almost always trace back to one of three things: a temporary glitch in your router or device's network settings (most common), your internet provider's DNS servers being slow or down, or a misconfigured DNS setting on the device itself. The good news is that you can work through these in order, from free and instant to slightly more involved, and each fix has a clear pass or fail test: either a website loads in your browser or it doesn't.

Work Through the Fixes in This Order

  1. Reload the page and try another site. Open two or three different websites. If some load and others don't, the problem is that site's DNS, not yours, and there is nothing to fix on your end. If nothing loads, continue.
  2. Restart your router and modem. Unplug both from power, wait 30 seconds, plug the modem back in first, wait about 2 minutes for its lights to settle, then power the router back on. This clears the router's cached DNS records, which is the single most common fix.
  3. Restart your computer or phone. A reboot flushes the device's local DNS cache, which often holds a stale or broken record. After it comes back up, try loading a website again.
  4. Flush the DNS cache manually. On Windows, open Command Prompt and run ipconfig /flushdns. On macOS, open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. On Android and iOS, toggling Airplane mode on and off for about 10 seconds does the equivalent job.
  5. Try another device on the same network. If your phone loads sites on Wi-Fi but your laptop doesn't, the problem is the laptop's settings, so skip to the device-level fixes. If every device fails, the problem is the router or your provider.
  6. Switch to public DNS servers. In your router or device's network settings, replace the automatic DNS with a public service such as Google DNS (8.8.8.8 and 8.8.4.4) or Cloudflare (1.1.1.1 and 1.0.0.1). This bypasses your provider's DNS servers entirely, which fixes the error whenever they are the culprit.
  7. Reset the network settings on the affected device. On Windows, go to Settings > Network & Internet > Advanced network settings > Network reset. On a phone, look under Settings > General management or Settings > General for a reset option that mentions network settings. This returns DNS to its defaults; exact menu labels differ slightly by version. You will need to re-enter your Wi-Fi password afterwards.
  8. Test and confirm. After each step, open a fresh browser tab and load a site you have not visited recently. A previously visited page can load from the browser's own cache and mislead you. If sites load, you are done; if not, move to the next step.

Confirm Which of the Three Causes You Actually Have

Each cause leaves a fingerprint, and knowing which one you have saves you from fixing the wrong thing. A router glitch usually affects every device in the house at once and clears after the restart in step 2. Provider DNS trouble also hits every device, but survives the router restart and only disappears when you switch to public DNS in step 6. A device-level misconfiguration affects just one machine, which is why the two-device test in step 5 matters so much.

To confirm provider DNS specifically, note whether the error message names DNS explicitly (phrases like "DNS server not responding" or "DNS_PROBE_FINISHED_NOSECLOOKUP" in Chrome). That wording means the lookup itself failed, which points at the DNS servers rather than your Wi-Fi signal or speed.

Set Public DNS Without Breaking Anything

Changing DNS servers is safe and reversible, and it is the fix most worth keeping even after the error clears. On Windows, go to Settings > Network & Internet, open your connection's properties, and look for the DNS server assignment; choose manual and enter 8.8.8.8 as the preferred server and 8.8.4.4 as the alternate. On macOS, it sits under System Settings > Network, in the details for your connection, under a DNS tab. On Android, look under Settings > Network or the private DNS option in connection settings; on iOS, it is in the Wi-Fi network's configuration screen. Menu names differ slightly between versions, so expect small wording changes.

If you change DNS on the router instead of each device, every phone, laptop and console in the house picks it up automatically, which is usually the better move when multiple devices were failing. Write down your provider's original DNS numbers before changing anything, so you can put them back if you ever need to.

Run the Quick Checks Before Assuming the Worst

  • Is it actually just one website? Type the site's address into a browser on mobile data. If it fails there too, the site is down and your DNS is fine.
  • Is your device on a VPN? A VPN that has silently dropped its connection often produces DNS errors. Disconnect it, test, then reconnect.
  • Did the error start right after a router or settings change? Undo that change first; it is almost always the trigger.
  • Are other people nearby online fine? If a neighbour's connection works and yours doesn't, stop tweaking your device and contact your provider.
  • Does the error appear in every browser? If only one browser shows it, clear that browser's cache and cookies before touching network settings.

Know When the Problem Is on Your Provider's Side

If you have restarted everything, flushed the cache, and set public DNS, and pages still will not resolve, the fault is likely in the line or equipment between you and your provider. At that point, check your provider's service status page using mobile data, since it will not load over your own broken connection. A confirmed outage means the fix is theirs, not yours, and no amount of settings changes will help. If there is no outage, the router itself may be failing, and a provider-supplied replacement is the usual path. Before calling, have your account details ready and be able to say exactly which steps you have already tried, since that shortens the call considerably.

Official source: Google Android Help