DNS Server Unavailable: What It Means & How to Fix It

Key takeaway

"Your DNS server might be unavailable" is Windows Network Diagnostics telling you your device gets no answers from its DNS server: the connection may be fine, but names can't be turned into IP addresses. Flush the DNS cache and renew your IP, switch to a public DNS server such as 1.1.1.1 or 8.8.8.8, restart the router, and pause antivirus web filtering or a VPN. A page saying "Service Unavailable - DNS failure" with a reference number is different: that's the website's CDN failing to look up the site's own server, not your DNS.

Check it now

DNS server unavailable error fix guide showing the Windows diagnostics message and the fastest resolver fixes
DNS server unavailable error fix guide showing the Windows diagnostics message and the fastest resolver fixes
Start reading
  1. What "DNS Server Unavailable" Means
  2. "Service Unavailable - DNS failure" Is Something Else
  3. Why It Happens
  4. Fix 1: Flush DNS and Renew Your Connection
  5. Fix 2: Switch to a Public DNS Server
  6. Fix 3: Restart the Router
  7. Fix 4: Disable Antivirus Web Protection, VPN, and Proxies
  8. Fix 5: Reset the Windows Network Stack
  9. Fix 6: Set Public DNS on the Router Itself
  10. Fix 7: Test in Safe Mode with Networking (Windows)
  11. Fix 8: When It's Genuinely Your ISP
  12. How to Verify the Fix Worked
  13. Frequently Asked Questions

What "DNS Server Unavailable" Means

When websites stop loading and you run the Windows troubleshooter, it often reports "Your DNS server might be unavailable" or "Your computer appears to be correctly configured, but the device or resource (DNS server) is not responding." Browsers show their own versions: ERR_NAME_NOT_RESOLVED or a DNS_PROBE code in Chrome, and "Hmmm… can't reach this page" in Edge.

DNS (Domain Name System) translates domain names like google.com into IP addresses your device connects to. Every page load starts with a DNS query to the resolver your device is configured to use — normally your router, which forwards queries to your ISP's servers. "Unavailable" means those queries are going unanswered: the server is down, unreachable, or something between you and it is eating the requests.

Because the error is confined to the DNS step, your connection itself usually still works, and pointing your device at a healthy resolver often fixes it straight away.

Does the domain resolve outside your network? Check it

"Service Unavailable - DNS failure" Is Something Else

If a website shows a page titled Service Unavailable - DNS failure with a line like "Reference #11.…", your DNS is fine. That page comes from Akamai, the CDN in front of many big sites: Akamai's edge servers couldn't look up the site's own origin server, because its name servers returned "doesn't exist" or didn't answer in time (Akamai).

Only the site's owner (or Akamai, if its own DNS is having an outage) can fix it. As a visitor, wait and retry later; other sites loading normally confirms it isn't you.

Why It Happens

The usual causes:

  • Your ISP's DNS resolver is down or overloaded — most home connections use it by default, often through the router.
  • The router's DNS forwarder glitched — devices send queries to the router; when its forwarding service hangs, every device shows DNS errors while WiFi looks fine.
  • Corrupted local DNS cache — your device keeps re-serving failed lookups it cached.
  • Antivirus or firewall interception — web-protection modules proxy DNS traffic, and when they misfire, all resolution dies.
  • A dead VPN tunnel or leftover proxy — DNS queries route into a tunnel that no longer answers.
  • Broken network stack settings (Windows) — corrupted Winsock/TCP-IP configuration after updates or malware cleanup.
  • Manually set DNS server that no longer exists — an old office/school/VPN address still configured on the adapter.

Fix 1: Flush DNS and Renew Your Connection

Start by clearing every cached lookup and forcing a fresh DHCP lease — this alone clears stale-cache and stale-lease causes in one pass.

bash
# Windows (Command Prompt as Administrator)
ipconfig /flushdns
ipconfig /release
ipconfig /renew

# macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

# Then test resolution directly:
nslookup google.com
# "DNS request timed out" = server still unreachable → Fix 2

If nslookup now answers, browse normally — you're done. If it times out, your configured DNS server is genuinely unreachable; move to Fix 2. For a full per-platform walkthrough, see how to flush DNS on every OS.

Fix 2: Switch to a Public DNS Server

If your ISP's resolver is the problem, stop using it. The big public resolvers run worldwide networks and rarely go down:

