Skip to content
littleden.blogEvidence-led Windows troubleshooting, without the guesswork
Network, DNS & VPN · reviewed troubleshooting

DNS not resolving in Windows 11: prove name resolution before changing DNS settings

Use IP configuration, nslookup and a browser comparison to separate DNS failure from general connectivity or one-site failure.

Applies to: Windows 11Change risk: LowReviewed: 2026-09-17
Do this first
  1. Check whether the PC has a normal IP address and default gateway with ipconfig /all.
  2. Try the same site in another browser and verify the hostname is typed correctly.
  3. Run nslookup for a known hostname and record the DNS server/result.
  4. Do not change DNS servers yet if the whole connection is down or the adapter has a 169.254.x.x address.

What this problem usually means

DNS translates host names into addresses. Microsoft documents nslookup specifically for diagnosing DNS infrastructure, while the Windows connectivity guidance recommends checking IP configuration and flushing the resolver cache when name resolution is a plausible branch.

Ordered repair path

Work from the narrowest fix to the broader one.

1

Flush the local resolver cache

Low risk

Why this belongs here: A stale local DNS cache can preserve an outdated answer even when the network itself is working.

  1. Open Command Prompt or Terminal.
  2. Run ipconfig /flushdns.
  3. Retry the hostname and compare the result.
ipconfig /flushdns
2

Compare the configured DNS path with nslookup

Low risk

Why this belongs here: nslookup can show whether the configured resolver answers the query, which is more informative than randomly replacing DNS settings.

  1. Run nslookup example.com using the default resolver.
  2. Record whether the query resolves, times out or returns a name error.
  3. If you manage the network, compare against a known working resolver only as a diagnostic test.
3

Check proxy/VPN and router DNS only when the evidence points there

Low risk

Why this belongs here: VPN, proxy and router DNS settings can affect name resolution, but they should not be disabled blindly when only one website is unavailable.

  1. Temporarily disconnect a VPN only when the failure appears only while it is active.
  2. Review Windows proxy settings for unexpected manual configuration.
  3. If every device on the same network has DNS trouble, troubleshoot the router/provider DNS path.
Stop condition

When this guide stops being the right path

If only one hostname fails while other sites resolve normally, do not reset the Windows network stack; the domain, DNS record or destination service may be the problem.

If the problem is still not fixed

If DNS resolves correctly but the browser reports reset, refused or timeout errors, continue with the matching browser/network error record.

Evidence

Sources reviewed for this page

Primary technical guidance is preferred. A source supports the scope stated here; it does not imply that every possible cause is covered.