If you see “DNS server unavailable” or “DNS_PROBE_FINISHED_NXDOMAIN” in Windows 11, the quickest fix is to flush the DNS cache and switch to a public DNS like Google (8.8.8.8) or Cloudflare (1.1.1.1). This error usually means your PC can’t reach the DNS server that translates website names into IP addresses, so you have internet but no web pages load. Below are step-by-step fixes, from the simplest to more advanced, plus what to do if none of them work.
What Causes the DNS Server Unavailable Error?
DNS (Domain Name System) is the internet’s phonebook. When you type a website address, your computer asks a DNS server for the correct IP address. If that request fails, you get a DNS error even though your Wi‑Fi or Ethernet shows “connected.” Common causes include:
- ISP DNS outages – your internet provider’s DNS servers are temporarily down or overloaded.
- Misconfigured network settings – a wrong DNS address was set manually, or DHCP didn’t assign one.
- Corrupted DNS cache – old or invalid entries stored locally can cause conflicts.
- Firewall or antivirus blocking – security software may block DNS queries.
- Router issues – the router’s DNS relay is failing or its firmware is outdated.
- VPN or proxy interference – a VPN service that crashed or a misconfigured proxy can redirect DNS traffic.
Because the error often appears after a simple network hiccup, the fixes below start with the least invasive steps.
Fix 1: Restart Your Router and PC
This sounds obvious, but it resolves a surprising number of DNS issues. A router can develop a stale DNS cache or a temporary glitch. Do this:
- Turn off your PC.
- Unplug your router and modem from power. Wait 30 seconds.
- Plug the modem back in, wait for it to fully boot (lights stabilize).
- Plug the router back in and wait for it to connect.
- Turn on your PC and test the connection.
If the error persists, move to the software fixes below.
Fix 2: Flush DNS Cache and Reset Network Stack
Windows stores DNS responses locally to speed up browsing. If that cache gets corrupted, it can cause the “DNS server unavailable” error. Flushing it is safe and quick.
- Press Win + X and select Terminal (Admin) or Command Prompt (Admin).
- Type the following commands, pressing Enter after each one:
ipconfig /flushdns ipconfig /registerdns ipconfig /release ipconfig /renew netsh winsock reset netsh int ip reset
- Restart your PC.
The netsh winsock reset command repairs the Winsock catalog, which Windows uses to handle network requests. The ipconfig /renew gets a fresh IP address from your router. After the restart, check if the error is gone.
Fix 3: Change DNS Server to a Public Provider
If your ISP’s DNS is unreliable, switching to a public DNS often solves the issue permanently. Google and Cloudflare are free, fast, and have high uptime.
- Open Settings (Win + I) → Network & Internet → Wi‑Fi (or Ethernet).
- Click your connected network, then Edit next to “DNS server assignment.”
- Change the dropdown to Manual and turn on IPv4.
- Enter these values:
- Preferred DNS: 8.8.8.8
- Alternate DNS: 8.8.4.4
Or for Cloudflare:
- Preferred: 1.1.1.1
- Alternate: 1.0.0.1
- Save and restart your browser.
You can also set DNS at the router level so every device on your network benefits. Log into your router’s admin page (usually 192.168.1.1 or 192.168.0.1) and look for “DNS” under WAN or Internet settings.
Fix 4: Disable IPv6 Temporarily
Some networks have broken IPv6 configurations that cause DNS timeouts. Windows 11 tries IPv6 first, and if that fails, it may not fall back to IPv4 properly.
- Open Control Panel → Network and Sharing Center → Change adapter settings.
- Right‑click your active connection (Wi‑Fi or Ethernet) and select Properties.
- Uncheck Internet Protocol Version 6 (TCP/IPv6).
- Click OK and restart.
If the error goes away, you can leave IPv6 disabled or re‑enable it after updating your network drivers. This is a common fix for home networks where the router’s IPv6 setup is incomplete.
Fix 5: Check Firewall and Antivirus Settings
Third‑party security software sometimes blocks DNS queries because it mistakes them for malicious traffic. To test, temporarily disable your firewall or antivirus (not Windows Defender) and try loading a website. If it works, add an exception for your browser or for the DNS client service.
Windows Defender Firewall rarely causes this issue, but you can check its settings:
- Go to Windows Security → Firewall & network protection.
- Click Allow an app through firewall.
- Ensure your browser is checked for both Private and Public networks.
If you use a VPN, disconnect it and test. A VPN that crashes can leave DNS pointing to a dead server.
Fix 6: Update Network Drivers
Outdated or corrupted network drivers can cause DNS failures. Windows 11 usually updates drivers automatically, but it’s worth checking manually.
- Right‑click the Start button and select Device Manager.
- Expand Network adapters.
- Right‑click your Wi‑Fi or Ethernet adapter and choose Update driver.
- Select Search automatically for drivers.
If Windows finds nothing, visit your PC manufacturer’s support site to download the latest driver. After updating, restart and test.
Fix 7: Reset Network Settings (Nuclear Option)
If nothing else works, Windows 11 has a built‑in network reset that reinstalls network adapters and resets all settings to defaults. This removes VPNs, virtual switches, and custom DNS – so note those down first.
- Open Settings → Network & Internet → Advanced network settings.
- Click Network reset.
- Click Reset now and confirm.
- Your PC will restart. Afterward, reconnect to Wi‑Fi and re‑enter your password.
This is the most thorough fix and usually resolves any software‑related network issue. If the error still appears after a reset, the problem is likely with your router or ISP.
Frequently Asked Questions
Why does DNS keep failing on only one device?
If other devices work, the problem is specific to your Windows 11 PC. Try the flush and reset commands first, then check if a VPN or proxy is enabled. Also, look at your network adapter’s power management settings – Windows may be turning off the adapter to save power, which can interrupt DNS queries.
Can a VPN cause a DNS server unavailable error?
Yes. VPNs route your DNS queries through their own servers. If the VPN disconnects uncleanly or the server is down, your PC may still try to use a dead DNS address. Disconnect the VPN and see if the error resolves. If you need the VPN, reinstall it or switch to a different server.
Is it safe to use Google or Cloudflare DNS?
Yes, both are reputable and widely used. They do log some data but typically only for security and performance improvements. If privacy is a concern, Cloudflare has a strict no‑logging policy. Using a public DNS is generally safer than using an unknown third‑party DNS.
What does “DNS_PROBE_FINISHED_NXDOMAIN” mean?
This specific error means the DNS server responded, but the domain name you requested doesn’t exist (NXDOMAIN = Non‑Existent Domain). It could be a typo in the address, or the site itself is down. Try another website to confirm. If all sites show this, your DNS cache may have a bad entry – flush it.
How do I know if my router is causing the DNS issue?
Connect your PC directly to the modem with an Ethernet cable (bypassing the router). If the error disappears, the router is the culprit. Try rebooting it, updating its firmware, or changing its DNS settings to a public provider.
Will changing DNS affect my internet speed?
It can, but usually for the better. A faster DNS server can reduce the time it takes to resolve domain names, which makes browsing feel snappier. Download and streaming speeds are not affected because those use IP addresses directly after the initial connection.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Enable Privacy Indicators on Chromebook
- How to Calculate Taxes on Overtime Pay
- VPN Not Working on iPhone? Fixes That Actually Work
- Hide & Unhide Apps on Samsung Phones
- Fix iOS 17 Keyboard Not Working Properly
- Fix Red Dead Redemption 2 PC Crashes on Startup