🚀 NEW in v2.4.28: 35+ Speed Optimizations added today!Download Now →

Home/Fix/DNS Server Not Responding

How to Fix "DNS Server Not Responding" on Windows

Pages won't load, the network troubleshooter says "DNS server not responding," but you are clearly connected. That means your PC can reach the internet but cannot translate website names into addresses. This guide fixes the DNS layer directly — usually in under five minutes.

  • Switches you to fast, reliable public resolvers (Cloudflare 1.1.1.1, Google 8.8.8.8)
  • Flushes the poisoned DNS cache and re-registers your records
  • Restarts the DNS Client service and resolves IPv6/IPv4 ordering conflicts

Best when "ping 8.8.8.8" works but "ping google.com" fails, or only some sites load.

📖

Main Troubleshooting Guide

How to Fix No Internet Connection

Complete symptoms, causes, and step-by-step solutions

Symptoms

You might be experiencing this problem if you notice:

  • Network troubleshooter reports "DNS server isn't responding" or "not responding"
  • Browser shows "This site can't be reached" / "DNS_PROBE_FINISHED_NXDOMAIN"
  • ping by IP (8.8.8.8) succeeds but ping by name (google.com) fails
  • Some websites load while others time out
  • nslookup returns "Request timed out" or "Server failed"
  • Sites that were just visited load (cached) but new ones do not
  • DNS works on other devices on the same network but not this PC
  • It started after changing routers, VPNs, or running a "speed booster" app

The defining test for a DNS problem: "ping 8.8.8.8" succeeds (so the connection is fine) but "ping google.com" fails (so name resolution is broken). If that matches, every fix below applies directly.

What RescuePC checks for DNS failures

RescuePC verifies each layer of name resolution and applies the standard fixes in order, so you do not have to test resolvers and edit adapter properties by hand.

  • Confirms the failure is DNS (name) and not connectivity (IP) with a reachability test
  • Sets reliable public DNS resolvers and removes a dead or hijacked DNS entry
  • Flushes and re-registers the DNS resolver cache
  • Verifies the DNS Client (Dnscache) service is running and set to start automatically
  • Checks for an IPv6 route that Windows prefers but cannot resolve through

This is most useful when only this PC has the problem, or when DNS fails intermittently after a VPN, router change, or optimizer app.

When These Fixes Resolve It

  • "ping 8.8.8.8" works but "ping google.com" fails
  • Only this PC has the problem while other devices resolve names fine
  • DNS broke after a VPN, optimizer app, or router change
  • Some sites load and others time out

Every one of these is a name-resolution fault on the PC or router — exactly what switching resolvers, flushing the cache, and restarting the DNS Client service repair.

When It Is Not Really DNS

A couple of look-alikes are not DNS problems:

  • Neither IP nor name pings work — that is a connectivity/IP problem, not DNS (see "No Internet")
  • Every device on the network fails identically — likely an ISP or router outage
  • Only one browser fails while others work — clear that browser's cache/extensions instead
If pinging 8.8.8.8 also fails, fix the connection first — DNS cannot work until basic IP connectivity is restored.

Common Causes

  • Your ISP's DNS resolver is down, overloaded, or slow to respond
  • A poisoned or stale DNS resolver cache returning bad answers
  • The DNS Client (Dnscache) service is stopped or set to manual
  • A VPN, "optimizer," or malware changed your DNS server to a dead address
  • A firewall or antivirus is blocking outbound DNS (port 53)
  • An IPv6 DNS route Windows prefers but cannot actually resolve through
  • A leftover entry in the Windows hosts file overriding specific domains
  • Router firmware that has stopped forwarding DNS correctly

Solutions

Solution 1: Switch to Reliable Public DNS

  1. 1Open Network Connections (ncpa.cpl) and right-click your active adapter > Properties
  2. 2Select Internet Protocol Version 4 (TCP/IPv4) > Properties
  3. 3Choose "Use the following DNS server addresses"
  4. 4Enter Preferred 1.1.1.1 and Alternate 8.8.8.8 (or 8.8.4.4)
  5. 5Click OK, then open Command Prompt and run: ipconfig /flushdns
  6. 6Test a site that was failing

Solution 2: Flush, Re-register, and Reset the Resolver

  1. 1Open Command Prompt as Administrator
  2. 2Run: ipconfig /flushdns
  3. 3Run: ipconfig /registerdns
  4. 4Run: netsh winsock reset
  5. 5Restart your computer and test

Solution 3: Restart the DNS Client Service

  1. 1Press Windows + R, type services.msc, press Enter
  2. 2Find "DNS Client" (Dnscache) in the list
  3. 3If it is stopped, right-click > Start; set Startup type to Automatic
  4. 4If the controls are greyed out, restart the PC after the flush above
  5. 5Verify with: nslookup google.com (you should get an address, not a timeout)

