DNS Server Not Responding? 8 Fixes for Windows, Mac, and Mobile (2026)

by Tommy N. Updated Apr 12, 2026

DNS Server Not Responding Fix

When you see "DNS server not responding" or "DNS_PROBE_FINISHED_NXDOMAIN," it means your device cannot translate website names (like google.com) into IP addresses. Without DNS, your browser has no idea where to send your request—even though your internet connection might be perfectly fine. This is one of the most common and most confusing internet errors because your WiFi shows "connected" but nothing loads.

This guide explains what DNS is, why it fails, and gives you 8 proven fixes for every operating system.

Key Takeaways
  • DNS translates domain names (google.com) into IP addresses (142.250.80.46) so your browser can connect.
  • The error means DNS lookup is failing, not necessarily that your internet connection is down.
  • Switching to Google DNS (8.8.8.8) or Cloudflare DNS (1.1.1.1) fixes the problem immediately in most cases.
  • Flushing the DNS cache resolves stale or corrupted entries.
  • ISP DNS servers go down occasionally—public DNS providers are more reliable.

What Is DNS and Why Does It Stop Responding?

DNS (Domain Name System) works like a phone book for the internet. When you type "youtube.com" in your browser, your device asks a DNS server "What IP address does youtube.com point to?" The DNS server responds with the correct IP, and your browser connects.

When the DNS server is not responding, this translation cannot happen, and your browser shows an error even though your WiFi connection is active.

CauseAffectsFix
ISP DNS server is downAll devicesSwitch to public DNS
Corrupted DNS cacheOne deviceFlush DNS cache
Wrong DNS configurationOne deviceReset DNS settings
Router DNS relay issueAll devicesRestart router or set DNS on router
Firewall blocking DNSOne deviceCheck firewall/antivirus settings
VPN DNS leak or conflictOne deviceDisable VPN temporarily

Fix 1: Switch to a Public DNS Server

This is the most effective fix. Your ISP's DNS server may be slow, overloaded, or down. Switching to a public DNS immediately resolves the issue.

Windows 11

  1. Open Settings → Network & Internet → WiFi → Hardware properties.
  2. Click Edit next to DNS server assignment.
  3. Set to Manual, enable IPv4.
  4. Preferred DNS: 1.1.1.1
  5. Alternate DNS: 8.8.8.8
  6. Click Save.

Windows (Command Line)

netsh interface ip set dns name="Wi-Fi" static 1.1.1.1
netsh interface ip add dns name="Wi-Fi" 8.8.8.8 index=2

macOS

  1. Open System Settings → Network → WiFi → Details → DNS.
  2. Click + and add 1.1.1.1 and 8.8.8.8.

iPhone

  1. Settings → WiFi → tap i next to your network.
  2. Tap Configure DNS → Manual.
  3. Delete existing servers, add 1.1.1.1 and 8.8.8.8.

Android

  1. Settings → Network → WiFi → long-press your network → Modify.
  2. Show advanced options → IP settings: Static.
  3. DNS 1: 1.1.1.1, DNS 2: 8.8.8.8.
DNS ProviderPrimarySecondaryFocus
Cloudflare1.1.1.11.0.0.1Fastest resolution, privacy-focused
Google8.8.8.88.8.4.4Extremely reliable, global network
Quad99.9.9.9149.112.112.112Blocks malicious domains automatically
OpenDNS208.67.222.222208.67.220.220Family filtering options

Fix 2: Flush Your DNS Cache

Your device caches DNS lookups to speed up browsing. If a cached entry becomes corrupted or outdated, it can prevent connections to specific sites or all sites.

Windows

ipconfig /flushdns

macOS

sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder

Chrome Browser (all platforms)

Type chrome://net-internals/#dns in the address bar and click Clear host cache.

Fix 3: Restart Your Router

Your router acts as a DNS relay, forwarding DNS requests from your devices to the ISP's DNS server. If the router's DNS cache or relay process hangs, all devices lose DNS. Power-cycle the router (unplug 30 seconds, plug back in) to clear the issue.

