How To Fix domain name resolution error appears when using a VPN

We are going to explain why the domain name resolution error appears when using a VPN and what we can do to fix it. This problem can appear when we try to establish a connection, but as we will see it has different causes that cause it. This error appears in Windows and the normal thing is that we can solve it in a simple and fast way.

Why do I get the domain name resolution error when using a VPN

What is the problem with this error when trying to establish a VPN connection in Windows? This appears when there is a problem with the DNS . For example that we have incorrectly configured the public DNS servers or that the ones we are using do not work correctly for some reason.

What the VPN does is encrypt the Internet connection and allow us to anonymously browse the network, but for this to be possible it is necessary that it connect correctly to the DNS. The problem is usually present in the latter, in the DNS servers that we are using, since the VPN may be perfectly installed but give this error code.

However, it could also happen that the VPN we are using does not meet the requirements of the public DNS we are using on the computer. This will also cause the domain name resolution error.

Whatever the reason, we can easily fix it by changing the DNS servers. The normal thing is that simply doing this will already work, unless we go back to using others that do not work for that VPN or that also generate errors.

Steps to fix this error

After explaining what are the main causes for the domain name resolution error to appear when using a VPN, we are going to mention what we can do to solve it and make it work normally. The main thing will be to change the DNS servers that we are using, but we will also see that it may be an error in the VPN that we have installed.

Change DNS servers

The first thing we are going to do is change the DNS servers that we are using in Windows. They serve as translators, since they are in charge of deriving the domain name that we put, such as RedesZone, to the corresponding IP address. This prevents us from having to remember nonsense numbers and simply know their name.

To change the DNS servers in Windows we have to go to Start, we go to Settings, we go to Network and Internet and there to Change adapter options. Now a new window will open where all the network cards that we have configured will appear. For example, the Wi-Fi card and the Ethernet card may appear. We must select the one that interests us, which will be the one we are using to navigate.

You have to click with the second mouse button and then click Properties. Once this is done, a new window will open and we have to look for Internet Protocol version 4 (TCP / IPv4) and click Properties again.

A new window will appear as we see in the image above. If we have manually configured both the IP address and the DNS servers, they will appear there. If it is automatically, it will simply appear empty. What interests us is to change the DNS servers, which appear below.

We have to give Use the following DNS server addresses and fill it. It is possible that we have removed the ones from the operator and using others, the problem of domain name resolution is generated when using the VPN. But it could even happen that it is the operator’s that are causing problems.

What DNS servers can we use? There are many available and some of the most popular and best performing are those from Google and Cloudflare. We would have to put the following:

  • Google DNS : and
  • Cloudflare DNS : and

From that moment on, our equipment will connect to the Internet through the DNS servers that we have changed. It is something that we can modify at any time and it could even help improve both speed and safety.

Check that the VPN is installed correctly

Have we installed the VPN correctly? Have we been able to change something in the configuration and that is why this problem appears? We must check it out. The VPN is an application that needs to be installed correctly and of course that the configuration is correct and that there are no problems.

If we have installed the program recently or if we have updated it, we may have to change some parameter of the configuration so that it is enabled correctly. We will have to review it and see if there is something wrong that is why it does not work properly.

Use another VPN

The type of VPN that we use is going to be essential for it to work better or worse. There are many options available, both free and paid. However, the ones that are free are not the best option. They can pose a significant problem both for safety and for proper operation.

Our advice is to use a VPN that is reliable , paid, stable, offers good performance. Avoid both free and trial ones. For example we can use ExpressVPN, NordVPN or ProtonVPN, which are some of the most reliable and used options.

If we see that when changing the DNS servers and verifying that everything is properly installed and configured, the domain name resolution error continues to appear when using the VPN, it is likely that the failure is due to the program we are using. In this case there would be no choice but to try a different one and see if this is solved and we can navigate normally.

In short, if when using a VPN we find the problem of domain name resolution, it is possible that it occurs due to a failure in the DNS servers, although it could also be due to some bad configuration of the program itself or being using one that does not work well. We have seen what we can do to solve it and the main thing is to use other DNS servers, which we can easily change.

Leave a Comment