ProviderPrimarySecondaryBest for
Cloudflare1.1.1.11.0.0.1Privacy
Google Public DNS8.8.8.88.8.4.4Reliability
Quad99.9.9.9149.112.112.112Malware blocking
OpenDNS208.67.222.222208.67.220.220Phishing blocking (family filter: 208.67.222.123)

Windows: Settings → Network & internet → Wi-Fi → Manage known networks → your network (Ethernet → your network) → Edit next to DNS server assignment → Manual → IPv4 on → Preferred 1.1.1.1, Alternate 1.0.0.1 → Save. Windows 10 has no DNS option in Settings: press Win + R, run ncpa.cpl, right-click your adapter → Properties → Internet Protocol Version 4 → Properties → Use the following DNS server addresses.

macOS: System Settings → Network → Wi-Fi → Details → DNS → remove old entries, add 1.1.1.1 and 1.0.0.1 → OK.

Android: Settings → Network & internet → Private DNS → hostname one.one.one.one (Android looks this name up through your current DNS, so if the network's DNS is completely down it may report that the server can't be reached until the router is fixed). iPhone: Settings → Wi-Fi → (i) → Configure DNS → Manual.

Which resolver answers fastest depends on where you are, and an ISP's resolver can be faster for names it already has. Benchmark them from your own connection with the DNS Speed Test.

Fix 3: Restart the Router

When every device in the house shows DNS errors at once, the router's DNS forwarder is the prime suspect — it hangs while the WiFi radio keeps broadcasting happily.

Unplug the router (and modem) for 30 seconds, plug back in, and wait 2–3 minutes. If DNS dies again within days, stop depending on the router's forwarder: set public DNS directly on your devices (Fix 2) or in the router's own settings (Fix 6) so queries skip the flaky middleman.

Fix 4: Disable Antivirus Web Protection, VPN, and Proxies

Security software sits directly in the DNS path more often than people realize. Antivirus "web shield" modules intercept DNS to filter malicious sites — when the module breaks, DNS breaks with it. Temporarily disable the web-protection component (not the whole antivirus) and test.

Disconnect any VPN and test again — a connected tunnel whose DNS server stopped answering kills all resolution. Then check for stray proxies: Windows Settings → Network & Internet → Proxy (turn off manual proxy), macOS Network → Details → Proxies (uncheck all).

Fix 5: Reset the Windows Network Stack

