DNS Error Checker: Find and Fix Your DNS Error
In this article
Most DNS errors mean one of three things: your device can't reach the DNS server, the DNS record itself is wrong, or your browser has cached a stale answer. Run a quick test to see which one you have, then apply the matching fix below.
Time 20 min · Steps 7 · Level Easy
Run These DNS Checks in Order
- Ping a website by name and by number. Open a command prompt or terminal and run ping google.com, then ping 8.8.8.8. If the number works but the name fails, it is a DNS problem. If both fail, your internet connection itself is down.
- Test DNS directly. Run nslookup google.com (Windows) or dig google.com (Mac and Linux). If these return an address, your DNS server works and the problem is your browser or device cache.
- Try another device on the same network. If only one device has the error, the problem is that device's settings or cache. If every device fails, the problem is the router or your internet provider.
- Flush the local DNS cache. On Windows run ipconfig /flushdns. On Mac run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. On Linux, restart the system's DNS resolver service or reboot.
- 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 DNS (1.1.1.1 and 1.0.0.1). This bypasses a broken provider DNS server.
- Restart the router. Unplug it for 30 seconds, plug it back in, and wait about 2 minutes for it to reconnect. This clears the router's own DNS cache.
- Check the site itself. If the error appears on only one website, the site's DNS records may be broken on their end. Test it from a mobile data connection, or use a DNS propagation checker site to see whether the domain resolves globally.
Which DNS Error Message You're Seeing Points to the Cause
The exact wording on the error page narrows things down fast. "DNS_PROBE_FINISHED_NXDOMAIN" in Chrome means the domain name could not be resolved at all: either the name is misspelled, the site's DNS record is missing, or your DNS server returned a bad answer. "DNS_PROBE_FINISHED_NO_INTERNET" means the device has no working connection, so start with the router and network cable or Wi-Fi. "DNS server not responding" usually means the DNS server itself is unreachable, which the public DNS switch fixes in most cases. "DNS_PROBE_FINISHED_BAD_CONFIG" points to wrong DNS settings on the device or router, often left behind by a VPN.
If you run a website and see the error only on your own domain, the record itself is the suspect. Check that the nameservers at your registrar point to your DNS host, and that an A record exists for the root domain and a CNAME or A record for the www subdomain. A record change can take from a few minutes up to 48 hours to spread across the internet's DNS system, so a recently changed record may work for some visitors and fail for others during that window.
Confirming Each Cause and Its Fix
Stale cache on your device
Confirm it: nslookup returns the correct address but the browser still shows the error. Fix it: flush the DNS cache as in step 4, then clear the browser's cache too (Settings > Privacy, labels differ slightly by version). Open the page in a private or incognito window as a quick test, since that window uses a fresh cache.
Broken or slow DNS server from your provider
Confirm it: nslookup times out or fails, but ping 8.8.8.8 works. Fix it: switch the device's DNS to 1.1.1.1 or 8.8.8.8. On Windows this sits under Settings > Network, then the adapter's DNS assignment; on Mac under System Settings > Network, then the connection's DNS settings; on Android under Settings > Network, then private DNS; on iPhone under Settings > Wi-Fi, then the network's DNS setting. Menu names can differ slightly between versions. Setting the DNS on the router fixes every device in the house at once.
VPN or firewall interfering
Confirm it: the error started right after installing or updating a VPN, and disappears when you disconnect it. Fix it: disconnect the VPN, flush the DNS cache again, and reconnect. If the error returns, the VPN's own DNS settings are broken; set them to a public DNS server inside the VPN app, or reinstall the app.
Router handing out a bad DNS address
Confirm it: every device on the network fails, and nslookup shows an empty or unreachable server. Fix it: restart the router, then set its DNS to 1.1.1.1 and 8.8.8.8 in the router's admin page (usually reached by typing 192.168.1.1 or 192.168.0.1 into a browser). If the router refuses to save settings, a factory reset and reconfiguration is the last resort.
The website's own DNS record
Confirm it: only one site fails, on every device and on mobile data too. Fix it: nothing on your end; the site's owner must repair the record. A DNS propagation checker site shows whether the domain resolves from servers around the world, which tells you if the problem is global or local to you.
Keeping DNS Errors From Coming Back
Set a public DNS server on your router once, and most provider-side outages stop affecting you. If you use a VPN, enable its DNS leak protection or set its DNS manually so it doesn't leave a broken resolver behind when it disconnects. Flush your device's DNS cache after changing any DNS setting, since a cached old answer can keep the error alive after the cause is fixed. When a website you manage moves hosts, lower the record's TTL value to about 300 seconds a day before the move, so the old address expires quickly instead of lingering for hours.
Official source: Google Android Help