Domain name resolution error on the VPN: how to fix it

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

Domain name resolution error on the 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 to encrypt the Internet connection and allow us to surf anonymously through 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.

Problemas habituales con las VPN

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 this article, 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 into 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.

Cambiar los DNS en Windows

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 in. It is possible that we have removed those from the operator and when using others, the problem of domain name resolution is generated when using the VPN. But it could even happen that it is those of the operator 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 : 8.8.8.8 and 8.8.4.4
  • Cloudflare DNS : 1.1.1.1 and 1.0.0.1

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 to improve both speed and safety.

Check that the VPN is installed correctly

Have we installed the VPN correctly? We have been able to change something of 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 for both safety and 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.