Temporary DNS Error: What It Means and How to Fix It
In this article
A temporary DNS error means your device could not look up a website's address just now, usually because of a hiccup on your network, your router, or your internet provider's DNS servers. In most cases it clears on its own within a few minutes, and if it does not, switching to a different DNS service fixes it.
Time 15 min · Steps 6 · Level Easy
Fixes From Fastest to Most Thorough
- Reload the page after a minute or two. A temporary DNS error often resolves itself; press refresh and see if the site loads before changing anything.
- Restart your router and modem. Unplug both from power, wait about 30 seconds, plug the modem back in first, wait until its lights settle, then power the router. This clears the router's cached DNS records.
- Flush the DNS cache on your device. On Windows, open Command Prompt and run ipconfig /flushdns. On a Mac, open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. Then reload the page.
- Try another network or mobile data. Load the site on your phone with Wi-Fi turned off. If it works on mobile data, the problem is your home network or provider, not the site.
- Switch to public DNS servers. In your device or router network settings, set the DNS servers manually to a public pair such as Google's 8.8.8.8 and 8.8.4.4, or Cloudflare's 1.1.1.1 and 1.0.0.1. Save, reconnect, and reload.
- Contact your internet provider. If every device on every network still fails, or only your own connection fails after a DNS switch, the fault may be on the provider's side and they need to check it.
When a Temporary DNS Error Is Normal
A single failed page load, or an error that appears on one site and disappears when you reload, is normal. DNS lookups happen constantly in the background, and one missed lookup is not a sign of anything broken. It is also normal for the error to hit several sites at once for a minute or two after your router reconnects, because the router has to rebuild its DNS records.
It becomes a real problem when the error persists for more than about 10 minutes, appears on every site you try, or affects every device in the house. At that point, work through the numbered fixes above in order, checking after each one whether a known-good site (try two or three, not just one) loads.
Symptom, Likely Cause and Fix
| Symptom | Likely cause | How to confirm | Fix |
|---|---|---|---|
| One site fails, others load | That site's own DNS records are down or changing | Try the site from mobile data or a different network; if it still fails, it is not your side | Wait; the site's operator has to fix it. Check again in an hour |
| All sites fail on one device | Stale DNS cache or wrong DNS setting on that device | Other devices in the house load pages fine | Flush the DNS cache, then check the device's DNS settings |
| All sites fail on all devices | Router or provider DNS problem | Restart the router; if that fails, sites load on mobile data | Restart router and modem, then switch to public DNS; if still stuck, call the provider |
| Error appears after router reboot or reconnect | Router rebuilding its DNS cache | It clears by itself within a few minutes | Wait 5 minutes before changing settings |
| Error only on public Wi-Fi | Captive portal or filtered DNS | A login or terms page appears when you open any site | Accept the portal page first, or use mobile data instead |
Switching DNS Servers in Detail
Changing DNS is the one fix that solves most repeat cases, so it is worth doing carefully. The exact menu names differ slightly between system versions, but the paths have been stable for years.
On Windows
Open Settings > Network & internet, choose your connection (Wi-Fi or Ethernet), then the network's properties, and look for DNS server assignment. Choose Manual, enable the option for your connection type, and enter a preferred and alternate DNS server. Save, then run ipconfig /flushdns so old records do not linger.
On a Mac
Open System Settings > Network, select your connection, click Details, then DNS. Use the plus button to add the new server addresses, which take priority over the old ones. Apply, then flush the cache with the Terminal command from the steps above.
On Android and iPhone
On Android, go to Settings > Network & internet > Private DNS and enter a provider's hostname, or long-press your Wi-Fi network, choose Modify network, and set advanced options to Static to enter server addresses. On an iPhone, open Settings > Wi-Fi, tap the info icon next to your network, then Configure DNS, choose Manual and add the servers. Setting DNS on the router instead covers every device at once, which is usually the better choice for a household.
How to Tell Each Fix Worked
After each step, open two or three well-known sites in fresh tabs, not just the one that failed. If they all load, the DNS path is working again. If the original site still fails while others load, that site's own DNS is the problem and nothing on your side will fix it; give it time. You can also confirm a DNS switch took effect by checking your network settings show the new addresses, or by loading a site that failed only moments before the change.
DNS Error Follow-Ups That Come Up Often
Is a temporary DNS error a security problem?
Not usually. It is a lookup failure, not an attack. If your browser separately warns about certificates or redirects, that is a different issue and the browser's own warning page will say so. A plain DNS error on its own does not mean your device is compromised.
Why does the error keep coming back every few days?
Repeat cases usually point to your router passing along an unreliable DNS server, often the provider's own. Switching the router to a public DNS pair fixes most of these. If it returns after every power cut, the router may be losing its settings, which points toward the router itself aging out.
Does a VPN cause temporary DNS errors?
It can. A VPN sends DNS requests through its own servers, and if those are busy or misconfigured you see DNS errors even though the connection is up. Disconnect the VPN and reload the page; if it works, the VPN's DNS is the culprit, and reconnecting or choosing a different server location usually clears it.
Official source: Google Android Help