
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.
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:
- Check the URL for typos and try the bare domain in a new tab.
- Flush the DNS cache for your OS, see flush DNS on Windows, flush DNS on Mac, or flush DNS on Linux.
- Clear the browser host cache at
chrome://net-internals/#dns(oredge://net-internals/#dns), then Clear host cache and Flush socket pools. - Inspect the hosts file for a wrong or leftover line mapping that domain to an unreachable IP.
- Switch DNS servers to Cloudflare
1.1.1.1or Google8.8.8.8and retry. - 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:
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 ToggleHosts 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
Frequently Asked Questions
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.
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.
That domain likely has a bad hosts file line or a DNS record problem, while other sites resolve normally.
Yes. A custom domain mapped to an unreachable IP, or a leftover entry from old testing, can make a site fail to resolve.
Related Articles
Flush DNS on Mac: Command for Sequoia, Sonoma & Tahoe (2026)Flushing DNS & cache
Flush DNS on Mac: Command for Sequoia, Sonoma & Tahoe (2026)
6 min read
Complete Guide to /etc/hosts Syntax and FormatEditing the hosts file
Complete Guide to /etc/hosts Syntax and Format
9 min read
Fix getaddrinfo ENOTFOUND in Docker and Node.js with Hosts File (2026)Troubleshooting
Fix getaddrinfo ENOTFOUND in Docker and Node.js with Hosts File (2026)
3 min read