The Network troubleshooter in Windows 11 has a way of sounding final: "Your device or resource (DNS server) isn't responding." No suggestion, no next step, just a verdict. The browser says nothing loads, Teams spins, and the Wi-Fi icon still looks perfectly happy.
What that message never tells you is which DNS server stopped answering. On a typical home network there are at least three candidates: the router, which usually acts as a DNS relay; your internet provider's resolvers, which the router forwards to; and the PC itself, which may be pointed somewhere odd by a VPN, an old manual setting, or a virtual adapter. Each one has a different fix, so the first thing I do is figure out who is actually failing.
Here is the routine I use.
Step 1: Find out which DNS server Windows is really asking
Open Terminal and run:
ipconfig /all Scroll to the adapter you are actually using (Wi-Fi or Ethernet, not a disconnected one) and note two lines: Default Gateway and DNS Servers.
- If DNS Servers shows the same address as the gateway (often
192.168.1.1or192.168.0.1), the router is relaying DNS for you. - If it shows an address from your ISP, Windows is talking to the provider directly.
- If it shows something you don't recognize, like a
10.xaddress orfec0:0:0:ffff::1, a VPN, a virtual adapter, or a leftover IPv6 setting may be in charge.
That last case is more common than people expect. I have seen a laptop keep a disconnected VPN's DNS server as the first choice, so every lookup went to an address that no longer existed.
Step 2: Ask each server directly with nslookup
This is the part that turns guessing into a diagnosis. nslookup lets you send a query to a specific server instead of whatever Windows picks by default. I run three tests:
nslookup example.com nslookup example.com 192.168.1.1 nslookup example.com 1.1.1.1 Replace 192.168.1.1 with your own gateway from Step 1. The first line uses the PC's default server, the second asks the router, and the third goes straight to a public resolver on the internet.
How I read the results:
- All three time out. DNS probably isn't the real problem. The PC can't get any traffic out. Check the cable or Wi-Fi, try
ping 1.1.1.1, and restart the router before going further. - The router times out, the public resolver answers. The router's DNS relay is stuck, or the ISP servers it forwards to are down. A router reboot often fixes it. If it keeps coming back, change the DNS servers in the router itself so every device benefits.
- The router and public resolver answer, but the default lookup fails. The problem is on the PC: a wrong manual DNS entry, a VPN adapter, or a stale configuration. Keep reading.
- Everything answers, but browsing still fails. Look at proxy settings, security software, or the browser rather than DNS.
If you want to understand the output in more detail (the "Non-authoritative answer" line, the timeout messages, how to set a longer timeout), the nslookup documentation on Microsoft Learn is the clearest explanation I know.
Step 3: Clear what Windows has cached and reset the stack
Once I know the PC is the weak link, I clean up the local side. In an elevated Terminal:
ipconfig /flushdns ipconfig /release ipconfig /renew netsh winsock reset netsh int ip reset Restart afterwards. The Winsock and IP resets matter most after you have uninstalled a VPN, a "network booster," or a security suite. Those tools sometimes leave pieces of themselves in the network stack, and Windows keeps tripping over them.
I also check that the DNS Client service is running. Open services.msc, find DNS Client, and make sure its status is Running. You usually can't restart it by hand on Windows 11. If it is stopped, something else is wrong and a reboot is the safe way to bring it back.
If you'd like every fix in one place, including disabling IPv6, checking the firewall, and resetting the router's DNS settings, the longer walkthrough on Fix Tech Issues goes through them one at a time.
Step 4: Check the adapters you forgot about
In Settings > Network & internet > Advanced network settings, look at every adapter listed, not just the one you use. Hyper-V switches, VirtualBox host-only adapters, old VPN TAP adapters, and Bluetooth PAN adapters all register with Windows, and some of them carry their own DNS servers.
If you find a VPN or virtual adapter you no longer use, disable it as a test. If the problem disappears, uninstall the software that created it properly rather than leaving the adapter disabled forever.
While I'm there, I open the active adapter's driver details in Device Manager. A driver that Windows Update swapped in overnight can cause intermittent drops that look exactly like a DNS timeout. Rolling it back, or installing the laptop maker's version, has fixed this for me more than once.
Step 5: Change DNS settings in Windows 11 to a public resolver
If the ISP's servers are the ones failing, or you just want a resolver that answers reliably, switching is quick:
- Open Settings > Network & internet and select Wi-Fi or Ethernet.
- Choose Hardware properties for the active connection.
- Next to DNS server assignment, click Edit, and switch from Automatic (DHCP) to Manual.
- Turn on IPv4 and enter a preferred and alternate server, for example
1.1.1.1and1.0.0.1, or8.8.8.8and8.8.4.4. - Save, then run
ipconfig /flushdnsand repeat the nslookup test from Step 2.
Cloudflare has a short guide to setting 1.1.1.1 on Windows that includes the IPv6 addresses if you want to set those as well. Windows 11 also offers DNS over HTTPS in the same dialog for supported resolvers. I leave it off while troubleshooting so there is one less variable, then turn it on once things are stable.
One caution: on a work laptop, check with IT before changing DNS. Company networks often depend on internal DNS servers, and a public resolver won't know your internal names.
When the "DNS server unavailable" message keeps coming back
An occasional failure is usually the ISP having a bad hour. A daily one deserves a pattern check:
- Only on Wi-Fi, never on Ethernet: suspect the wireless driver or its power management. Untick "Allow the computer to turn off this device to save power" on the adapter.
- Only after sleep: same suspicion, plus Fast Startup. Try disabling Fast Startup for a week.
- Every device in the house, around the same time: the router or the ISP. Point the router at a public resolver, update its firmware, or ask the provider whether there is a known issue.
- Only when the VPN is connected: the VPN's DNS is failing. Check the client's DNS or split-tunnel settings, or contact the VPN provider.
My short version
When Windows 11 says the DNS server isn't responding, don't start by changing random settings. Find the server Windows is using, test it, the router, and a public resolver with nslookup, and let the results tell you where to look. In my experience it is the router or a leftover VPN adapter far more often than Windows itself, and once you know which one, the fix takes a couple of minutes.
