DNS Server Failing? 7 Signs & How to Fix
In this article
When your DNS servers start failing, websites stop resolving to IP addresses, and your internet feels broken even though your connection looks fine. This guide walks you through the symptoms, how to confirm the problem, and what to do about it — whether the fault is on your device, your router, or your ISP's side.
What You'll Need
- A computer, phone, or tablet connected to the network you're testing
- Access to your router's admin page (usually via a browser at 192.168.1.1 or 192.168.0.1)
- Administrator or root privileges on your device (to change DNS settings)
- A note of your current DNS server addresses (you can find these in network settings)
Step-by-Step
- Check for the classic symptoms. DNS failures usually show up as: websites timing out or showing "This site can't be reached," error messages like "DNS_PROBE_FINISHED_NXDOMAIN" or "Server IP address could not be found," but other apps like email or messaging still work (because they use IPs directly or have their own DNS). If absolutely nothing loads, it might be a broader connectivity issue, not just DNS.
- Try a different device on the same network. If your phone loads websites fine but your laptop doesn't, the problem is local to the laptop. If all devices fail, the issue is likely at the router or ISP level. This single test narrows down the scope immediately.
- Ping a known IP address. Open a command prompt (Windows:
cmd, Mac/Linux: Terminal) and runping 8.8.8.8. If you get replies, your network connection is working — the problem is almost certainly DNS. If you get no replies, your internet is down entirely, and DNS is not the root cause. - Ping a domain name. Now run
ping google.com. If the IP address resolves and you get replies, DNS is working right now. If you get "Ping request could not find host google.com," DNS is failing to resolve names. - Use
nslookupordigto test specific servers. On Windows, runnslookup google.com. On Mac/Linux, usedig google.com. This shows which DNS server answered and whether it returned an IP. If it times out or returns an error, that server is failing. You can also test a specific server directly:nslookup google.com 8.8.8.8(ordig @8.8.8.8 google.com). If that works, your configured DNS is the problem. - Check your DNS settings. Go to your device's network settings and see what DNS servers are listed. Common issues: a typo in the server address, a server that no longer exists, or an empty field (which means your router's DNS, which might also be failing). Write down the current values.
- Flush your DNS cache. Sometimes your device has a stale or corrupted cache. On Windows:
ipconfig /flushdns. On Mac:sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder. On Linux:sudo systemd-resolve --flush-caches(or restart the network service). This clears old entries that might be causing resolution failures. - Temporarily switch to a public DNS server. Change your DNS to a well-known public resolver like 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare). If websites load immediately, your original DNS servers were the problem. This is a temporary fix — you can keep it or investigate further.
- Check your router's DNS settings. Log into your router admin page, find the WAN or Internet settings, and look at the DNS fields. If they're set to your ISP's servers, try changing them to public ones. Also check if the router itself is set to "Get automatically from ISP" — if that's failing, the router might be passing on bad DNS to all devices.
- Restart your router and modem. Power cycle both devices (unplug for 30 seconds, plug back in). This often clears temporary glitches in the router's DNS forwarder and renews the DHCP lease, which may re-assign working DNS servers.
Common Mistakes
- Assuming DNS is the problem when your internet is fully down. If you can't ping 8.8.8.8, it's not DNS. Don't waste time changing DNS settings when your cable is unplugged.
- Typing the DNS server address wrong. A single digit error (like 8.8.8.9) will cause failures. Double-check every number.
- Forgetting to flush the cache after changing DNS. Even after you switch to a good server, your device might still use cached bad results. Always flush after a change.
- Only testing one device. If you only test your laptop, you might miss that the issue is actually the router affecting all devices.
- Ignoring IPv6 DNS settings. Many networks use both IPv4 and IPv6 DNS. If your IPv6 DNS is broken, some sites might fail while others work. Check both sets of settings.
Tips
- Use multiple DNS servers for redundancy. Instead of just one, enter two (e.g., 8.8.8.8 and 8.8.4.4). Your device will try the second if the first fails.
- Write down your original DNS settings before changing anything. You'll need them if you want to revert.
- If you're a home user, using a public DNS server like 1.1.1.1 or 8.8.8.8 is generally safe and often faster than your ISP's. It's a reasonable permanent choice.
- For intermittent issues, check if the problem occurs at specific times of day. That could point to ISP congestion or scheduled maintenance.
- Keep your router firmware updated. DNS forwarding bugs are often fixed in updates.
Troubleshooting
What if changing DNS doesn't fix it? If you've switched to 8.8.8.8 and still can't resolve names, the problem might be:
- Your router's DNS forwarder is broken. Even if you set your device to use 8.8.8.8, some routers intercept DNS requests. Try connecting your device directly to the modem (bypassing the router) and test again.
- Your ISP is blocking DNS traffic. Some ISPs block outgoing DNS on port 53 to non-approved servers. Try using DNS over HTTPS (DoH) or DNS over TLS (DoT) — many public resolvers support these, and you can enable them in your browser or OS settings.
- Malware or a VPN is interfering. Malicious software can hijack DNS settings. Run a security scan. Also, if you have a VPN, temporarily disconnect it — VPNs often route DNS through their own servers.
- Your firewall is blocking DNS. Check your firewall rules for port 53 (UDP and TCP). Some security suites block DNS to prevent tracking, but they can break resolution.
What if only some websites fail? That's often a sign of a specific domain being down, not your DNS. Try nslookup on that domain. If it resolves but the site doesn't load, the website's server is likely down.
What if the problem is on your ISP's side? If your router shows that it's getting DNS from the ISP, but those servers are failing, you can't fix that directly. You can either use public DNS (as above) or call your ISP and report the issue. They may have a known outage.
Frequently Asked Questions
Q: How often do DNS servers fail?
A: Rarely for major public ones (like Google or Cloudflare), but ISP-provided servers can fail more often, especially during peak hours or maintenance. Most home users experience DNS issues a few times a year at most.
Q: Can a DNS server failure cause slow internet, not just errors?
A: Yes. If your DNS server is overloaded or having partial issues, it might respond slowly, causing delays when loading new websites. Pages you've already visited (cached) will load fast, but new ones will hang.
Q: Is it safe to use public DNS servers like 8.8.8.8?
A: Yes, they're run by reputable companies and are generally more secure than ISP servers. They also support encrypted DNS (DoH/DoT) for extra privacy. The main downside is that your DNS queries go to a third party, but they typically log less than ISPs.
Q: What's the difference between a DNS failure and a Wi-Fi issue?
A: A Wi-Fi issue usually means you can't connect to the network at all, or the connection drops. DNS failure means you're connected (you can ping IPs) but can't resolve names. If you can't connect to Wi-Fi, that's a separate problem.
Q: How do I find out what DNS servers I'm currently using?
A: On Windows, run ipconfig /all and look for "DNS Servers." On Mac, go to System Settings > Network > your connection > Details > DNS. On Linux, run nmcli dev show | grep DNS or check /etc/resolv.conf.
Q: Will changing my DNS affect my internet speed?
A: It can, but usually only slightly. A faster DNS server can reduce the time it takes to load new websites. However, if your ISP's DNS is already fast, you might not notice a difference. It won't increase your raw download/upload speed.