How to Resolve ERR_NAME_NOT_RESOLVED Error?
Introduction
Do you know that when browsing through the web occasionally come across the ‘ERR_NAME_NOT_RESOLVED’ error? This is a fairly typical problem that may interfere with your usage of the Internet and make you think about what has gone wrong.
Never mind – we’re here to assist you. As you will learn in this detailed tutorial, there are multiple ways of addressing this issue and getting back to your regular Internet browsing swiftly.
Also Read: How to Fix the NET::ERR CERT DATE INVALID Error?
The “ERR_NAME_NOT_RESOLVED” error message pops up when your browser does not have the ability to translate the website’s domain name into an IP address.
This may be a result of DNS server errors, network complications, or browser setting problems among others. Now let me explain the potential steps that will help to fix this problem and bring the comfortable browsing back.
What Does the “ERR_NAME_NOT_RESOLVED” Error Entail?
The most well-known error is “ERR_NAME_NOT_RESOLVED” which encompasses a situation when the browser fails to translate the domain name of a site to the corresponding IP address. This process, called the DNS name resolution, plays a great role in accessing the websites. Sometimes it just does not work, and the message displayed replaces the website you wanted to visit.
Common Causes of the Error
- DNS server issues
- Network connection problems
- Incorrect DNS settings
- Browser Cache and Sookies
- Firewall or antivirus interference
- Outdated browser or operating system
Now, let’s dive into the solutions to fix this error.
Various Methods to Fix ERR_NAME_NOT_RESOLVED Error
Method 1: Check Your Internet Connection
Before trying more complex solutions, ensure your internet connection is working properly.
Steps:
- Open a new browser tab and try accessing a different website.
- If other sites don’t load, restart your modem and router.
- Unplug both devices from the power source.
- Wait for 30 seconds.
- Plug them back in, starting with the modem.
- Wait for all lights to stabilize before testing your connection again.
- If you’re using Wi-Fi, try connecting via Ethernet cable to rule out wireless issues.
Method 2: Flush Your DNS Cache
Clearing your DNS cache can often resolve the “ERR_NAME_NOT_RESOLVED” error.
For Windows:
- Press the Windows key + R to open the Run dialog.
- Type “cmd” and press Enter to open Command Prompt.
- Type “ipconfig /flushdns” and press Enter.
- You should see a message confirming the DNS cache was flushed.
For macOS:
- Open Terminal (Applications > Utilities > Terminal).
- Type “sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder” and press Enter.
- Enter your admin password when prompted.
Method 3: Change DNS Servers
Sometimes, your ISP’s DNS servers may be slow or unreliable. Switching to public DNS servers can help.
For Windows:
- Right-click the network icon in the taskbar and select “Open Network & Internet settings“
- Click on “Change adapter options“
- Right-click your active network connection and select “Properties“
- Select “Internet Protocol Version 4 (TCP/IPv4)” and click “Properties“.
- Choose “Use the following DNS server addresses“
- Enter these Google DNS servers:
- Preferred DNS server: 8.8.8.8
- Alternate DNS server: 8.8.4.4
- Click “OK” to save changes.
For macOS:
- Go to System Preferences > Network.
- Select your active network connection and click “Advanced“.
- Go to the DNS tab and click the “+” button to add new DNS servers.
- Enter 8.8.8.8 and 8.8.4.4 (Google’s DNS servers).
- Click “OK” and then “Apply“.
Method 4: Clear Browser Cache and Cookies
Outdated or corrupted browser data can cause the “ERR_NAME_NOT_RESOLVED” error.
For Google Chrome:
- Click the three-dot menu in the top-right corner.
- Go to More Tools> Clear browsing data.
- Set the time range to “All time“.
- Check the boxes for “Cookies and other site data” and “Cached images and files“
- Click “Clear data“.
For Mozilla Firefox:
- Click the menu button and select “Options“.
- Go to Privacy & Security > Cookies and Site Data.
- Click “Clear Data“.
- Ensure both “Cookies and Site Data” and “Cached Web Content” are checked.
- Click “Clear“.
For Microsoft Edge:
- Click the three-dot menu and select “Settings”.
- Go to Privacy, search, and services.
- Under Clear browsing data, click “Choose what to clear“.
- Select “Cookies and other site data” and “Cached images and files“.
- Click “Clear now“.
Method 5: Disable Firewall or Antivirus Temporarily
Sometimes, security software can interfere with your internet connection.
For Windows Firewall:
- Type “Windows Defender Firewall” in the Start menu search bar.
- Click “Turn Windows Defender Firewall on or off“.
- Select “Turn off Windows Defender Firewall” for both private and public networks.
- Click “OK” to save changes.
For third-party Antivirus:
- Locate the antivirus icon in your system tray.
- Right-click and look for an option to disable or turn off protection temporarily.
- Choose to disable it for a short period (e.g., 15 minutes).
- Remember to re-enable your security software after testing!
Method 6: Update Your Browser and Operating System
Outdated software can cause various errors, including “ERR_NAME_NOT_RESOLVED.”
Updating your Browser:
- Chrome: Click the three-dot menu > Help > About Google Chrome.
- Firefox: Click the menu button > Help > About Firefox.
- Edge: Click the three-dot menu > Help and feedback > About Microsoft Edge.
Updating your Operating System:
- Windows: Go to Settings > Update & Security > Windows Update.
- macOS: Click the Apple menu > System Preferences > Software Update.
Method 7: Check for Malware
Malware can interfere with your network settings and cause errors.
For Windows:
- Use Windows Security (formerly Windows Defender):
- Type “Windows Security” in the Start menu search bar.
- Click on “Virus & threat protection“.
- Click “Quick scan” to start a malware scan.
For macOS:
- Use built-in security features:
- Go to System Preferences > Security & Privacy.
- Ensure that Gatekeeper and XProtect are enabled.
- Consider using a reputable third-party antivirus for Mac for additional protection.
Method 8: Reset TCP/IP and Winsock (Windows Only)
If you’re still experiencing issues on Windows, try resetting your network stack.
Open Command Prompt as administrator.
Type the following commands, pressing Enter after each:
netsh win
sock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
Restart your computer.
Method 9: Check Your Hosts File
Sometimes, the Hosts file can be modified to block certain websites.
For Windows:
- Open Notepad as administrator.
- Go to File > Open and navigate to C:\Windows\System32\drivers\etc.
- Change the file type to “All Files” and open the “hosts” file.
- Look for any suspicious entries or blocked websites.
- Remove any problematic lines (leave localhost entries intact).
- Save the file and restart your browser.
For macOS:
- Open Terminal.
- Type “sudo nano /etc/hosts” and press Enter.
- Enter your admin password when prompted.
- Review the file for any suspicious entries.
- Remove problematic lines using the arrow keys and delete key.
- Press Ctrl+X, then Y, then Enter to save and exit.
Method 10: Contact Your Internet Service Provider
If none of these solutions prove to be effective or no longer work for you, then, the troubleshooting problem might lie with the internet service provider.
- Approach your Internet Service Provider and they will be able to help you out.
- Describe this error and the measures that have been taken so far.
- Just ask if there are any rumors of any problem or if is there now a problem in the described area.
- Ask for help in solving the connection problem.
Conclusion
The “ERR_NAME_NOT_RESOLVED” is quite annoying, but with the help of the provided solutions, you should be able to work around the problem and continue using the internet without hassle.
Also Read: How to Fix ERR_BAD_SSL_CLIENT_AUTH_CERT Error Chrome? [7 Ways]
As usual, the first steps like ensuring that your internet connection is working well, and clearing your DNS cache, ought to be taken before jumping to the complicated solutions.