Solution 4: Disable Conflicting IPv6 and Check the Hosts File

  1. 1In your adapter Properties (ncpa.cpl), temporarily uncheck "Internet Protocol Version 6 (TCP/IPv6)" and click OK
  2. 2Test whether name resolution returns; if so, leave IPv6 off or set IPv6 DNS too
  3. 3Open Notepad as Administrator and open C:\Windows\System32\drivers\etc\hosts
  4. 4Remove any lines pointing real domains (e.g. google.com) to odd IPs, then save
  5. 5Run: ipconfig /flushdns and test

Solution 5: Rule Out Firewall, Antivirus, and the Router

  1. 1Temporarily disable third-party antivirus/firewall and test a failing site (re-enable immediately after)
  2. 2If that fixes it, add an exception for DNS rather than leaving protection off
  3. 3Log into your router and set its DNS to 1.1.1.1 / 8.8.8.8 so every device benefits
  4. 4Power-cycle the router (unplug 30 seconds) if DNS fails for all devices
  5. 5Re-test from this PC

Fix "DNS server not responding" — the exact commands

This error means Windows cannot reach a working DNS resolver. These commands (elevated) flush the cache, reset the stack, and switch you to a reliable public DNS. Replace "Wi-Fi" with your adapter name from "netsh interface show interface".

ipconfig /flushdns

Clears cached DNS lookups so Windows re-queries fresh records.

netsh winsock reset && netsh int ip reset

Resets the Winsock catalog and TCP/IP stack that a bad DNS state can corrupt. Reboot after.

netsh interface ipv4 set dnsservers "Wi-Fi" static 1.1.1.1 primary

Switches your DNS to Cloudflare 1.1.1.1 when your ISP resolver is the one failing.

netsh interface ipv4 add dnsservers "Wi-Fi" 8.8.8.8 index=2

Adds Google 8.8.8.8 as a backup resolver so a single DNS outage cannot take you offline.

Run "ipconfig /flushdns" once more after changing DNS, then reboot. RescuePC applies a known-good DNS profile automatically and restores your original settings if you undo the fix.

Narrow Down Your DNS Failure

Every name fails on this PC only

Likely cause: A bad DNS server entry or stopped DNS Client service

DNS fails for everyone on the network

Likely cause: The router's upstream (ISP) DNS is down — change DNS on the router

Only certain sites fail, others work

Likely cause: A poisoned cache entry or a hosts-file override

Broke right after installing a VPN or "optimizer"

Likely cause: The app changed your DNS or left a proxy behind

FIXES THIS IN 5 MINUTES

Fix DNS Server Not Responding Automatically

RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.

Download Now - Free Trial

No credit card required • Works on Windows 10 & 11

Repair Name Resolution, Not Just the Symptom

DNS failures masquerade as "no internet," but the fix is targeted and fast once you confirm it is name resolution.

  • IP pings but names fail = DNS, every time
  • Public resolvers + cache flush fix the large majority of cases
  • Service + IPv6 + hosts checks catch the stubborn ones
  • RescuePC verifies each layer so the right fix lands first

Related Error Codes

Browse More Network & Internet Guides

DNS Server Not Responding — FAQ

What does "DNS server not responding" actually mean?
It means your PC reached the network but the DNS server it was told to use never answered the request to translate a website name into an IP address. The fix is almost always to point Windows at a reliable public resolver (1.1.1.1 or 8.8.8.8), flush the cache, and make sure the DNS Client service is running.
Which DNS server should I use — 1.1.1.1 or 8.8.8.8?
Both are excellent. Cloudflare's 1.1.1.1 is typically the fastest and most privacy-focused; Google's 8.8.8.8 is extremely reliable. A common setup is Preferred 1.1.1.1 with Alternate 8.8.8.8, so if one is slow the other answers.
Is changing DNS safe?
Yes. DNS resolvers like 1.1.1.1 and 8.8.8.8 are public services run by Cloudflare and Google. Changing your DNS does not expose your data any more than your ISP's DNS does — often less — and you can revert to "Obtain DNS automatically" at any time.
Why does DNS work on my phone but not my PC?
Because the fault is specific to this PC: a bad DNS entry, a stopped DNS Client service, a poisoned cache, or an IPv6 conflict. The phone uses the router's DNS over a clean stack. Apply the per-PC fixes above and it will resolve again.
Could malware be redirecting my DNS?
Yes — some malware and "optimizer" apps set your DNS to a malicious server or add hosts-file overrides. If your DNS keeps reverting to an address you did not set, run a full Windows Security scan, check the hosts file, and reset DNS to automatic or a trusted public resolver.
Share this:XRedditLinkedInEmail