Recently I was trying to access a website via Google Chrome, but unfortunately, the connection wasn’t being established. Rather, I was being greeted with the dns_probe_finished_nxdomain error message. Upon inspecting it further, I found out that the issue was with the DNS and IP address lookup.
Domain Name Server’s role is to translate the website name into a numerical IP Address. For the end-users, typing an IP such as 192.168.0.1 instead of www.example.com would always be a tough job. However, the web still wants the numeric address for each website, rather than their plain-text format.
So when you type in a URL, the request goes to the DNS which then looks up the associated URL’s IP Address in its record and sends it back to the server. The server will then take this request forward and hence the desired connection is then established.
But if there is any issue in the entire process, the browser will throw up a DNS-related error, one among which is the NXDOMAIN.
Short form for the non-existent domain, shows up when the DNS is unable to find the associated IP Address in its record book corresponding to a particular URL.
So how could a user fix this underlying issue? Well, this is where this guide shall help you out.
The Basic Fixes
Before moving over to the slightly advanced ones, let’s try out a few basic fixes that are usually known to spell out success. Follow along:
Re-check the URL
If you have entered an incorrect URL, then the DNS wouldn’t be able to get hold of its associated IP Address and hence would display the aforementioned error. Therefore, reverify that there’s no typing error.
Disable Chrome Flags
Chrome Flags are experimental in nature and are used to test beta features before their final release. These flags encompass a broad domain and some are directed exclusively towards the network.
So if you have enabled any such network-related flag, then try reverting them to their original state from the chrome://flags page. Most probably the Default status.
Related: 7+ Best Google Chrome Flags to Try!
Release and Renew Your IP Address
Issues with the IP Address could well be the reason behind this DNS error as well. In this regard, you could release your current IP Address, delete all the cache that it left behind and then ask for a new IP Address from DHCP to be assigned to your system.
Here are the steps to Release and Renew IP Address in Windows OS:
- Head over to the Start menu,
- Search for cmd, and launch it as an Administrator.
- Execute the following three commands, one after the other:
ipconfig/release ipconfig/flushdns ipconfig/renew
The first command will release the currently assigned IP, the second one will flush the DNS Cache of that address and the third and final command will replace it with a new IP Address.
Once all the three commands are executed, restart your PC and see if it gives out any favorable results or not.
Windows Socket is a term given to the data stored on your PC that is responsible for establishing a successful connection between an app/software and the network.
Sometimes, you might have come across issues when the WiFi is running well, but a particular device is still not able to access the internet. In such cases, the issue is usually with the Winsock and the best bet is to reset it.
Here are the steps to Reset Windows Socket or Winsock:
- Launch Command Prompt as an Administrator.
- Type in the below command in the prompt window:
netsh winsock reset
- Hit on keyboard button.
There isn’t any major issue with resetting Winsock but make sure that you don’t make it a habit of fixing network issues via this tweak. This is because if this need arises in a regular manner, then there might be some other (major) issues with your PC’s Network Adapter that needs troubleshooting.
Change DNS Servers
The DNS servers that you are currently using are assigned by your Internet Service Providers. However, they aren’t fixed and you could redirect them to any other servers as well.
Here are the steps to Change DNS Server Address in Windows:
- Launch the Control Panel from the Start menu.
- Open the Network and Sharing Center.
- Click on Change Adapter Settings from the left menu bar.
- Right-click on the network to which you are currently connected, and select Properties.
- Scroll and select Internet Protocol Version 4 (TPC/IPv4), and click
- Select Use the following DNS server addresses radio button.
- Enter follow Google DNS addresses:
Preferred DNS server: 18.104.22.168
Alternative DNS Server: 22.214.171.124
- Hit on to save the changes.
Now try accessing the website and check if the DNS_PROBE_FINISHED_NXDOMAIN issue has been rectified or not.
If you instead prefer to go for Cloudflare DNS, then replace the Preferred and Alternate DNS by 126.96.36.199 and 188.8.131.52 respectively.
Check the Host File
A Host file is used to map a connection between the web address and its IP Address. However, it could also be used to block a specific website from being accessed.
This is usually done by assigning it a loopback IP address (such as 127.0.0.1). So you should check the host file and verify that the concerned site is not blacked out.
Here are steps to check Host File in Windows:
- Launch the File Explorer, and head over to the below location:
- You should find a host file, open it using the Notepad app.
- Scroll to the end, and check if there is a mention of your site along with the localhost address – 127.0.0.1.
- Delete any blocking entries, and save the file with + keypress.
Now try accessing the site, and the issue should have been fixed after unblocking the site URL.
Bottom Line: Fix NXDOMAIN error in Chrome
So this was all from this guide on how to fix the error This site can’t be reached due to DNS_PROBE_FINISHED_NXDOMAIN in Chrome. We have shared a total of six different fixes – two basic ones and four along the lines of slightly advanced fixes.
In my case, flushing the DNS did the trick. There had been a lot of temporary data related to my current IP address accrued over the course of time. So deleting them and then letting the DHCP assign a new IP address worked out.
With that said, do let us know in the comments section which one spelled out success for you in fixing the DNS_PROBE_FINISHED_NXDOMAIN error.
Lastly, here are the recommended web browsers for your computer and mobile phone that you should give a try.
|Chrome Windows||Chrome Mac||Chrome iOS||Chrome Android||Firefox Linux|
|Firefox Windows||Safari Mac||Safari iOS||Edge Android||Chrome Linux|
|Edge Windows||Firefox Mac||Edge iOS||Samsung Internet||Edge Linux|
If you've any thoughts on How to Fix: DNS_PROBE_FINISHED_NXDOMAIN in Chrome?, then feel free to drop in below comment box. If you find this article helpful, please consider sharing it with your network.
Also, please subscribe to our BrowserHow YouTube channel for helpful videos tutorials.