What a DNS error ("name not found") means, and how to fix it
Before your browser can open a website, it has to look up the address behind the name, like a phone book. That lookup is called DNS. When it fails, the browser never even reaches the site and shows a DNS error.
What the error looks like
- Chrome: "This site can't be reached" with
DNS_PROBE_FINISHED_NXDOMAINorERR_NAME_NOT_RESOLVED - Firefox: "Hmm. We're having trouble finding that site."
- Safari: "Safari can't find the server."
- Edge: "Hmm… can't reach this page" with the same codes as Chrome
- Apps: usually just "no connection" or "something went wrong", even when the rest of your internet works
DNS_PROBE_FINISHED_NO_INTERNET is different: that one means your device has no internet connection at all.
Is it you or the website?
First check the spelling of the address; a typo is the most common cause. Then look the site up on DownSonar.
If our page says the name does not lead anywhere, the website's DNS is broken for everyone. Common reasons are a domain that expired (its owner forgot to renew it) or name servers that are down. Only the site's owner can fix that.
If our check reaches the site fine, the lookup fails only on your side. That is usually your device, your router or your internet provider's DNS server, and you can fix it yourself.
How to fix it on your side
- Restart your router and device. It clears their saved lookups and fixes most cases.
- Clear your computer's DNS cache. Windows: run
ipconfig /flushdnsin Command Prompt. Mac: runsudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderin Terminal. Linux with systemd:resolvectl flush-caches. - Clear the browser's own cache. In Chrome, open
chrome://net-internals/#dnsand press "Clear host cache". - Phone or tablet: switch airplane mode on and off again.
- Use another DNS server. If your internet provider's DNS is down or blocks the site, set a public one in your network settings, for example Cloudflare (
1.1.1.1), Google (8.8.8.8) or Quad9 (9.9.9.9). - Switch off VPNs and security software for a moment. They often run their own DNS, and when that hangs, every name fails.
A site that just moved
When a website moves to a new server, the old address can stay saved in DNS caches for minutes to a day. During that time it works for some people and not for others. Clearing your cache as above usually helps; otherwise it fixes itself.
More guides
- Is a website down for everyone, or just you?A quick way to tell whether a website or app is down for everyone or only for you, and what to do in each case.
- Why is a website down for me but not for anyone else?Why a website or app can work for everyone else but not for you, and how to fix each cause: network, DNS, browser, VPN, location and account problems.
- Website error codes explained: what 500, 502, 503 and others meanWhat website error codes like 403, 404, 429, 500, 502, 503 and 504, timeouts and certificate errors mean, whose fault each one is, and what you can do.