You are connected to the internet, but when you try to open a webpage you get the error ERR_NAME_NOT_RESOLVED. Reloading the webpage or restarting your computer didn’t help. So how can we fix this?

The error message, “err name not resolved” can occur when there is a problem with the DNS server that you are using or your DNS cache. Without a properly functioning DNS server, we are unable to visit any website on the internet.


In this article, I am going to help you resolve the ERR_NAME_NOT_RESOLVED error.

Fix “ERR_NAME_NOT_RESOLVED” in Windows 10 or 11

We will go through a couple of possible solutions to fix the ERR_NAME_NOT_RESOLVED error message. We start with the most common solution that should fix the error for most. If a solution didn’t help, just continue to the next one.

Throughout the steps, we will need to open a lot of settings screens, or command-line tools. To access these your can either press Windows key + X at the same time or click with your right mouse button on the start menu. Both will do the same, use what you prefer.

1. Flush your DNS Cache

A corrupt DNS cache is most of the time responsible for errors like ERR_NAME_NOT_RESOLVED. So we are first going to flush the caches:

  1. Right-click on the start menu and choose PowerShell (admin) or Terminal (admin)
  2. Click Yes when asked if you want to allow this app to make changes.
  3. Enter the following commdand below and hit enter:
ipconfig /flushdns
ipconfig /flushdns
Flushing local DNS cache

You don’t need to reboot your computer after this, simply check if you are now able to visit the website.

2. Resetting Windows Network Configuration

If flushing the DNS cache didn’t help, then we are going to reset your network configuration. You can safely execute the commands below, they will only clear the network caches and request new Ip Addresses from the router:

  1. Right-click on the start menu and choose PowerShell (admin) or Terminal (admin)
  2. Enter each command below. Hit enter after each one. If a command fails, just continue with the next one:
    • ipconfig /release
    • ipconfig /renew
    • netsh winsock reset
    • netsh int ip reset
  3. Reboot your computer and check if the ERR_NAME_NOT_RESOLVED error is solved.
err name not resolved
Fix err name not resolved

3. Clear Host Cache in Chrome

The load pages faster, Google Chrome also creates its own DNS cache. This host cache can get outdated which could result in the DNS error ERR_NAME_NOT_RESOLVED. We can easily clear the cache using the following steps:

  1. Open Chrome
  2. Type the following address in the address bar: chrome://net-internals/#dns
  3. Click Clear host cache
clear host cache in chrome
Clear host cache in Chrome
  1. Restart Google Chrome and try to load the webpage that you want to visit.

4. Changing the DNS Server

If you are still unable to open a website, then the problem might be related to the DNS server that you are using. By default, you are using the DNS server from your provider. But that is most of the time not the best DNS server.

We are going to change the DNS server to, this is one of the fastest DNS servers and respects your privacy. You can read more about the DNS Cloudflare here.

Steps for Windows 10 (scroll down for the steps in Windows 11)

  1. Right-click your startmenu
  2. Choose Network Connections
  3. Click Change adapter options
  4. Double-click on your (wireless) network adapter
Network adapter
  1. Choose Properties
  2. Double-click on Internet Protocol version 4 (TCP/IPv4)
  3. Select Use the following DNS servers addresses
  4. Enter for preferred and for alternate DNS Server
  1. Click Ok to apply the settings and close the windows.

Steps for Windows 11

  1. Right-click the start menu
  2. Choose network connections
  3. Click on Ethernet
  1. Scroll a bit down and click Edit behind DNS server assignment
err_name_not_resolved chrome
  1. Change the setting to Manual
  2. Enable IPv4
  3. Enter as preferred DNS and as alternate DNS
dns windows 11

Try to visit the webpage again, you should now be able to visit the website. If this didn’t help, you can safely leave the DNS configured to

5. Disable IPv6

Another possible cause of the error ERR_NAME_NOT_RESOLVED in Chrome is the use of IPv6. This is a new network protocol that is not configured correctly yet in every network. Your computer might be using the new and faster IPv6 protocol, but your provider or router doesn’t support a DNS server for IPv6.

This can result in the err name not resolved error message. For the next couple of years you won’t need IPv6 yet, so we can safely disable it:

Steps for Windows 10 (scroll down for the steps in Windows 11)

  1. Right-click your startmenu
  2. Choose Network Connections
  3. Click Change adapter options
  4. Double-click on your (wireless) network adapter
  5. Click Properties
  6. Turn off Internet Protocol version 6 (TCP/IPv6)
turnoff ipv6 in windows 10
  1. Click Ok

Steps for Windows 11

For Windows 11 we use a slightly different approach:

  1. Open the start menu
  2. Search for Network Connections
  3. Open View network connections
network connection windows 11
  1. Double-click on your network adapter
  2. Choose Properties
  3. Turn off Internet Protocol version 6 (TCP/IPv6)
disable ipv6 windows 11
  1. Click Ok

Reboot your computer and test if the problem is solved.

6. Scan for Malware

If you are still unable to access a webpage and it’s only one device that is having this issue, then the problem might be related to malware. Malware comes in many ways, and some try to alter the DNS settings.

So it’s might be a good idea to scan your computer for potential malware with a good malware scanner like Hitman pro. It comes with a free trial to start with, so just give it a go.

7. Disable internet security software

Some internet security software, like Norton Internet Security or Kaspersky Total Security, can cause problems with your internet connection. Try to disable these applications to see if that resolves the issue.

You can always enable the security software again if it didn’t help.

Wrapping Up

Keep in mind that most of the time the error ERR_NAME_NOT_RESOLVED is related to a DNS error. If none of the steps above worked, then double-check if you can open the website on another device or from another location (create a mobile hotspot for example). This way you can rule out the cause of the issue (device or location internet connection).

You can also take a look at one of the following articles that might help you with resolving the connection issues:

Leave a Comment