Resolve DNS_PROBE_FINISHED_NXDOMAIN in Linux

people

Aneh Thakur

. 2 min read

Last updated on March 23rd, 2020 at 05:46 pm

In this post, I will explain to you how we can fix the dns_probe_finished_nxdomain error for our website. This is a very common error which occurs sometimes when we try to access our website. This error is really very frustrating when it occurs suddenly and you are unable to access your site.

If you get this error when you browse your website don’t worry this post help you to fix this with simple working steps. Here are some steps which work in most browsers like chrome and firefox etc.

What is DNS

DNS is Domain Name System, It is like an internet phone book. that is easy to remember like – trinitytuts.com. Whenever we type Domain and hit enter for example, When user type trinitytut.com in the address bar and hit enter then in the backend DNS translates it into a computer-friendly server IP address.


What is DNS_PROBE_FINISHED_NXDOMAIN

DNS_PROBE_FINISHED_NXDOMAIN is an error that notifies about DNS lookup failure. This error occurs due to misconfiguration or problem with your DNS. Due to this error, you are not able to access your site you see this error whenever you try “This site can’t be reached” or “This site is not available“.

Learn how to fix Linux DNS Probe finished issue in simple steps.

How to fix DNS_PROBE_FINISHED_NXDOMAIN

You can try below solution to fix DNS_PROBE_FINISHED_NXDOMAIN issues.

  1. Release and Renew IP Address
  2. Restart DNS Client Service
  3. Change DNS Servers
  4. Reset Your Browser
  5. Disable VPN and Antivirus Temporarily

1. Release and Renew IP Address

You can flush your local DNS cache and also try to clear your browser cache.

In Window open command prompt enter these commands ipconfig /release after this ipconfig /flushdns this command will flush all DNS cache. And after this type ipconfig /renew to renew your IP address.


In Mac open a terminal and enter this command dscacheutil -flushcache.

2. Restart DNS Client Service –

In Window press Windows + R then type servcies.msc hit enter then search for DNS client right-click on it select stop or start to enable/Disable the service.

3. Change DNS Servers – 

In Window, you can follow the below steps to change DNS Server.

→ Go to the Control Panel

→ Click on Network and Internet

→ Click on Network and Sharing Center

→ Go to Change Adapter Settings.

→ You’ll see some network icons here. Select the network you’re currently connected to and right-click on it. Select Properties.

→ Click on IPv4 and select Properties.

→ If “Obtain DNS server address automatically” is selected, click the radio button next to “Use the following DNS server addresses:”

→ Now enter the DNS addresses you want to use.

→ Click on Ok and Close.

In Mac, you can change DNS servers using the below steps

→ Go to System Preferences

→ Click on the Network icon and then click Advanced after that click on DNS tab then add DNS server Address

For IPv4: 1.1.1.1 and 1.0.0.1

For IPv6: 2606:4700:4700::1111 and 2606:4700:4700::1001

In Linux, you can follow the below steps.

→ Open a terminal and add below command

sudo nano /etc/dhcp/dhclient.conf

→ Now add below line in the file 

supersede domain-name-servers 8.8.8.8;

→ Save the file and restart the network.

sudo service network-manager restart

Refresh your page and done.

4. Reset Your Browser

– You can reset your browser from browser setting sometimes also help full.

5. Disable VPN and Antivirus Temporarily

Some time Antivirus and VPN overwrite network settings due to which you may get this error you can disable your antivirus or VPN temporary and try loading your website.

I hope this post helps you to fix DNS_PROBE_FINISHED_NXDOMAIN issue in your browser.


More Stories from

Aneh Thakur
Aneh Thakur.3 min read

Get Started with TypeScript: A Beginner's Guide with Code Samples

TypeScript is a popular, powerful programming language that is a superset of JavaScript. If you're new to TypeScript, this beginner's guide is the perfect place to start. With clear explanations and code samples, you'll learn the basics of TypeScript and

.
Get Started with TypeScript: A Beginner's Guide with Code Samples
Aneh Thakur
Aneh Thakur.2 min read

TypeScript vs TSX: Understanding the Differences

This article delves into the key differences between TypeScript and TSX, two programming languages used for developing complex web applications. From syntax and static typing to React integration and code organization, learn which language is best suited

.
TypeScript vs TSX: Understanding the Differences
Aneh Thakur
Aneh Thakur.2 min read

Learn about the different types of React hooks with code examples

React hooks are a powerful feature that allow you to use state and other React features inside functional components. In this tutorial, you will learn about the different types of hooks available in React, and see code examples of how to use them in your

.
Learn about the different types of React hooks with code examples
Aneh Thakur
Aneh Thakur.2 min read

A step-by-step guide to deploying a ReactJS app online

Learn how to deploy your ReactJS app to the internet with this comprehensive tutorial. From setting up a hosting platform to building and uploading your code, we'll cover all the steps you need to take to get your app live. Whether you're a beginner or an

.
A step-by-step guide to deploying a ReactJS app online
Aneh Thakur
Aneh Thakur.3 min read

What is React context API?

React Context is a way to share values that are considered "global" for a tree of React components, such as the current authenticated user, theme, or preferred language. It allows you to avoid prop drilling, or the passing of props through multiple levels

.
What is React context API?
Built on Koows