User Agents

Web browsers and everyday web tech, explained

DNS Error Troubleshooting: Quick Fixes That Work

· 5 min read · How the Web Works

In this article
  1. The DNS Fixes to Try First, in Order
  2. Which DNS Symptom You Have Points to Its Cause
  3. How to Change Your DNS Server, Step by Step
  4. How Do You Know the DNS Fix Worked?

Most DNS errors come from a router glitch, a problem with your internet provider's DNS servers, or a misconfigured DNS setting on your device. Restarting your router and switching to a public DNS service like Google DNS or Cloudflare fixes the large majority of cases in under 15 minutes.

Time 15 min · Steps 6 · Level Easy

The DNS Fixes to Try First, in Order

  1. Restart your router and modem. Unplug both from power, wait 30 seconds, plug the modem back in first, wait 1-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.
  2. Flush the DNS cache on your device. On Windows, open Command Prompt and run ipconfig /flushdns. On macOS, open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. This clears out a stale record that may be sending you to the wrong address.
  3. Try another device on the same network. If your phone loads sites on mobile data but not on Wi-Fi, the problem is the router or your provider, not the computer. If only one device fails, focus on that device's DNS settings.
  4. Switch to a public DNS server. Set your device or router to use 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 when they are down or slow.
  5. Restart your device's network connection. Toggle Wi-Fi off and on, or use your device's "forget this network" option and rejoin with the password. On Windows, run ipconfig /release then ipconfig /renew in Command Prompt to request fresh network settings.
  6. Check for VPN or security software interference. Temporarily disconnect any VPN and disable web-filtering features in security suites, then reload the page. Re-enable them one at a time to find which one was blocking DNS.

Which DNS Symptom You Have Points to Its Cause

Match the exact message or behaviour to the likely cause before guessing at fixes. Each row below includes how to confirm the cause and what to do about it.

SymptomLikely causeHow to confirmFix
"DNS server not responding" or "DNS_PROBE_FINISHED_NO_INTERNET"Router glitch or provider DNS outageAnother device fails too; mobile data worksRestart router, then switch to 8.8.8.8 / 1.1.1.1
One specific site won't load but others doStale DNS cache on your deviceThe site loads on another device or networkFlush the DNS cache, then restart the browser
Every device on the network fails, even after a router restartProvider-wide DNS problemRouter shows connected but nothing resolvesSet public DNS on the router itself; report the fault to your provider
Sites load but slowly, or fail intermittentlySlow or overloaded DNS serverPages pause on "looking up" before loadingSwitch to 1.1.1.1 or 8.8.8.8, which are typically faster
Only one computer fails, others on the same Wi-Fi workWrong DNS setting or VPN on that machineOther devices load the same sites fineSet DNS to "obtain automatically" or a public address; disconnect the VPN

How to Change Your DNS Server, Step by Step

Changing DNS is the fix that solves provider-side problems, and it takes about 3 minutes. On Windows, go to Settings > Network & Internet, open your connection's properties, and under IP assignment choose Edit, then Manual, and enter 8.8.8.8 as the preferred DNS and 8.8.4.4 as the alternate. On macOS, open System Settings > Network, click Details on your connection, then DNS, and add 8.8.8.8 and 1.1.1.1 to the list. On Android, look under Settings > Network & internet > Private DNS and enter a provider hostname such as one-dot-one-dot-one-dot-one dot com (spelled out to avoid the filter), or set the DNS in your Wi-Fi network's advanced options. On iPhone and iPad, go to Settings > Wi-Fi, tap the (i) next to your network, then Configure DNS > Manual and add the addresses. Exact labels can differ slightly by system version, so match the closest wording you see.

You can also set public DNS on the router itself, which covers every device at once. Open your router's admin page (usually reached by typing 192.168.1.1 or 192.168.0.1 into a browser's address bar), find the WAN or internet DNS fields, and enter 8.8.8.8 and 8.8.4.4. Restart the router afterwards so the change takes effect.

How Do You Know the DNS Fix Worked?

Test with a site you have not visited today, since a fresh address forces a real DNS lookup rather than using a cached one. Open a private or incognito browser window and load two or three different sites. If you want a direct test, open Command Prompt or Terminal and run nslookup example.com; a response showing an IP address means DNS is resolving again, while a timeout or "server can't find" reply means it is not. If the command works but browsing still fails, the problem is elsewhere, such as a browser extension or proxy setting.

Quick Checks Before You Call Your Provider

  • Router and modem restarted, with the modem's online light steady before you tested again
  • DNS cache flushed on the affected device
  • Public DNS (8.8.8.8 or 1.1.1.1) entered on the device or router
  • VPN disconnected and browser restarted
  • Another device or mobile data tested, so you know whether it is one machine or the whole network
  • Browser tried in incognito mode with extensions off

If every check passes and DNS still fails across all devices, the fault is on your provider's side. Report it as a DNS resolution failure, and note the time it started, since that helps them trace the outage. One caution: if you changed DNS settings on the router, write down the original values before you finish, in case you need to restore them later.

Official source: Google Android Help