How to Fix DNS_PROBE_FINISHED_NXDOMAIN Error
If you are frequent web surfing, encountering then the DNS_PROBE_FINISHED_NXDOMAIN error might sound familiar to you. It is one of the commonly occurring errors and may be prevalent across various domains. It sometimes refers to when your domain seems non-existent or the related IP address is not reachable. You can come across this error on any browser whenever the site you are trying to reach is not available.
There can be various reasons for this error to occur in the first place. Before getting into the causes and the ways to fix this error, we will learn more about DNS_PROBE_FINISHED_NXDOMAIN.
What is DNS_PROBE_FINISHED_XDOMAIN?
DNS (Domain Name System) helps direct the incoming traffic by connecting the domain names with the actual web servers. This domain name gets converted into the IP address to be understood by the computer. This error commonly occurs when there is a mistake within the configuration or any issue with the DNS. The actual problem occurs when you provide the URL, and the DNS will not be able to search the server with an appropriate IP address regarding that server. Whenever the DNS fails to explore, it results in an error called DNS_PROBE_FINISHED_NXDOMAIN, where NXDOMAIN represents the non-existent domain.
There is nothing to worry about as it is easy to fix it, and the solution comes in many ways suitable to you. Well, different browsers serve you with different ways of solving the problem. This error name is mostly for Google chrome, but that does not mean this error does not occur on other browsers. Different browsers show it as a different error message, as shown below:
Message Type Based on Different Browsers
Different Methods of Fixing the DNS_PROBE_FINISHED_NXDOMAIN Error
In the below article, we will get to know various ways to implement different solutions on the different operating systems. We will discuss the below-mentioned methods.
- Flushing the DNS Cache
- Releasing and Renewing the IP Address
- Changing the DNS Servers
- Restarting the DNS Client Service
- Checking the Local Hosts File
- Resetting the Chrome Flags
- Disabling the VPN or Antivirus
- Contacting Your Internet Provider
Method 1: Flushing the DNS Cache
DNS cache is a temporary file stored on your system that contains the IP address of the previously visited sites. One way is to clear that cache file to avoid the outdated IP address for the particular website. This solution may resolve your problem. You can follow the below steps available for the different OS to resolve the issue.
- Hit the start button and look for the command prompt. To make DNS cache changes, you have to log in as an administrator. So right-click the command prompt and log in as administrator.
- A command prompt terminal will open and run the below command.
- Click enter to complete the command and to clear the DNS cache. This method is viable for Windows operating systems.
Well, Ubuntu does not come with a DNS cache, so you have to install a DNS service to do that manually. Once you start storing the DNS cache, you can clear it up to resolve the problem using the below steps.
- Open the terminal window using ctrl+alt+T.
- Use the below command on the terminal to clear the DNS entries and hit enter.
sudo /etc/init.d/nscd restart
Method 2: Releasing and Renewing the IP Address
If applying the previous method did not work, you can use it to clear the cache, which is almost the same with some changes.
For Windows, open the command prompt with administrative rights again by right-clicking it. Then you can follow the below steps to clear the DNS entry.
- You can use the below command to release the current IP address.
- To display the full IP configs for all the adapter, run the below command.
- To reset the DNS cache, run the below command.
- The below command will renew the DNS setting for all adapters.
- Resetting the IP setting for already present IP.
netsh int ip set dns
netsh winsock reset
- Then restart the system
You can follow the below steps to release and renew the IP address.
- Navigate to System Preferences and select Network.
- Go for the internet connection and click the Advanced option.
- Go to the TCP/IP menu and click the Renew DHCP Lease option.
- Click OK to make the changes, and then restart your computer.
Method 3: Changing the DNS Servers Details
If none of the above-discussed methods work, you can try changing the system’s DNS server details on your system. By default, the computer uses the internet service provider for DNS. to resolve the issue, and you can change it to Google DNS or Open DNS.
Below are the steps to make DNS server changes on Windows.
- Navigate to the Control panel and look for the Network and Sharing center, as shown below.
- Go to the Change Adapter setting on the left side menu.
- Right-click the current connection and hit properties.
- Now select the Internet Protocol Version 4 (TCP/IPv4) option and hit the properties option.
- You can change the DNS server from the Preferred and alternate DNS server options under the General tab.
For Google DNS-
For Open DNS-
- Click OK after making the changes accordingly.
Follow the below steps to make DNS server changes.
- Go to the Apple icon and look for system preferences.
- Go to the Network and select the currency used internet connection and select the advanced option.
- Select the DNS tab, press the ‘+’ button, and provide the new DNS server details, either Google DNS or Open DNS, whose value will be the same as mentioned above.
- Click OK to apply the changes.
Method 4: Restarting the DNS Client Service
There are three different ways available to restart the DNS client service on the Windows OS.
Windows Command Prompt
- Open the command prompt with admin rights and run the below commands.
- Run the below command to Stop the DNS server.
net stop dnscache
The DNS Client service was stopped successfully.
- Now, start the DNS service again using the below command.
net start dnscache
The DNS Client service was started successfully.
Windows Service Manager
- Open the search bar from the Start menu and look for services.
- Select the ‘DNS client’ option from the list, as shown in the image below.
- To apply the changes, you can now restart the DNS client service.
Windows System Configuration
- Open Run, type msconfig, and enter.
- A new window will appear with all the services. Go for DNS client service.
- Disable the service by unclicking it.
- Click OK and then restart.
- Follow the first two steps again, recheck the service.
- Restart your system after making the changes.
Method 5: Checking the Local hosts’ File
A hosts' file is a file stored on your system locally that maps the IP addresses’ domain name. This file is always considered before visiting any website. If the file does not have any information for the website, it will search for the DNS system to load it. Make sure that the details are present there to avoid DNS issues.
- Open Notepad with administrative rights.
- Click fil and open.
- Now change the file filter to All Files.
- Copy the below address in the address bar to open the file.
- Open the hosts’ file from the folder.
- Remove the domain name and IP address of the visiting website and save changes.
- Open the terminal from the launchpad.
- You can run the below command to open Nano editor as administrator.
sudo nano /private/etc/hosts
- Enter the password for the admin account.
- You will be redirected to the hosts’ file.
- Remove the file details and save changes by clicking ctrl_O.
Method 6: Resetting the Chrome Flags
One solution is resetting the Google Chrome settings and the experimental features that were modified by mistake. Open the below link in Chrome.
A window will appear with all experimental features; click reset all on the upper right corner. Then close and start the browser again.
Method 7: Disabling the VPN or Antivirus
Though VPN and Antivirus ensure safety but might prevent you from accessing some websites. To resolve the issue, you can either turn off the active VPN or antivirus temporarily and roll back the changes if not required.
You can disable the Antivirus from the control panel and temporarily turn it off. To disable the VPN details on your system, you can follow the below steps.
- Go to Control Panel, then navigate to Network and Internet, then click Network Connections.
- Select the VPN accordingly and click Properties.
- Go to the Networking tab, click uninstall.
- Restart the system after making the changes.
Method 8: Contacting Your Internet Provider
This is one solution to avoid the issue, and you can try restarting your Internet router. Follow the below steps to ensure it:
- Unplug both your modem and router and wait for few seconds.
- Plug the modem and router back in and wait again for a few minutes.
- Check if the issue gets resolved.
If this does not work, you can call your internet provider to look into the issue.
DNS_PROBE_FINISHED_NXDOMAIN problem is prevalent and easy to fix. We have already discussed eight ways that help you to get rid of the problem. We have mentioned easy-going steps for each method that is easy to manage and handle. There is no need to go through every method if your issue gets resolved with any method. Once you get rid of the DNS problem, you can now access the particular website without issue.