ERR_NAME_RESOLUTION_FAILED Fix

3 min read

Encountering the ERR_NAME_RESOLUTION_FAILED error in Chrome can be frustrating, especially when you need to access important websites. This issue typically arises due to DNS server problems, conflicts in the Hosts file, or a need for a DNS cache flush. This guide will walk you through various solutions on Windows, macOS, Linux, and mobile platforms to resolve the Chrome DNS error.

Key Takeaways

  • Ensure your DNS server settings are correctly configured.
  • Flush the DNS cache to clear outdated or corrupted records.
  • Check and edit your Hosts file for conflicting entries.
  • Reset your network adapter to resolve connectivity issues.
  • Use Chrome’s built-in tools like chrome://flags for advanced features.

Quick Fixes to Try First

  1. Restart your router or modem to clear temporary network glitches.
  2. Try accessing the website using another browser to see if the issue persists.
  3. Disable any VPN or proxy settings temporarily to check connectivity.

How to Fix Chrome’s ERR_NAME_RESOLUTION_FAILED on Windows

1. Change DNS Server Settings

  1. Press Windows + R, type ncpa.cpl, and press Enter.
  2. Right-click on your active network adapter and select Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
  4. Choose Use the following DNS server addresses and enter:
    • Preferred DNS server: 8.8.8.8
    • Alternate DNS server: 8.8.4.4
  5. Click OK and restart your computer.

2. Flush DNS Cache

  1. Open Command Prompt as an administrator by searching cmd, right-clicking it, and choosing Run as administrator.
  2. Type ipconfig /flushdns and press Enter.
  3. Restart Chrome and check if the issue persists.

3. Edit Hosts File

  1. Open Notepad as an administrator by right-clicking it and selecting Run as administrator.
  2. Navigate to C:\Windows\System32\drivers\etc and open the hosts file.
  3. Check for any entries related to the website you are trying to access and remove them.
  4. Save the changes and restart your computer.

ERR_NAME_RESOLUTION_FAILED Fix on macOS

1. Change DNS Settings

  1. Go to System Preferences > Network.
  2. Select your active network connection and click Advanced.
  3. Navigate to the DNS tab and click the + button.
  4. Add 8.8.8.8 and 8.8.4.4 to the DNS servers list.
  5. Click OK and then Apply.

2. Flush DNS Cache

  1. Open Terminal from Applications > Utilities.
  2. Type sudo killall -HUP mDNSResponder and press Enter.
  3. Enter your password if prompted and check if the issue is resolved.

Resolving ERR_NAME_RESOLUTION_FAILED on Linux

1. Update DNS Server

  1. Open the terminal.
  2. Edit the /etc/resolv.conf file using a text editor like nano:
  3. Type sudo nano /etc/resolv.conf and press Enter.
  4. Add the following lines:
    • nameserver 8.8.8.8
    • nameserver 8.8.4.4
  5. Save the file and restart your network service with sudo systemctl restart NetworkManager.

Mobile Solutions for DNS Resolution Failed in Chrome

Android

  1. Open Settings and go to Network & Internet.
  2. Tap on your Wi-Fi network and select Advanced.
  3. Change the IP settings to Static.
  4. Set DNS 1 to 8.8.8.8 and DNS 2 to 8.8.4.4.

iOS

  1. Go to Settings > Wi-Fi.
  2. Tap the i next to your Wi-Fi network.
  3. Select Configure DNS and choose Manual.
  4. Remove the current DNS entries and add 8.8.8.8 and 8.8.4.4.
Pro Tip: For advanced users, explore chrome://flags to enable experimental features like AI-based Gemini Nano.

Frequently Asked Questions

What causes the ERR_NAME_RESOLUTION_FAILED error in Chrome?

This error is often caused by incorrect DNS settings, issues with the Hosts file, or problems with the DNS cache.

How can I reset my network adapter on Windows?

In Windows, go to Settings > Network & Internet > Status and click on Network reset to restore the adapter settings to default.

Does flushing the DNS cache affect my browsing history?

No, flushing the DNS cache only clears the DNS resolver cache. It does not impact your browsing history or saved website data.

Can I use any DNS server other than Google’s?

Yes, you can use other DNS servers like Cloudflare’s 1.1.1.1 or your ISP’s DNS servers.

Is it safe to edit the Hosts file?

Yes, but proceed with caution. Ensure you backup the original file before making changes and only remove entries you are sure are causing conflicts.

By following these steps, you should be able to resolve the ERR_NAME_RESOLUTION_FAILED error in Chrome across various devices and platforms. Ensure your DNS settings are correctly configured and consider using Chrome’s built-in tools for advanced features. If issues persist, consult the official Google Chrome Help Center for more guidance.