DNS Error Screen: What It Means and How to Fix It
In this article
A DNS error screen means your device reached the network but could not translate a website name into an address, so the page would not load. Most cases are fixed by restarting your router, flushing the DNS cache, or switching to a different DNS service.
Time 15 min · Steps 8 · Level Easy
The fastest way to tell which kind of DNS problem you have is to test a second device on the same network. If every device shows the DNS error, the fault sits with your router or internet provider; if only one device fails, the problem is that device's settings or cache. That one test saves you from fixing the wrong half of the setup.
Fix a DNS Error Screen in 8 Steps
- Reload the page first. Press refresh once or twice, then open a different site. A momentary DNS hiccup on one site clears itself within a few seconds.
- Test another device. Load the same site on a phone or second computer using the same Wi-Fi. All devices failing points at the router; one device failing points at that device.
- Restart your router. Unplug it from power, wait 30 seconds, plug it back in, and give it about 2 minutes to reconnect. This clears the router's own DNS cache and forces it to fetch fresh DNS information.
- Flush the DNS cache on the failing device. On Windows, open Command Prompt and run
ipconfig /flushdns. On macOS, open Terminal and runsudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. On Android and iOS, toggling airplane mode on for 10 seconds and off again clears the cache. - Restart the device. A full restart, not just a locked screen, renews the network connection and the DNS settings handed out by the router.
- Try another network. Switch to mobile data on the phone or another Wi-Fi network. If the site loads there, your original network's DNS service is the culprit.
- Change your DNS servers. Set your device or router to use a public DNS 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 a broken DNS server at your internet provider.
- Check for a wider outage. If the DNS error appears on every device, every network, and every site, contact your internet provider's support line, since the fault is on their side.
The Usual Cause: A Stale Cache or a Bad DNS Server
Nine times out of ten, a DNS error screen comes from one of two places: a cached answer that has gone out of date, or a DNS server that is slow or unreachable. DNS is the phone book of the internet, translating names like example.com into numeric addresses. Both your device and your router keep a small copy of recent lookups to save time, and when a site changes its address, the old copy can briefly disagree with reality.
Confirming a cache problem
Flush the cache as in step 4, then reload the page. If the site appears immediately after flushing, a stale entry was the whole problem, and nothing else needs changing.
Confirming a server problem
Open a command prompt or terminal and run nslookup example.com (labels and output can differ slightly by system version). If the lookup times out or returns no address, your device cannot reach its DNS server at all, which points to the router, the provider's DNS service, or a mistyped DNS setting. Run the same command after switching to 8.8.8.8 and compare.
Less Common Causes and Their Fixes
When the quick steps do not clear the screen, work through these in order, since each one is easy to confirm.
Manually set DNS entries that are wrong
Someone may have typed a DNS address into the device or router by hand and made a typo. Confirm by opening your network settings and looking at whether DNS is set to automatic or manual. If it is manual, check the numbers carefully, or set it back to automatic and test again. On Windows the path is Settings > Network & internet > your connection > DNS server assignment; on macOS it is System Settings > Network > your connection > Details > DNS. Menu names can differ slightly by version.
Browser-level DNS or a VPN
A VPN or privacy extension can route DNS through its own servers, and if those fail, every site shows a DNS error while other apps still work. Confirm by turning the VPN or extension off and reloading the page. If that fixes it, update the VPN app or switch its DNS setting. Some browsers also have a secure DNS feature in their settings that can be toggled off to test.
Router-level DNS or parental controls
Some routers let you set DNS or filtering for the whole home, and a blocked or broken setting there affects every device. Confirm by logging in to your router's admin page (usually reached by typing 192.168.1.1 or 192.168.0.1 into a browser) and checking the DNS or filtering section. Set DNS back to automatic from your provider, or to 1.1.1.1, and restart the router.
Hosts file edits
A device's hosts file can override DNS for specific names, usually left behind by old software. Confirm by checking the hosts file: on Windows it is at C:\Windows\System32\drivers\etc\hosts, and on macOS and Linux at /etc/hosts. Lines other than the default localhost entries can be commented out by placing a # at the start of the line, then save and reload the site.
Provider outage
Occasionally the provider's DNS service fails for a whole area. If nslookup fails on every device even after switching to automatic settings, and switching to 1.1.1.1 fixes it, the provider's DNS was down. Setting a public DNS on the router protects the whole house from a repeat.
Quick Checks and Prevention
Run through this short list before any deeper digging, because it catches most cases in under five minutes: reload the page, try another device, restart the router (30 seconds unplugged), flush the DNS cache, restart the device, and try mobile data. Each check takes seconds and rules out one whole layer of the setup.
To keep DNS errors rare, set your router to a reliable public DNS such as 1.1.1.1 or 8.8.8.8 so every device in the house benefits, and restart the router every few weeks to clear its cache. Keep VPN apps updated, since outdated ones are a frequent source of sudden DNS failures. If a single site alone shows the error while everything else loads, the site's own DNS may be broken, and there is nothing to fix on your end; check back after a few minutes or hours.
Official source: Google Android Help