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.
Sleezr Team

Table of Contents
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:
chrome://net-internals/#dns (or edge://net-internals/#dns), then Clear host cache and Flush socket pools.1.1.1.1 or Google 8.8.8.8 and retry.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:
127.0.0.1 myapp.testA 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
nslookup myapp.testIf 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
- How DNS works (Cloudflare Learning)
- The hosts file explained (Wikipedia)
- hosts(5) manual page (man7.org)
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
/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.
Sleezr Team
Developer tools team
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.
Sleezr Team
Developer tools team
Which TLD to Use for Local Development (.test vs .localhost)
Which TLD to use for local development: prefer .test, avoid .dev and .local. Why .test is reserved, how to map it in the hosts file, and HTTPS tips.
Sleezr Team
Developer tools team
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.
Sleezr Team
Developer tools team
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.
Sleezr Team
Developer tools team