Sleezr
Buy Sleezr
DNSChrometroubleshootingNXDOMAINhosts file

Fix DNS_PROBE_FINISHED_NXDOMAIN (2026)

Fix DNS_PROBE_FINISHED_NXDOMAIN in Chrome and Edge: flush DNS, check the hosts file, reset DNS servers and clear the browser cache. Step-by-step solutions.

S

Sleezr Team

·3 min read
Fix DNS_PROBE_FINISHED_NXDOMAIN (2026)

DNS_PROBE_FINISHED_NXDOMAIN means the browser could not resolve the domain to an IP address. The DNS lookup returned "no such domain" (NXDOMAIN). The usual causes are a stale DNS cache, a wrong or leftover entry in your hosts file, a failing DNS server, or simply a typo in the URL. In most cases, flushing DNS and checking the hosts file fixes it in under a minute.

Fix DNS_PROBE_FINISHED_NXDOMAIN

Work through these steps in order; stop when the page loads:

1
Check the URL for typos and try the bare domain in a new tab.
2
Flush the DNS cache for your OS, see flush DNS on Windows, flush DNS on Mac, or flush DNS on Linux.
3
Clear the browser host cache at chrome://net-internals/#dns (or edge://net-internals/#dns), then Clear host cache and Flush socket pools.
4
Inspect the hosts file for a wrong or leftover line mapping that domain to an unreachable IP.
5
Switch DNS servers to Cloudflare 1.1.1.1 or Google 8.8.8.8 and retry.
6
Restart networking (toggle Wi-Fi, or reboot the router for ISP-level DNS issues).

Why NXDOMAIN happens: how the DNS lookup works

When you open a URL, your computer asks a DNS resolver to turn the domain into an IP address. The resolver runs a recursive lookup, querying the chain of authoritative nameservers for that domain until it finds an A record (IPv4) or AAAA record (IPv6). If no nameserver holds a record for the name, the lookup returns NXDOMAIN, "non-existent domain".

The most common reasons the lookup ends in NXDOMAIN:

  • The domain genuinely does not exist (a typo or an expired registration).
  • A new or recently moved domain has not finished DNS propagation, so your resolver still has no record, cached answers persist until their TTL expires.
  • A local override in your hosts file shadows the real domain with a broken mapping, so the resolver never reaches the authoritative nameserver.

When the hosts file is the cause

If only one custom domain (like myapp.test) shows NXDOMAIN, the hosts file is the prime suspect. Open it and confirm the line is valid:

TEXT
127.0.0.1 myapp.test

A line pointing to a wrong IP, a commented-out entry, or a malformed line (with http:// or a port) will cause resolution to fail. See the hosts file syntax guide and, on Mac, hosts file not working.

Verify the fix

TEXT
nslookup myapp.test

If the command line resolves correctly but the browser still shows NXDOMAIN, the browser cache is stale, repeat step 3.

Prevent it from recurring

Leftover testing entries are a frequent cause. A hosts manager like Sleezr lets you toggle entries off instead of deleting them and flushes DNS automatically, so old mappings never linger to trigger NXDOMAIN later.

_Last tested: June 2026 in Chrome 137 and Edge on Windows, macOS and Linux._

Sources and further reading

Also readFlush DNS on Mac
Also readhosts file syntax and format guide
Share this article

Frequently Asked Questions

What does DNS_PROBE_FINISHED_NXDOMAIN mean?

NXDOMAIN means the domain name could not be resolved to an IP address, the DNS lookup returned "no such domain". It can be a typo, a DNS server issue, a stale cache, or a wrong hosts file entry.

How do I fix DNS_PROBE_FINISHED_NXDOMAIN fast?

Flush the DNS cache, clear the browser host cache, and check the hosts file for a wrong or leftover entry. Then try a public resolver like 1.1.1.1.

Why does only one site show NXDOMAIN?

That domain likely has a bad hosts file line or a DNS record problem, while other sites resolve normally.

Can the hosts file cause NXDOMAIN?

Yes. A custom domain mapped to an unreachable IP, or a leftover entry from old testing, can make a site fail to resolve.

Can DNS propagation cause NXDOMAIN?

Yes. A new or recently moved domain may not have propagated to your DNS resolver yet, so it returns NXDOMAIN until the authoritative nameserver’s A record appears and the old cached answer’s TTL expires.

Related Articles

4 min read
hosts filetroubleshootingDNS

/etc/hosts Not Working? Fixes for Windows, Mac & Linux

The hosts file is ignored or /etc/hosts changes do not take effect? Fix it on Windows, Mac and Linux: flush DNS, check syntax, IPv6, line endings, resolver caches and save permissions.

S

Sleezr Team

Developer tools team

4 min read
localhosttroubleshootingERR_CONNECTION_REFUSED

Localhost Refused to Connect: How to Fix It

Fix "localhost refused to connect" (ERR_CONNECTION_REFUSED) in Chrome, on Windows, Mac, XAMPP and VS Code: check the server, the port, IPv6 vs IPv4, hosts file and firewall.

S

Sleezr Team

Developer tools team

2 min read
localhost127.0.0.1DNS

What Is localhost? A Clear Explanation

What is localhost? It is the hostname for your own computer, resolving to 127.0.0.1 (or ::1) via the hosts file. How it works, why it matters, and common issues.

S

Sleezr Team

Developer tools team

3 min read
WordPressDNSmigration

Test a WordPress Site Before DNS Propagation

Preview and test a WordPress site on a new server before DNS propagation using the hosts file. Map your real domain to the new IP, verify, then switch DNS safely.

S

Sleezr Team

Developer tools team