HomeKnowledge BaseDNS_PROBE_FINISHED_NXDOMAIN
DNS Errors

How to Fix DNS_PROBE_FINISHED_NXDOMAIN

You type a URL, press Enter, and your browser returns "This site can't be reached" with the error DNS_PROBE_FINISHED_NXDOMAIN. This guide explains exactly what it means, why it happens, and how to fix it on every platform — Windows, macOS, Linux, iOS, and Android.

Also covers related errors: dns lookup failed, dns resolution failed, and dns probe finished nxdomain variants.

What Is DNS_PROBE_FINISHED_NXDOMAIN?

DNS_PROBE_FINISHED_NXDOMAIN is a Chrome-family browser error that appears when a DNS lookup failed — meaning your browser sent a request to a DNS server asking "what is the IP address for this domain?" and the server replied that the domain does not exist (NXDOMAIN = Non-Existent Domain).

The Domain Name System (DNS) works like the internet's address book. When you type example.com, your device queries a DNS resolver to translate that human-readable name into a numeric IP address like 93.184.216.34. If that translation — the dns resolution failed — the browser has nowhere to connect to and shows this error.

You may see this error displayed in slightly different ways depending on your browser and operating system:

Browser / OSError message shown
Chrome / ChromiumDNS_PROBE_FINISHED_NXDOMAIN
Chrome (alternate)This site can't be reached — dns probe finished nxdomain
EdgeHmm, can't reach this page — DNS_PROBE_FINISHED_NXDOMAIN
FirefoxServer Not Found
SafariSafari Can't Find the Server
Windows (system)DNS lookup failed
Linux / macOS terminalName or service not known
ℹ️The underlying cause is always the same regardless of which message you see: a dns resolution failed event where the DNS server returned NXDOMAIN (no such domain) or the query timed out entirely.

Root Causes

Before jumping to fixes, it helps to understand why a dns probe finished nxdomain error occurs. The cause determines the fastest path to resolution.

🗂️

Stale DNS cache

Your device cached an old or incorrect IP for the domain. The cache entry may point to an address that no longer exists.

🌐

Domain does not exist

The domain name was mistyped, has expired, or was never registered. The DNS server correctly returns NXDOMAIN.

⚙️

Wrong DNS server

Your network is configured to use a DNS resolver that is slow, filtered, or returning incorrect results.

🔒

Antivirus / firewall blocking

Security software intercepts DNS queries and blocks certain domains, causing a dns lookup failed response.

📄

Corrupted hosts file

Your local hosts file maps the domain to an invalid or unreachable IP, overriding DNS entirely.

📡

ISP DNS propagation lag

A recently changed DNS record has not yet propagated to your ISP's resolver. The old record has expired but the new one hasn't arrived.

🔄

IP lease conflict

An outdated DHCP lease is providing incorrect DNS server addresses to your device.

🧩

Browser DNS cache

Chrome and Edge maintain their own internal DNS cache separate from the OS, which can hold stale records.

💡Quick diagnosis: If the error affects every website → start with DNS server or network settings. If only one site → the domain may be down or expired. If only one device → flush that device's DNS cache first.
📡

Running a website? Monitor your DNS records automatically.

Alive24x7 checks your DNS records every minute from 13 global locations and alerts you the moment a record goes missing or changes unexpectedly.

Try Free

Quick Fixes to Try First

These three steps resolve the majority of how to fix dns probe finished nxdomain cases in under two minutes. Try them before diving into OS-specific steps.

1

Restart browser, device, and router

A full restart clears in-memory DNS caches on your browser, OS, and router simultaneously. Unplug your router for 30 seconds before reconnecting — this forces it to request a fresh DHCP lease and DNS configuration from your ISP.

2

Try a different browser

Chrome, Edge, and Brave each maintain their own DNS cache. If the site loads in Firefox or Safari, the issue is isolated to your primary browser's internal cache. Clear it via Settings → Privacy → Clear browsing data → Cached images and files.

3

Test on a different device or network

Load the URL on your phone using mobile data (not Wi-Fi). If it loads, the problem is with your local network or device configuration. If it fails everywhere, the domain itself may be down or expired — check with a tool like dnschecker.org.

Windows Fixes

All commands below require Command Prompt or PowerShell run as Administrator.

1. Flush the DNS cache

This is the most effective first step for a dns lookup failed error on Windows. It clears all cached DNS records and forces fresh lookups.

ipconfig /flushdns

You should see: "Successfully flushed the DNS Resolver Cache."

2. Release and renew IP address

ipconfig /release
ipconfig /renew

3. Reset Winsock and TCP/IP stack

Winsock corruption can cause persistent dns resolution failed errors even after flushing the cache.

netsh winsock reset
netsh int ip reset
ipconfig /flushdns
ipconfig /registerdns
⚠️Restart your computer after running these commands for the changes to take effect.

4. Change DNS server to Google or Cloudflare

Go to Settings → Network & Internet → Change adapter options → right-click your connection → Properties → select Internet Protocol Version 4 (TCP/IPv4)Properties → enter:

ProviderPrimary DNSSecondary DNS
Google DNS8.8.8.88.8.4.4
Cloudflare1.1.1.11.0.0.1
OpenDNS208.67.222.222208.67.220.220

5. Check and clean the hosts file

Open Notepad as Administrator and open C:\Windows\System32\drivers\etc\hosts. Remove any lines that reference the domain you're trying to reach.

💡Malware sometimes adds entries to the hosts file to redirect or block domains. If you see unexpected entries, remove them and save the file.

6. Clear Chrome's internal DNS cache