If nslookup still fails against 1.1.1.1 directly (Fix 2 didn't help on one Windows machine), the network stack itself may be corrupted. Reset it:

bash
# Command Prompt as Administrator — then restart the PC
netsh winsock reset
netsh int ip reset
ipconfig /flushdns

This rebuilds the socket and TCP/IP configuration that all DNS queries pass through. It takes one restart and repairs damage left behind by uninstalled VPNs, network "optimizer" tools and malware cleanups; VPN or security software that hooks into Winsock may need reinstalling afterwards.

Fix 6: Set Public DNS on the Router Itself

Changing DNS on the router fixes every device on the network at once — phones, TVs, consoles included. Log into the router admin (gateway IP, commonly 192.168.1.1 or 192.168.0.1), find DNS settings under WAN/Internet or DHCP/LAN, and replace the ISP defaults with 1.1.1.1 and 8.8.8.8.

Note: some ISP-locked gateways (notably AT&T's BGW series) don't allow changing the DNS they hand out — in that case set DNS per device instead, as explained in our AT&T DNS servers guide.

Fix 7: Test in Safe Mode with Networking (Windows)

Still broken on one PC? Boot into Safe Mode with Networking: hold Shift while clicking Restart → Troubleshoot → Advanced options → Startup Settings → Restart, then press 5 or F5. Safe Mode loads Windows without third-party services and drivers.

If DNS works in Safe Mode, some installed software is intercepting it in normal mode — antivirus, VPN clients, or "web filtering" tools are the usual suspects. Uninstall or update the most recently added one. If DNS fails even in Safe Mode, the stack reset (Fix 5) and network driver reinstall are next.

Fix 8: When It's Genuinely Your ISP

ISP resolver outages happen: a regional DNS failure takes every customer on the default settings offline while the network itself runs fine. The tell: everything works the moment you switch to 1.1.1.1 or 8.8.8.8, and restarting the router didn't help.

You can stay on a public resolver, or switch back once your provider fixes it. Check your provider's status page for confirmation, and see our guide to fixing "DNS server not responding" for more steps.

How to Verify the Fix Worked

Confirm resolution directly instead of just reloading pages:

bash
# Ask your current resolver:
nslookup example.com
# The "Server:" line shows WHICH resolver answered

# Ask a public resolver directly (bypasses your settings):
nslookup example.com 1.1.1.1

# If the second works and the first doesn't,
# your configured DNS server is still the problem — redo Fix 2.

And to see whether a specific website resolves for the rest of the world, run it through the DNS Propagation Checker: it asks 34 resolvers in 28 countries at once. DNS Lookup shows the domain's records straight from its own name servers.

Does the domain resolve for everyone else?

DNS Robot's free DNS Lookup asks a domain's own name servers and Google's and Cloudflare's resolvers. If they answer and your device doesn't, the problem is your resolver or network, not the website.

Sources

  1. Origin DNS Failure, Akamai
  2. 1.1.1.1 IP addresses, Cloudflare

Frequently Asked Questions

What does "the DNS server is unavailable" mean?

It means your device can't get answers from the DNS server it's configured to use, so domain names can't be translated into IP addresses and websites won't load. The connection itself is usually fine — the resolver (typically your router forwarding to your ISP's servers) is down, unreachable, or being blocked by software in between.

How do I fix an unavailable DNS server on Windows 11?

Run ipconfig /flushdns, /release and /renew in Command Prompt, then switch DNS to a public resolver: Settings → Network & internet → Wi-Fi → Manage known networks → your network → Edit next to DNS server assignment → Manual → IPv4 → 1.1.1.1 and 1.0.0.1. If it persists, restart the router, pause antivirus web protection, and run netsh winsock reset as administrator.

Why does the DNS server keep becoming unavailable?

Recurring episodes usually mean an unreliable ISP resolver or a flaky router DNS forwarder. The permanent fix is to stop using both defaults: set a public DNS server (1.1.1.1 or 8.8.8.8) directly on your devices or in the router settings. If it still recurs, an antivirus web filter or failing router hardware is the next suspect.

Is "DNS server unavailable" my ISP's fault?

Often: most devices use the ISP's resolvers by default, through the router. The test: switch your DNS to 1.1.1.1 or 8.8.8.8. If everything instantly works, your ISP's DNS (or the router passing queries to it) was the problem, and you can either stay on public DNS permanently or report the outage.

What's the difference between "DNS server unavailable" and "DNS server not responding"?

They're two wordings Windows Network Diagnostics uses for the same failure: your device sent DNS queries and got nothing back. Causes and fixes are the same: flush and renew, switch to a public resolver, restart the router, and check for antivirus or VPN interception.

Can I just use 1.1.1.1 or 8.8.8.8 permanently?

Yes. Cloudflare (1.1.1.1) and Google (8.8.8.8) are free and run large, redundant networks. They aren't always faster than your ISP's resolver (on our own line the router answered cached names in 3 ms), so measure if speed matters. Set a primary and a secondary so one provider's rare outage doesn't take you offline.

Why is DNS unavailable on every device in my house?

That points at shared infrastructure: the router's DNS forwarder hung, or your ISP's resolvers are down. Restart the router first. If it happens again, set public DNS (1.1.1.1 / 8.8.8.8) in the router's settings so every device stops depending on the ISP's resolvers.

Does antivirus software cause DNS server unavailable errors?

It can. Web-protection modules filter DNS traffic through a local service, and when that service breaks or conflicts with an update, all name resolution fails. Temporarily disable just the web-protection component to test — if DNS returns, update or reconfigure the antivirus rather than browsing unprotected.

How do I check which DNS server my computer is using?

Run nslookup example.com — the "Server" line at the top shows the resolver that answered. On Windows, ipconfig /all lists DNS servers per adapter; on macOS, System Settings → Network → Details → DNS. If it shows your router's IP (like 192.168.1.1), the router forwards your queries to whatever DNS it's configured with.

How do I test if a website's DNS is working for everyone else?

Use a DNS propagation checker that asks resolvers in many countries at once. If the domain resolves worldwide but fails on your device, the problem is your resolver or network. If it fails everywhere, the domain's own DNS is broken and only the site owner can fix it.

About the author

Shaik Vahid

Founder of DNS Robot. Vahid spent years in web hosting support fixing domains, DNS records, SSL certificates and email delivery for customers. He builds DNS Robot's tools and writes these guides from the errors people actually hit.

DNS Lookup

Every DNS record from the domain's own nameservers, beside Google's and Cloudflare's cache