Fix the Windows DNS unavailable error

"Your DNS server might be unavailable" - a report shown by the Windows Network Diagnostics troubleshooter after it checks the connection

Affects: Windows 10 and Windows 11 PCs on Wi-Fi or Ethernet

What this message means

"Your DNS server might be unavailable" is one of the reports the Windows Network Diagnostics troubleshooter produces when a name lookup gets no answer. A Microsoft Q&A thread from a Windows 7-era case quotes the exact flow: the connection fails, the diagnostics run, and the user reports clicking NEXT and getting "Your DNS server might be unavailable" [1]. Auslogics documents the wording as typical of earlier Windows 10 builds, with later builds and browsers showing close variants of the same failure [2].

The message tells you one thing precisely: the PC reached the network, but the resolver it asked for addresses did not answer. That is why web browsing breaks while other parts of the connection can look fine. It is a Windows-level message - the browser shows its own wording for the same failure, which our browser error pages cover separately.

Fix it step by step

Cause 1: The DNS address on the adapter is wrong or unreachable

This is the most common case after someone edits DNS by hand. A mistyped address or a resolver that no longer exists produces exactly this troubleshooter report.

Fix:

  1. Reopen the DNS settings for your connection and compare both addresses character by character. Microsoft describes the fields as "the Preferred DNS and Alternate DNS boxes" [4].
  2. Test whether the configured server answers: Microsoft's troubleshooting article says to check the listed DNS server and ping it, noting "If you have a valid IP address but can't ping your DNS server, you can change your DNS server to a different address" [3].
  3. If the provider's resolvers are dead or unreachable, switch to a working pair, save, and continue with the cache flush below.

This was most likely a wrong address or a resolver that stopped answering. The step that types the addresses is Step 5 of How to change DNS on Windows 11 or Step 5 of How to change DNS on Windows 10.

Cause 2: The router's DNS forwarding is stuck

On most home networks the PC asks the router, and the router forwards queries to the provider's resolvers. If that forwarding service hangs, every device on the network shows DNS failures while the Wi-Fi itself looks connected.

Fix:

  1. Restart the modem and router: unplug the power cables, wait at least 30 seconds, plug the modem back in, then the router, and wait for the status lights to settle. Microsoft documents this restart sequence in its Wi-Fi troubleshooting steps [3].
  2. On the PC, run ipconfig /flushdns from Command Prompt so it drops answers the stuck resolver gave out earlier [3].
  3. Test one website again. If the whole network fails at once, the router is the likely suspect; if only this PC fails, continue with the other causes.

That was most likely a hung DNS forwarder in the router. Restarting it rebuilds the path to the provider's resolvers.

Cause 3: IPv6 hands out a different DNS server

Windows keeps separate DNS settings for IPv4 and IPv6. If only the IPv4 side was changed, the PC can keep asking the old IPv6 resolvers and the troubleshooter keeps reporting a DNS failure.

Fix:

  1. Open the DNS editor for your connection and check both address families - on Windows 11 under DNS server assignment, on Windows 10 in the TCP/IPv4 and TCP/IPv6 dialogs.
  2. Fill the IPv6 fields the same way, or clear them so the network's automatic IPv6 DNS takes over. Microsoft's manual DNS procedure covers both IPv4 and IPv6 in the same dialog [4].
  3. Flush the DNS cache and retest.

The failure was a mismatch between the two address families. Step 5 of How to change DNS on Windows 11 shows where both sets of fields live.

Cause 4: Windows 11 DNS over HTTPS refuses to fall back

On Windows 11, a DNS server can be configured with DNS over HTTPS. If the resolver does not support DoH and the Fallback to plaintext switch is off, Windows stops sending the query at all, which the troubleshooter reads as a DNS server that never answers.

Fix:

  1. Open the DNS editor and set DNS over HTTPS to Off for both addresses unless the provider documents DoH support.
  2. If you need DoH, turn Fallback to plaintext on instead; Microsoft describes that when fallback is on, "a DNS query will be sent unencrypted if it can't be sent over HTTPS" [4].
  3. Save, flush the cache, and retest.

That was most likely a DoH setting aimed at a resolver that cannot answer it. The choice lives in Step 6 of How to change DNS on Windows 11.

If nothing helps

Run a network reset as the last software step. Microsoft documents the paths for both versions: on Windows 10, Settings > Network & internet > Status > Network reset, and on Windows 11, Advanced network settings > Network reset [3]. This removes and reinstalls all adapters, so expect to re-enter Wi-Fi passwords afterwards. If the error survives a network reset, test another device on the same network; if it fails there too, the fault is with the router or the internet provider's resolvers, and a call to the provider is the honest next step. If the PC is the only failing device, a faulty network driver or third-party security software is the remaining suspect, and the provider's support line or the PC maker's diagnostics are the places to go.

FAQ

Where exactly does this message appear?

It appears inside the Windows Network Diagnostics troubleshooter window, the one Windows offers after a connection problem or that you can start from the network icon on the taskbar. Microsoft Q&A threads quote it as the troubleshooter result after the diagnostics run [1]. It is a Windows message, not something a browser draws.

Is this the same as the browser error DNS_PROBE_FINISHED_NXDOMAIN?

No. The troubleshooter message comes from Windows itself, while DNS_PROBE_FINISHED_NXDOMAIN is a Google Chrome error page. Auslogics documents both as variants of the same underlying DNS failure [2], but the on-screen source differs and the fixes diverge slightly.

Can the troubleshooter message be wrong?

It reports that the DNS step of the connection failed, which is accurate in most cases, but the cause can sit in the router or the provider rather than the PC. Auslogics notes cases where the diagnostics tool misjudges the problem under network congestion [2], so treat the message as a pointer, not a diagnosis.

Setting up DNS on this device?

Open the setup guide → All Windows PC guides

Sources

  1. Microsoft Q&A thread reporting "Your DNS server might be unavailable" - accessed 2026-11-23
  2. Auslogics - Your DNS Server Might Be Unavailable error - accessed 2026-11-23
  3. Microsoft Support - Fix Wi-Fi connection issues in Windows - accessed 2026-11-23
  4. Microsoft Support - Essential network settings and tasks in Windows - accessed 2026-11-23