Chrome maintains its own DNS cache separate from Windows. Navigate to:

chrome://net-internals/#dns

Click Clear host cache, then also visit chrome://net-internals/#sockets and click Flush socket pools.

macOS Fixes

1. Flush DNS cache

Open Terminal and run the appropriate command for your macOS version:

# macOS Ventura, Sonoma, Sequoia (13+)
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

# macOS Monterey (12)
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

# macOS Big Sur (11)
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
ℹ️All modern macOS versions use the same command. Enter your admin password when prompted — no output means success.

2. Renew DHCP lease

Go to System Settings → Network → select your active connection → click DetailsTCP/IP tab → Renew DHCP Lease.

3. Change DNS server

In the same Details → DNS tab, click the + button and add 8.8.8.8 and 1.1.1.1. Remove any existing entries that look incorrect.

4. Check the hosts file

sudo nano /etc/hosts

Remove any lines referencing the affected domain. Press Ctrl+XYEnter to save.

Linux Fixes

DNS cache management on Linux depends on which resolver service your distribution uses. A dns lookup failed error typically manifests in the terminal as "Name or service not known".

1. Flush DNS cache

# systemd-resolved (Ubuntu 18.04+, Fedora, Arch)
sudo systemd-resolve --flush-caches
# Verify: sudo systemd-resolve --statistics | grep "Cache"

# nscd (older distros)
sudo systemctl restart nscd

# dnsmasq
sudo systemctl restart dnsmasq

2. Change DNS server

# Edit resolved.conf
sudo nano /etc/systemd/resolved.conf

# Add or update:
[Resolve]
DNS=8.8.8.8 1.1.1.1
FallbackDNS=8.8.4.4 1.0.0.1

# Restart the service
sudo systemctl restart systemd-resolved

3. Test DNS resolution directly

# Test with a specific DNS server
dig @8.8.8.8 example.com

# Or using nslookup
nslookup example.com 8.8.8.8
💡If dig @8.8.8.8 example.com returns a valid IP but your browser still fails, the issue is with your system's configured resolver, not the domain itself.

Mobile Fixes (iOS & Android)

iOS (iPhone / iPad)

  1. 1Toggle Airplane Mode on for 10 seconds, then off — this resets the network stack and clears the DNS cache.
  2. 2Go to Settings → Wi-Fi → tap your network → Configure DNS → Manual → add 8.8.8.8 and 1.1.1.1.
  3. 3Settings → General → Transfer or Reset iPhone → Reset → Reset Network Settings (this also removes saved Wi-Fi passwords).
  4. 4If using Safari, clear the cache: Settings → Safari → Clear History and Website Data.

Android

  1. 1Toggle Airplane Mode on and off to reset the network connection and flush the DNS cache.
  2. 2Settings → Network & Internet → Wi-Fi → long-press your network → Modify network → Advanced → IP settings: Static → enter DNS 1: 8.8.8.8 and DNS 2: 1.1.1.1.
  3. 3In Chrome, navigate to chrome://net-internals/#dns and tap Clear host cache.
  4. 4Settings → System → Reset options → Reset Wi-Fi, mobile & Bluetooth (last resort — removes all saved networks).

Advanced Fixes for Persistent Issues

Disable VPN or proxy

VPNs route DNS queries through their own resolvers. If the VPN's DNS server is misconfigured or the VPN is blocking the domain, you'll see a dns probe finished nxdomain error. Temporarily disable the VPN and test. If the site loads, contact your VPN provider or configure it to use a custom DNS.

Disable antivirus DNS filtering

Products like Avast, Kaspersky, and Norton intercept DNS queries for their "web shield" features. Temporarily disabling the web shield (not the full antivirus) can confirm if it's the cause. If it is, add the domain to the antivirus whitelist rather than leaving the shield off permanently.

Check if the domain has expired

If you own the domain, log into your registrar and verify the expiry date. An expired domain returns a genuine NXDOMAIN response — no amount of cache flushing will fix it until the domain is renewed.

# Check domain registration status
whois example.com | grep -i "expir"

# Or use dig to query authoritative nameservers
dig +trace example.com

Verify DNS propagation

If you recently updated DNS records, propagation can take up to 48 hours. Use a tool like dnschecker.org to see which regions have received the new records. In the meantime, you can manually override DNS on your device by adding the correct IP to your hosts file.

Reset Chrome flags

Experimental Chrome flags can interfere with DNS resolution. Navigate to chrome://flags and click Reset all, then restart the browser.

Prevention & Monitoring

Most dns resolution failed errors are reactive — you only find out when a user reports it. The better approach is proactive monitoring so you know before your users do.

🔄

Use a reliable DNS provider

Switch from your ISP's default DNS to Google (8.8.8.8) or Cloudflare (1.1.1.1). Both offer 99.99%+ uptime and faster resolution times globally.

📋

Audit DNS records regularly

Review your A, CNAME, MX, and TXT records quarterly. Stale or incorrect records are a common cause of intermittent dns lookup failed errors.

🔔

Set domain expiry reminders

Enable auto-renewal on your domain registrar and set calendar reminders 60 and 30 days before expiry. A lapsed domain causes immediate NXDOMAIN for all visitors.

📡

Monitor DNS records 24/7

Use an uptime monitor with DNS monitoring capability to detect record changes or failures the moment they happen — not hours later when users complain.

🛡️

Never be the last to know about a DNS failure

Alive24x7 monitors your DNS records from 13 global locations every minute. The moment a record goes missing, changes unexpectedly, or stops resolving, you get an instant alert — before your visitors see the dns probe finished nxdomain error.

Frequently Asked Questions

Related Articles