Fix 4: Disable Your Firewall or Antivirus Temporarily

Some security software blocks DNS traffic on non-standard ports or interferes with DNS resolution. Temporarily disable your firewall/antivirus to test:

  • Windows Defender Firewall: Settings → Privacy & Security → Windows Security → Firewall → turn off for Private network.
  • Third-party antivirus: Right-click the tray icon → Disable for 10 minutes.

If DNS works with the firewall disabled, add an exception for DNS (UDP port 53) rather than leaving the firewall off.

Fix 5: Disable IPv6

IPv6 DNS resolution can conflict with IPv4 on some networks. Temporarily disabling IPv6 often resolves stubborn DNS issues.

Windows

netsh interface teredo set state disabled
netsh interface ipv6 set dns name="Wi-Fi" static ::1

Or: Network & Internet → WiFi → Properties → uncheck Internet Protocol Version 6.

Fix 6: Reset Network Settings

A full network reset clears all custom DNS configurations, cached data, and network profiles:

  • Windows: Settings → Network → Advanced → Network reset
  • iPhone: Settings → General → Reset → Reset Network Settings
  • Android: Settings → System → Reset → Reset WiFi, mobile & Bluetooth

Fix 7: Set DNS on the Router (Network-Wide Fix)

Instead of changing DNS on each device, configure it once on the router so all devices benefit:

  1. Log in to your router at the admin panel.
  2. Find Internet or WAN settings.
  3. Set DNS to 1.1.1.1 and 8.8.8.8.
  4. Save and reboot the router.

Fix 8: Check for Malware

Some malware modifies DNS settings to redirect your traffic through malicious servers. If your DNS settings keep changing back after you fix them, run a full malware scan:

:: Windows - run Windows Defender full scan
MpCmdRun -Scan -ScanType 2
Pro Tip: If you frequently experience DNS issues with your ISP, permanently switch to Cloudflare DNS (1.1.1.1) at the router level. Cloudflare operates the fastest DNS network globally with a strong privacy policy. Your ISP's DNS servers are almost always slower and less reliable.

Frequently Asked Questions

What does "DNS server not responding" actually mean?

It means your device sent a DNS query (e.g., "what is the IP for google.com?") to the configured DNS server, and no response came back within the timeout period. This could be because the DNS server is down, your connection to it is blocked, or the DNS settings on your device are misconfigured.

Is it safe to change my DNS server?

Yes. DNS is a standard protocol, and you can use any public DNS server. Cloudflare (1.1.1.1) and Google (8.8.8.8) are operated by major tech companies with strong uptime and privacy commitments. Switching DNS does not affect your ISP service or billing.

Why does the DNS error only happen on one device?

Per-device DNS issues are usually caused by a corrupted DNS cache, wrong DNS configuration, or security software on that specific device. Flush the DNS cache and check DNS settings on the affected device.

Can a bad DNS server make my internet slow?

Yes. Slow DNS lookups add delay to every new website you visit. While it does not affect ongoing downloads or streaming (those are already resolved), slow DNS makes browsing feel sluggish. Switching to Cloudflare or Google DNS can noticeably improve perceived speed.

Does changing DNS affect my privacy?

Your DNS provider can see which websites you visit (domain names only, not page content). Using your ISP's DNS means they see your browsing. Cloudflare claims to not log personally identifiable queries. Google logs queries but anonymizes them. For maximum privacy, use DNS over HTTPS (DoH) or DNS over TLS (DoT).

Why does the DNS error happen after waking from sleep?

When your computer sleeps, the network adapter shuts down. On wake, it sometimes fails to properly restore DNS settings or reconnect to the DHCP server. Flushing DNS and renewing the DHCP lease usually resolves this. Disabling WiFi power management also helps prevent it.

About Tommy N.

Tommy is the founder of RouterHax and a network engineer with 10+ years of experience in home and enterprise networking. He specializes in router configuration, WiFi optimization, and network security. When not writing guides, he's testing the latest mesh WiFi systems and helping readers troubleshoot their home networks.

Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.

Once done, hit any button as below