Due to the distributed nature of the Internet, DNS errors are unsurprisingly common. They can happen regardless of which browser or device type you’re using.
In this guide we’ll explore what is DNS, why this error happens, and explore 3 possible solutions that work on macOS, Windows, iOS and Android.
In plain words, the Domain Name System (DNS) is how your browser is able to translate a domain name (eg. google.com
) into the IP-address of the nearest server that can reply to your request (eg. 123.123.123.123
).
As you might imagine, this system needs to handle a very large amount of requests every second. After all, every single device in the world is using it in one way or another to communicate over the Internet.
To handle its inherent global scale, the system is distributed across thousands of servers around the world. It’s a large network of DNS servers coordinating to resolve a given domain name into the correct IP-address for every publicly available website.
The DNS_PROBE_FINISHED_NXDOMAIN error means that your DNS setup failed to resolve the address you’re trying to open in your browser. The NXDOMAIN part refers to Non-Existent Domain, meaning there were issues finding the IP-address for the domain name you requested.
The DNS probe error as shown in Google Chrome.
Depending on your browser, you might also see a human friendly message shown, for example:
There’s several reasons why this error might happen, but let’s explore some of the most common:
Luckily, most of these situations can be fixed quickly and often even resolve on their own. For example, when your DNS cache is outdated, it’s often just a matter of waiting a couple of minutes or hours until the records expire and are automatically refreshed.
Below you’ll find three suggestions to fix this DNS error. The instructions have been tested on macOS, Windows 10, iOS and Android devices.
The specific DNS servers you are using can sometimes become unavailable, or cache outdated records. You can try a different DNS server, just make sure to use one that you trust.
Here’s a few popular ones:
1.1.1.1
and 1.0.0.1
8.8.8.8
and 8.8.4.4
208.67.222.222
and 208.67.220.220
How to change your DNS server depends on which operating system you’re using. Here’s the instructions for the most common ones:
dscacheutil -flushcache
and hit Return to execute the commandcmd
ipconfig /flushdns
The easiest way to clear out the DNS cache on iOS is to toggle Airplane mode on and off:
You can also reset your network settings in case that didn’t work for you:
Consumer and corporate VPNs often have DNS caches that keep records longer than necessary. This often interferes with your regular web browsing, and might be worth checking if this is causing the DNS error you’re experiencing.
Here’s instructions on how to temporarily disable a VPN service on your device:
As a website owner, it’s often difficult to understand if you’re often losing traffic due to DNS issues. Maybe the DNS servers you’re using are not as reliable as you might hope, or they’re misconfigured and causing issues for your end users.
At Cronitor, many of our customers requested we offer a way to monitor DNS issues on their websites. That’s why we added this feature as part of our Real User Monitoring solution.
DNS monitoring in Cronitor RUM.
In addition to real DNS measurements, Cronitor RUM gives you real-time insights about your site’s Page Load Time and Core Web Vitals.
That way you can understand how your websites performs under real world conditions, get alerted when something goes wrong, and quickly fix issues before they impact your business.
You can try it out for free and ensure you’re delivering a great experience on your website at all times.