The DNS_PROBE_FINISHED_NXDOMAIN error indicates a failure in resolving a website’s IP address through the Domain Name System (DNS).
In this article, we will explore the causes of this error and provide practical solutions to fix it, ensuring a smoother internet browsing experience.
- DNS_PROBE_FINISHED_NXDOMAIN is an error that occurs when the DNS can’t resolve a domain name into an IP address
- This error occurs as a result of internet connection problems, Firewall issues, DDoS attacks, and more
- Fixing this error can be as easy as restarting your PC to needing to restart your DNS client service or needing to change DNS servers
What Is DNS_PROBE_FINISHED_NXDOMAIN?
The DNS_PROBE_FINISHED_NXDOMAIN error is a common issue that occurs when the DNS fails to resolve a domain name into an IP address.
The DNS is crucial for directing internet traffic, as it connects domain names with their corresponding web servers. When DNS can’t successfully perform this task, this error occurs, indicating that the domain is non-existent (NXDOMAIN.)
This problem can occur due to internet connection issues, firewall blocking access, DNS misconfiguration, unresponsive servers, and more.
Error Code | DNS_PROBE_FINISHED_NXDOMAIN |
Error Type | DNS error |
Error Variations |
|
Error Causes |
|
How DNS_PROBE_FINISHED_NXDOMAIN Error Looks in Different Browsers
The DNS_PROBE_FINISHED_NXDOMAIN error appears differently in various web browsers. Here’s how it typically looks in the most common browsers.
DNS_PROBE_FINISHED_NXDOMAIN Problem in Chrome
In Google Chrome, this error usually shows a message stating “This site can’t be reached†followed by “DNS_PROBE_FINISHED_NXDOMAINâ€.
DNS_PROBE_FINISHED_NXDOMAIN in Mozilla Firefox
Firefox displays a more general error page, often with a message like “Hmm. We’re having trouble finding that site†or a similar indication that the DNS resolution failed.
DNS_PROBE_FINISHED_NXDOMAIN in Microsoft Edge
Similar to Chrome and Firefox, Edge may show a message like “Hmmm… can’t reach this page†alongside the technical error code.
DNS_PROBE_FINISHED_NXDOMAIN in Safari
For Safari users on Apple devices, the error typically appears as “Safari Can’t Find the Serverâ€, indicating a DNS resolution issue.
Main Causes of the DNS_PROBE_FINISHED_NXDOMAIN Error
The DNS_PROBE_FINISHED_NXDOMAIN error can be attributed to several key causes:
- Expired Domain Name: If a website’s domain name has expired and not been renewed, it cannot be resolved by DNS servers, leading to this error. It’s essential for domain owners to keep track of renewal dates to avoid this issue.
- DNS Cache: Sometimes, your device’s DNS cache might hold outdated or incorrect information about a domain, causing resolution errors. Clearing the DNS cache can often resolve this issue.
- DNS Gaps and Settings Misconfiguration: Incorrect DNS settings or gaps in the DNS configuration, either on your local network or at your ISP, can prevent proper domain name resolution. This misconfiguration could stem from incorrect DNS server addresses or other related settings.
- Distributed Denial of Service (DDoS) Attacks: In rare cases, a DDoS attack targeting a specific domain or DNS server can disrupt normal DNS operations, leading to this error. DDoS attacks flood the server with traffic, making it unable to respond to legitimate DNS queries.
Other Common Causes
- Internet Connection Problems: A simple yet common cause is an unstable or non-functional internet connection. If the device is not properly connected to the internet, DNS resolution cannot occur.
- Site Name Incorrectly Typed: Typing errors in the website’s URL can lead to this error, as the DNS system tries to resolve IP addresses to non-existent domains.
- Firewall Blocking Access: Sometimes, the firewall settings on your computer or network might block access to certain websites, leading to DNS resolution errors.
- Antivirus or VPN Interference: Some antivirus software or VPN services can alter network settings or block certain internet traffic, which can inadvertently cause issues with DNS resolution.
How to Fix the DNS_PROBE_FINISHED_NXDOMAIN Problem on Windows and Other Operating Systems
The DNS_PROBE_FINISHED_NXDOMAIN error commonly occurs on all operating systems and not just web browsers. Below, we listed actionable tips to fix the problem on Windows and other operating systems.
Release and Renew IP Address
The IP address serves as the identification number for each device on a network. The ISP may use Dynamic Host Configuration Protocol (DHCP) to assign a dynamic IP address to your devices. Those addresses change periodically, but sometimes, they don’t change properly, which is why it’s necessary to release and renew IP addresses manually.
How to Release and Renew IP Address on Windows
- Open the Start menu and type “cmd†in the search bar.
- Click on Command Prompt to open it.
- Type ipconfig /release and hit Enter to release your current IP.
- Then type ipconfig /renew to request a new IP address
How to Release and Renew IP Address on Mac
- Open System Preferences and select Network.
- Choose your active network and click Advanced.
- Go to the TCP/IP tab and press Renew DHCP Lease​ to renew the address
How to Release and Renew IP Address on Ubuntu
- Navigate to the Terminal by searching through your applications menu or using the shortcut Ctrl + Alt + T.
- Type the command sudo dhclient -r and press enter. Remember that you need to enter your password when using sudo commands
- Renew the IP address by typing sudo dhclient and hit enter. This will request a new IP address from the DHCP server.
- Type in ifconfig or ip a to verify the new IP address assigned to your computer.
How to Release and Renew IP Address on Android
- Navigate to your Android Settings
- Tap Connections and then tap Wi-Fi
- Navigate to the connection you’re connected to and tap the Gear icon on the right.
- At the bottom of the screen tap the Forget trash can icon
- Go back to Wi-Fi settings
- Tap the i icon on the right side of the network you want to connect to and tap Renew Lease. Tap Renew Release again once the pop-up window opens.
Restart DNS Client Service
How to Restart DNS Client Service on Windows
- Click the Windows button and search for “cmd†in the text box. Hit enter.
- In Windows Command Prompt enter “net stop dnscache†to stop the service.
- After waiting a few seconds enter “net start dnscache†and hit enter.
This will restart the DNS service on your computer. Go to your preferred browser and enter the domain you want to visit to see if the error was fixed.
How to Restart DNS Client Service on MacOS
- Navigate to Terminal
- In the Terminal type in the following command: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder and hit enter.
- Type in your password
- Your DNS cache is reset. Go to your browser and see if the error disappeared.
Keep in mind that older versions of MacOS use different commands to flush DNS cache. Here’s how to do it in older versions:
- El Captain and newer: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- Yosemite: sudo killall -HUP mDNSResponder
- Lion, Mountain Lion and Mavericks: sudo dscacheutil -flushcache
- Snow Leopard: sudo lookupd -flushcache
- Tiger: lookupd -flushcache
How to Restart DNS Client Service on Ubuntu
Restarting DNS on Ubuntu depends on whether you want to flush DNS in Systemd-resolved or Dnsmasq. The former is a caching service that is preinstalled on newer versions of Ubuntu and Linux Mint, while Dnsmasq is a DNS and DHCP server commonly found in home network.
How to Restart DNS Client Service on Systemd-resolved
- Navigate to terminal
- Run sudo systemd-resolve –flush-caches. Make sure to enter the password too.
- Verify that your cache has been cleared by using the following command systemd-resolve –statistics.
If you want to restart DNS client service in dnsmasq follow the instructions below.
- Navigate to the terminal
- Enter sudo systemctl restart dnsmasq to restart the service. By restarting this service, you’ll also flush the DNS cache.
Change DNS Servers
Changing to an alternative DNS server may help fix the DNS_PROBE_FINISHED_NXDOMAIN error, particularly when the default DNS server from your Internet Service Provider (ISP) is having problems.
Popular options for free alternative DNS servers are Google DNS (addresses 8.8.8.8 and 8.8.4.4) and Cloudflare DNS (addresses 1.1.1.1). These servers are widely used and offer reliable service.
How to Change DNS Server on Windows?
- Go to the Network Connections page by navigating to the Windows search box and typing ncpa.cpl. Press enter.
- Right-click on the connection in use and click Properties.
- Once in the Properties window, click Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Select the Obtain an IP address automatically and Use the following DNS server Addresses option located in the Internet Protocol Version 4 (TCP/IPv4) Properties page
- Type in the desired DNS server addresses in the Preferred DNS Server and Alternate DNS Server textboxes. You can use Google’s, Cloudflare’s, or some other preferred DNS server address.
- Tick the Validate settings upon exit checkbox and click OK.
- Restart your device so that the settings you changed take effect.
How to Change DNS Server on MacOS?
- Navigate to the Apple menu and then System Preferences. Then select Network
- Select your primary network connection click Advanced and then DNS.
- Click the plus button and add a new DNS server address. Click OK and then Apply.
- Restart your internet connection and check if the error has been resolved.
Change DNS Nameserver via GUI
- Open Settings: Click on the Network tab in the left menu.
- Access Connection Settings: Click the cogwheel next to the connection you wish to configure.
- Modify IPv4 Settings: Navigate to the IPv4 tab.
- Disable Automatic DNS: Turn off the switch next to the DNS field.
- Enter New DNS Addresses: Type the addresses of the new DNS servers (e.g., Google’s public DNS nameservers).
- Apply Changes: Click Apply to save the new settings​​.
Change DNS Nameserver via Command Line
- Access Netplan Directory: Type cd /etc/netplan in the terminal.
- Edit Configuration File: Use ls to find the YAML file with the network configuration (e.g., 01-network-manager.yaml), then open it with a text editor like nano (sudo nano 01-network-manager.yaml).
- Modify DNS Settings: In the file, locate the nameservers section and replace the current addresses with the new DNS server addresses.
- Apply Changes: Save the file and exit the text editor, then apply the changes by typing sudo netplan apply in the terminal.
- Verify Changes: Check if the new DNS servers are active by running resolvectl status | grep “DNS Server†-A2
Reset Chrome Flags
To reset Chrome Flags to their default settings, follow these steps:
- Open Google Chrome: Launch the Chrome browser on your computer.
- Navigate to Chrome Flags: In the address bar, type chrome://flags, and press Enter. This will open the Chrome Flags page.
- Reset to Default: At the top of the page, you’ll see a button labeled “Reset allâ€. Click on this button to reset all the experimental features and flags to their default settings.
- Restart Chrome: After resetting the flags, you will need to restart Chrome for the changes to take effect. You can do this by closing and reopening the browser.
Resetting Chrome Flags is a useful step when troubleshooting browser-related issues, as it ensures that no experimental or non-standard settings are causing problems.
Disable VPN and Antivirus Temporarily
Disabling your VPN or antivirus temporarily can help fix the DNS_PROBE_FINISHED_NXDOMAIN error.
Some VPN services may interfere with your DNS settings, which is why you should temporarily disable the software to ensure it’s not causing the error.
Depending on which VPN service you use, open the VPN application and look for the turn off option. Sometimes, it’s displayed as a toggle switch that you need to turn off. Keep the VPN service disabled until you test if the DNS issue is resolved.
VPN service may not be the only program causing this problem. Antivirus software could also be causing the error, which is why it’s necessary to temporarily disable it to confirm whether it’s causing the error or not.
Navigate to your antivirus software, go to the control panel, and find the option to disable or pause the antivirus protection. Usually, this option is in the “Real-time protection†bar or similar.
Check Your Local Hosts File
Checking and editing your local hosts file is a useful step in troubleshooting the DNS_PROBE_FINISHED_NXDOMAIN error. Here’s how you can do it on different operating systems:
How to Check Your Local Hosts File in Windows?
- Open Notepad as Administrator: Click on the Start menu, type Notepad, right-click on it, and select “Run as administratorâ€.
- Open the Hosts File in Notepad: In Notepad, click on the File menu > Open. Navigate to C:WindowsSystem32driversetc and select the host file.
- Edit the Hosts File: Add new entries or modify existing ones in the format IP_address domain.com www.domain.com. Save the changes with Ctrl + S or via the File menu​
How to Check Your Local Hosts File in MacOS?
- Open Terminal: You can find Terminal in Finder > Go > Utilities, or use Spotlight Search (Command + Space) and type Terminal.
- Open the Hosts File in Terminal: Use the command sudo nano /private/etc/hosts to open the hosts file in the Nano text editor.
- Edit the Hosts File: Move the cursor to the desired location in the file and add or modify entries in the format IP_address domain.com www.domain.com. Save and exit by pressing Control + O to write out the changes, then Control + X to exit Nano
How to Check Your Local Hosts File in Ubuntu?
- Open Terminal: You can do this by either using the keyboard shortcut Ctrl + Alt + T or by finding the Terminal in your applications menu.
- Open the Hosts File in Terminal: Type the command sudo nano /etc/hosts to edit the hosts file using the Nano text editor. Since this file is protected, you’ll need to use sudo to open it with administrative privileges.
- Edit the Hosts File: In Nano, use your arrow keys to navigate to the point where you want to add or change an entry. Enter the desired mappings in the format IP_address domain.com www.domain.com. For example, to map a domain called example.com to a specific IP address, you would add a line like 123.45.67.89 example.com www.example.com.
- Save and Exit: After making your changes, press Ctrl + O to save the file, followed by Enter to confirm. Then press Ctrl + X to exit Nano.
Check DNS of Your Domain
Checking the DNS of your domain involves verifying the domain’s DNS records to ensure they are correctly configured and pointing to the right server. Here are general steps you can follow:
- Use Online DNS Lookup Tools: There are several online tools available that can help you check the DNS records of your domain. Examples include mxtoolbox.com, dnschecker.org, or Google’s Dig tool. These tools allow you to enter your domain name and select the type of DNS record you want to check (e.g., A, MX, CNAME, TXT).
- Select DNS Record Type to Check: Depending on what you want to verify, choose the appropriate DNS record type. Common types include:
- A Record: Maps a domain to the physical IP address of a server.
- MX Record: Specifies the mail servers for accepting emails on behalf of your domain.
- CNAME Record: Maps a domain to another domain name (aliasing).
- TXT Record: Often used for verification purposes and email spam prevention.
- Perform the DNS Lookup: After selecting the record type, perform the lookup. The tool will display the DNS records and their values for your domain.
- Review the Results: Check if the DNS records are pointing to the correct IP addresses or values. For example, an A record should point to the IP address where your website is hosted.
- Resolve Any Discrepancies: If you find that the DNS records are not correctly set, you’ll need to log in to your domain registrar or DNS hosting provider’s control panel to make the necessary changes.
- Wait for DNS Propagation: After making changes to DNS records, keep in mind that it may take some time (up to 48 hours, typically much less) for the changes to propagate across the internet.
- Recheck the DNS Records: Once enough time has passed for DNS propagation, recheck the DNS records using the same online tools to ensure your changes were successfully applied.
Restart Your Computer
Restarting your computer is a straightforward process and can often resolve a variety of network and software-related issues, including the DNS_PROBE_FINISHED_NXDOMAIN error.
How to Fix DNS_FINISHED_NXDOMAIN on WordPress, GoDaddy, and Namecheap?
Regardless of the hosting provider you use, whether it’s WordPress, GoDaddy, Namecheap, or any other, the steps to fix the DNS_PROBE_FINISHED_NXDOMAIN error are generally the same. This error is not specific to the hosting service but rather related to DNS settings or client-side issues.
Final Word
Successfully addressing the DNS_PROBE_FINISHED_NXDOMAIN error involves careful examination of DNS settings, ensuring domain registration validity, and clearing local caches. If you managed to fix this error, it’s time to set up your website and host it online.
Choose from our lists of best website builders and best web hosting services to make the best decision for your online presence.
Next Steps: What Now?
- How to Work with Name Servers in the cPanel Hosting Control Panel
- How to Configure Custom Name Servers for Windows Hosting Accounts in Plesk
- Managing DNS for Web Hosting: The Ultimate Guide
Learn More About DNS
- What Is a DNS? A Simple Guide to the Web’s Routing System
- What Is SOA Record in DNS? SOA Records Explained
- What Is SRV Record in DNS and How Does It Impact Your Website Hosting?
- What Is PTR Record in DNS? A Comprehensive Guide
- Guide to What Is TXT Record in DNS for Newbies
- What Type of DNS Record Is Used for Email Servers? A Introductory Guide
- What Is AAAA Record in DNS: Basic Guide to Web Navigation
- What Is a CNAME: A Thorough Introduction to DNS Management
- What Is Domain Propagation and How Does it Work?
- What Is an A Record? Exploring the Backbone of DNS