The cable is plugged in and the network icon shows a connection, but the browser won’t load anything, Outlook says it’s disconnected and Teams won’t sign in. When you run the diagnostics, Windows reports that the DNS server is not responding. DNS is what turns names like outlook.office365.com into the server’s numeric address; without that answer, the internet connection may be there, but no app knows where to send its data.

In an office, the first question is how many computers have the problem. It saves you from changing ten PCs when the router is to blame.
In this article
- First: is it one PC or the whole network?
- Step 1: see which DNS the computer is using
- Step 2: compare the router’s DNS with a public DNS
- Step 3: clear the DNS cache and renew the IP
- Step 4: change the DNS server (when it makes sense)
- Step 5: reset the Windows network
- Step 6: VPN, antivirus and driver
- When to call the provider
- Frequently asked questions
First: is it one PC or the whole network?
| What you see | Where the fault probably is | Where to start |
|---|---|---|
| Only one computer can’t browse; the others and the phones on Wi-Fi work | That PC’s settings (an old fixed DNS, VPN, antivirus) | Steps 1 to 5 on that PC |
| Every device in the office stops at the same time | The router or the internet provider | Restart the router, then step 2 |
| Only wired PCs fail and Wi-Fi works (or the other way round) | A switch, a router port or a separate Wi-Fi network | Compare the DNS on each adapter (step 1) |
| Websites open, but folders and printers by name don’t | Internal DNS (the server or router that resolves local names) | See the domain warning in step 4 |
A quick test tells “no internet” apart from “no DNS”. In PowerShell, run:
Test-NetConnection 1.1.1.1
If PingSucceeded comes back True, the route to the internet exists and the problem really is name resolution. If it’s False, the fault sits before DNS (the line, the router or the cable), and changing DNS servers won’t help; in that case, the guide to internet that keeps dropping is more useful.
Step 1: see which DNS the computer is using
A lot of “mysterious” failures turn out to be a DNS address typed by hand years ago that no longer exists. In PowerShell (no administrator rights needed):
Get-DnsClientServerAddress -AddressFamily IPv4

The ServerAddresses column lists each adapter’s DNS. In small offices it’s normally the router’s IP (such as 192.168.0.1) or the server’s, if there’s a domain. An address different from what the other PCs use deserves a closer look.
Command Prompt works too. Microsoft’s Wi-Fi support page suggests filtering the ipconfig /all output so only the DNS lines show up. On an English-language Windows, the label is “DNS Servers”:
ipconfig /all | findstr /c:"DNS Servers"
Step 2: compare the router’s DNS with a public DNS
This test shows who’s at fault. First, look up a name using the DNS the PC already has:
nslookup microsoft.com
Then force the lookup through a public DNS:
nslookup microsoft.com 1.1.1.1
- Both reply with addresses: DNS is working right now; clear the cache (step 3) and try the app that was failing.
- Only the second one replies: the configured DNS server (router or provider) is what’s failing. Restarting the router usually fixes it; if it keeps happening, change the DNS on the router (step 4).
- Neither replies, but the
Test-NetConnectiontest passed: something on the PC itself is blocking lookups: a VPN, an antivirus with web filtering, or a firewall (step 6).
Step 3: clear the DNS cache and renew the IP
Open Terminal or Command Prompt as administrator (right-click the Start button and choose the admin option) and run these one at a time:
ipconfig /flushdns
ipconfig /release
ipconfig /renew
/release drops the connection for a few seconds: if you’re working on the PC over Remote Desktop, you’ll lose access. Do this sitting at the machine.
Step 4: change the DNS server (when it makes sense)
Without a domain, the cleanest approach is to change it on the router, in the DHCP or LAN section (the name varies by brand): every device picks up the new DNS at its next renewal, and you only need to run ipconfig /renew on PCs that are already on. That way nobody ends up with a forgotten setting on a single machine.
To change it on one specific computer in Windows 11, the path described on Microsoft’s page about essential network settings is:
- Open Settings › Network & internet.
- Choose Ethernet (cable) or Wi-Fi › Manage known networks and select the office network. For the connected Wi-Fi network, the same screen is under Hardware properties.
- Next to DNS server assignment, select Edit. If your version doesn’t show that line, use Edit next to IP assignment, as Microsoft’s page describes; the DNS fields are in the same window.

- Switch to Manual, turn on IPv4, fill in Preferred DNS and Alternate DNS and select Save.

Windows 11 also offers DNS over HTTPS, with Off, On (automatic template) and On (manual template), which encrypts lookups. Windows 10 doesn’t have this option on that screen. If an internal site stops opening after you turn it on, set it back to Off.
| Service | Preferred DNS | Alternate DNS |
|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 |
8.8.8.8 | 8.8.4.4 | |
| Quad9 (blocks known malicious domains) | 9.9.9.9 | 149.112.112.112 |
Step 5: reset the Windows network
When the earlier steps don’t fix that one PC, a reset usually clears corrupted adapters and settings left behind by VPN software.
- Open Settings › Network & internet › Advanced network settings › Network reset.
- Select Reset now and confirm with Yes. The computer restarts.

- After the restart, open Ethernet or the Wi-Fi network and, under Network profile type, choose Private network, but only on the office network, never on a customer’s or a hotel’s Wi-Fi. If shared folders still don’t show up, go through the guide to sharing a folder on the network.
The same Microsoft page also lists netsh winsock reset and netsh int ip reset (run as administrator, followed by a restart) as a command-line alternative.
Step 6: VPN, antivirus and driver
- Corporate or third-party VPN: many set their own DNS while they’re active and, when they drop, leave the PC pointing at a server that only exists inside the tunnel. Disconnect, run
ipconfig /flushdnsand test again. If the problem started with the VPN, see the guide to VPN not connecting. - Antivirus with web protection or content filtering: some intercept DNS lookups. Pause the protection for a few minutes just to test and, if it’s the cause, update it or adjust the rule; don’t leave it off. Stay away from “internet optimizer” tools: Windows already has everything you need.
- Duplicate IP: two devices with the same address cause intermittent drops that look like a DNS failure. If Windows has already warned about a conflict, follow the guide to IP address conflict.
- Network adapter driver: update it from Device Manager or, preferably, from the website of the laptop or motherboard manufacturer.
When to call the provider
If every device fails, the router has been restarted and not even nslookup with 1.1.1.1 answers, the fault is in the line. Note when it started, what the modem lights show and the Test-NetConnection result before you open a ticket.
Frequently asked questions
Will switching DNS to 1.1.1.1 or 8.8.8.8 fix it for good?
It does when the fault is your provider’s DNS. If the problem is on the PC (VPN, antivirus, adapter), the error comes back even with a public DNS, which is why the step 2 test comes before any change.
Can I leave one PC on a public DNS and the rest on the router’s?
You can, but it makes support harder: when something breaks, nobody remembers that machine is different. Set it on the router instead.