Skip to content
TECHNOARTH IT for offices and small businesses.
Networking

DNS server not responding in Windows: how to fix it

The network is connected, but no website opens and Windows diagnostics says the DNS server is not responding. Find out whether it's one PC or the whole network and fix it without breaking folders, printers or the domain.

DNS server not responding in Windows: how to fix it

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.

Windows Network Diagnostics with the message: the device or resource (DNS server) is not responding
This is the Windows diagnostics message (1) this guide fixes.

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
  1. First: is it one PC or the whole network?
  2. Step 1: see which DNS the computer is using
  3. Step 2: compare the router’s DNS with a public DNS
  4. Step 3: clear the DNS cache and renew the IP
  5. Step 4: change the DNS server (when it makes sense)
  6. Step 5: reset the Windows network
  7. Step 6: VPN, antivirus and driver
  8. When to call the provider
  9. Frequently asked questions

First: is it one PC or the whole network?

What you seeWhere the fault probably isWhere to start
Only one computer can’t browse; the others and the phones on Wi-Fi workThat 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 timeThe router or the internet providerRestart 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 networkCompare the DNS on each adapter (step 1)
Websites open, but folders and printers by name don’tInternal 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:

Command
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):

Command
Get-DnsClientServerAddress -AddressFamily IPv4
PowerShell with the Get-DnsClientServerAddress command showing the Ethernet adapter using DNS 192.168.0.1 and Wi-Fi using a different fixed DNS
The ServerAddresses column shows each adapter's DNS: the cable uses the office router (1), but Wi-Fi kept a manually typed address (2) — a sign of an old setting to review.

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”:

Command
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:

Command
nslookup microsoft.com

Then force the lookup through a public DNS:

Command
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-NetConnection test 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:

Command
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:

  1. Open Settings › Network & internet.
  2. 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.
  3. 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.
Wi-Fi hardware properties in Windows 11 with the Edit button for DNS server assignment highlighted
In Hardware properties, click Edit next to “DNS server assignment”.
  1. Switch to Manual, turn on IPv4, fill in Preferred DNS and Alternate DNS and select Save.
Edit DNS settings window set to Manual, with IPv4 on and servers 1.1.1.1 and 1.0.0.1 entered
Choose Manual, turn on IPv4, enter the preferred (1) and alternate (2) DNS, and save (3).

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.

ServicePreferred DNSAlternate DNS
Cloudflare1.1.1.11.0.0.1
Google8.8.8.88.8.4.4
Quad9 (blocks known malicious domains)9.9.9.9149.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.

  1. Open Settings › Network & internet › Advanced network settings › Network reset.
  2. Select Reset now and confirm with Yes. The computer restarts.
Network reset page in Windows 11 Settings with the Reset now button highlighted
Reset now (1) removes and reinstalls the adapters along with their settings, including manual DNS; VPN clients may need to be reinstalled. Windows asks for confirmation and restarts the PC.
  1. 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 /flushdns and 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.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.