DNS_PROBE_FINISHED_NXDOMAIN: what it means and how to fix it
One test tells you whether the problem is the website or your computer. Then the fixes, in the order worth trying.
Chrome, Edge and other Chromium browsers show DNS_PROBE_FINISHED_NXDOMAIN (often with "This site can't be reached" and "server IP address could not be found") when they ask a DNS server for a website's address and the answer comes back as NXDOMAIN: "no such domain". It is not a timeout or a lost connection. A server answered, and the answer was that the name does not exist. That narrows things down a lot, because only a few things can produce that answer.
The one test that splits the problem
Ask a public DNS server directly, bypassing whatever your computer and router normally use:
nslookup www.example.co.uk
nslookup www.example.co.uk 1.1.1.1
nslookup www.example.co.uk 8.8.8.8Resolve-DnsName www.example.co.uk
Resolve-DnsName www.example.co.uk -Server 1.1.1.1dig www.example.co.uk +short
dig @1.1.1.1 www.example.co.uk +shortReplace the example with the site you are trying to reach. Then read the result:
- Public servers also say it does not exist (Non-existent domain in nslookup,
status: NXDOMAINin full dig output): the problem is the name, not you. Check the spelling. Otherwise the domain may have expired, or its owner has broken its DNS. Nothing on your computer will fix it; try again later or contact the site another way. - Public servers return an address but your normal lookup does not: the problem is on your side. Work through the fixes below.
The nslookup and dig reference explains how to read the output in full.
Fixes when the problem is on your side
1. Flush the caches
A recent failure can be remembered as a "negative" answer. Clear the operating system cache, then the browser's own:
ipconfig /flushdnssudo dscacheutil -flushcache; sudo killall -HUP mDNSRespondersudo resolvectl flush-cachesIn Chrome go to chrome://net-internals/#dns and click Clear host cache (in Edge, edge://net-internals/#dns). The flush DNS guide covers every macOS version and other Linux resolvers.
2. Check the hosts file
The hosts file is read before DNS, and ad blockers, old development projects and some malware add entries to it. An entry that points a name at a dead address usually gives a different error, but it is worth a ten-second look:
type C:\Windows\System32\drivers\etc\hostscat /etc/hostsLines starting with # are comments. Anything else mentioning the site you cannot reach should be removed (edit the file as administrator, or with sudo).
3. Is something filtering your DNS?
Some DNS services answer NXDOMAIN on purpose for names on a block list. That includes Pi-hole and similar ad blockers, parental controls and "safe browsing" options on ISP routers, and filtering DNS services. If the one test above showed public resolvers working, look at what DNS server you are actually using:
ipconfig /all | findstr /c:"DNS Servers"If it is your router's address, the filtering may be in the router's settings or your provider's account settings. If it is a Pi-hole or similar, check its query log for the blocked name.
4. Check the browser's Secure DNS setting
Chrome and Edge can send DNS lookups over HTTPS to a provider of their own, ignoring the operating system's DNS. If that provider filters or fails, you can get NXDOMAIN in the browser while nslookup works fine. In Chrome open Settings › Privacy and security › Security and look at Use secure DNS. Try switching it off, or to a different provider, and reload the page.
5. Change the DNS server
If your router or provider's DNS server is giving wrong answers, point your computer (or better, the router, so every device benefits) at a public resolver instead. The change DNS servers guide has the steps for Windows, macOS, Linux, phones and routers.
6. Is it an internal name?
Work intranets and some company systems use names that only exist on the company's own DNS servers. From home they correctly return NXDOMAIN unless the work VPN is connected. If the address ends in something like .local, .corp or a company-internal domain, connect the VPN first.
What will not help
Many articles about this error recommend netsh winsock reset, ipconfig /release and /renew, or reinstalling network drivers. Those fix connection problems, and NXDOMAIN is not a connection problem: your computer reached a DNS server and got an answer back. They only help in the rare case where renewing hands you a different DNS server. Save them for when ping 1.1.1.1 fails too, and follow the no internet checklist instead.
Related Chrome DNS errors
| Error | What it usually means |
|---|---|
DNS_PROBE_FINISHED_NXDOMAIN | A DNS server said the name does not exist. This article. |
DNS_PROBE_FINISHED_NO_INTERNET | The lookup failed because there was no working network connection. |
DNS_PROBE_FINISHED_BAD_CONFIG | The computer's DNS configuration could not be used, for example no reachable DNS server. |
ERR_NAME_NOT_RESOLVED | The generic "could not resolve the name" error; check it with the same nslookup test. |
For DNS problems in general, including "can ping an IP address but not a name", see the DNS section of the troubleshooting playbook.
More from the blog
- netsh wlan show networks mode=bssid: see every Wi-Fi access point (and the location fix)
- tracert vs pathping: what is the difference and which should you use?
- No internet but Wi-Fi connected: what to check, in order
- How to find which device is using your bandwidth
- IP address conflict on Windows: find the other device and fix it for good
- How to set a static IP address on Windows 11 (Settings, netsh and PowerShell)
- Home router admin page: how to find the address and log in