DNS works like the internet's address book: it turns a website name into the number computers use to find it. When the DNS server doesn't answer, pages won't load by name even though the connection itself may be fine. Windows' network diagnostics then reports that the DNS server isn't responding, and Edge or Chrome show an error starting with DNS_PROBE. It is usually fixable in a few steps, and none of them touch your files.
Fix 1: Restart the router and the PC, then test another browser and device
Your router usually passes your internet provider's DNS server on to the PC. A full power cycle clears a stuck router and gives the PC fresh settings. Testing a second browser and a second device then shows where the problem lies.
- Unplug the router's power cable (and the modem's, if it is a separate box). Wait 30 seconds.
- Plug the modem in first and wait for its lights to settle, then plug in the router and wait about 2 minutes.
- On the PC, select Start, then Power, then Restart.
- Try the same website in a different browser, such as Microsoft Edge if you normally use another one.
- Try the same website on a phone connected to the same Wi-Fi, with its mobile data turned off.
If the phone fails too, the problem is the router or your internet provider. Wait a while, or check your provider's service-status page from mobile data. If only one browser fails, the problem is in that browser, so try turning off its extensions. If only this PC fails, carry on with Fix 2.
Did that fix it?
Fix 2: Clear the DNS cache
Windows keeps a short list of website addresses it has looked up recently. If an entry in that list is wrong or out of date, Windows keeps using it. Clearing the list makes Windows ask the DNS server again.
- Open Command Prompt as administrator.
- Type this command and press Enter:
Type this in Command Prompt, as administrator
ipconfig /flushdnsHow do I open Command Prompt as administrator?
Select Start and type cmd. Right-click Command Prompt in the results and choose Run as administrator. Select Yes if Windows asks for permission.
- You should see Successfully flushed the DNS Resolver Cache. Close the window and try a website.
Did that fix it?
Fix 3: Run the network diagnostics
Windows' own network diagnostics tests the adapter, the router and the DNS server one after another. It can reset some settings by itself, and it tells you which part failed.
Windows 11
- Open Settings, then
System, then .Troubleshoot, then Other troubleshooters - Next to Network and Internet, select Run. On recent versions of Windows 11 this opens the Get Help app.
- Answer its questions and let it finish, then try a website.
Windows 10
- Select Start, type Get Help and open the Get Help app.
- Type connect to network and internet in the search box and select Run network diagnostics.
- Answer its questions and let it finish, then try a website.
Did that fix it?
Fix 4: Reset the network stack with commands
These built-in commands put the parts of Windows that carry network traffic back to their defaults, then ask the router for a fresh address and fresh DNS settings. They don't touch your files or your saved Wi-Fi passwords.
- Open Command Prompt as administrator.
- Type each command below and press Enter after each one. Let each finish before you type the next. The connection drops for a moment after the third one.
Type this in Command Prompt, as administrator
netsh winsock reset netsh int ip reset ipconfig /release ipconfig /renew - Restart the PC. The first two commands only take full effect after a restart.
A line that says Access is denied or that one part of the reset failed can be normal. Restart and test before trying anything else.
Did that fix it?
Fix 5: Check which DNS server Windows uses
Normally Windows uses the DNS server your internet provider supplies through the router, a setting called automatic or DHCP. If the setting has been changed by hand, by old software or by unwanted software, Windows may be asking a server that no longer answers. Putting it back to automatic often fixes this.
Write down whatever the setting shows now before you change it, so you can put it back.
Windows 11
- For Wi-Fi, open Settings, then
Network & internet, then and select Hardware properties. For a cable connection, open Settings, thenWi-Fi Network & internet, then .Ethernet - Next to DNS server assignment, select Edit.
- If it shows Manual with addresses you didn't enter, choose Automatic (DHCP) and select Save. This is the default.
- If it was already automatic and you want to try a different DNS server, choose Manual, turn on IPv4, type the two addresses into Preferred DNS and Alternate DNS, and select Save.
Windows 10
- Open the Network Connections window:
Type this in Run box
ncpa.cplHow do I open Run box?
Press the Windows logo key and R together, type the text into the Open box and select OK.
- Right-click Wi-Fi (or Ethernet for a cable connection) and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4), then Properties.
- If Use the following DNS server addresses is chosen and you didn't set it, choose Obtain DNS server address automatically. This is the default.
- If it was already automatic and you want to try a different DNS server, choose Use the following DNS server addresses and type the two addresses into Preferred DNS server and Alternate DNS server.
- Select OK, then Close.
Several organizations run free public DNS services, and using one is your choice. If you try one, copy its addresses from that organization's own website. To undo the change at any time, go back to the same screen and choose the automatic option.
If the setting keeps changing back to addresses you didn't choose, read Remove malware with Windows Security.
Did that fix it?
Fix 6: Turn off a VPN or proxy
A VPN app or a proxy setting sends your traffic, including DNS lookups, through another server first. If that server is down or slow, every name lookup fails while the Wi-Fi still looks connected.
- If you use a VPN app, disconnect it or quit it from the corner of the taskbar, then try a website.
- Open the proxy settings:
Windows 11
Settings, thenNetwork & internet, then Proxy Windows 10
Settings, thenNetwork & Internet, then Proxy - Make sure Automatically detect settings is on.
- Under Manual proxy setup, make sure Use a proxy server is off. On Windows 11, select Set up next to it to see the switch.
Did that fix it?
Fix 7: Use Network reset
Network reset removes and reinstalls every network adapter and puts all network settings, including DNS, back to their defaults. Microsoft suggests it as the last step because it also clears settings you may want to keep.
Windows 11
- Open Settings, then
Network & internet, then .Advanced network settings, then Network reset - Select Reset now, then Yes.
- After the restart, reconnect to your Wi-Fi network with its password.
Windows 10
- Open Settings, then
Network & Internet, then and select Network reset near the bottom.Status - Select Reset now, then Yes.
- After the restart, reconnect to your Wi-Fi network with its password.
Did that fix it?
Why this happens
Most of the time the DNS server belongs to your internet provider, and short outages on its side are common. On the PC, the usual causes are an out-of-date DNS cache, a VPN or proxy in the way, or a DNS setting that was changed by hand or by unwanted software. If Windows says you're connected but shows No internet, read Wi-Fi connected but no internet.