The VPN connection failed due to unsuccessful domain name resolution
While trying to connect to a VPN, if you see the error “The VPN connection failed due to unsuccessful domain name resolution” then you can refer to this tutorial for a solution. This might happen because your public DNS settings are incorrect or because the public DNS service stopped responding.
The VPN connection failed due to unsuccessful domain name resolution

VPN software is good for helping you explore the internet anonymously. On the other hand, public DNS services like Google Public DNS and Comodo Secure DNS can help a lot when it comes to getting around internet censorship or limitations.
The problem of this popup occurring is when the VPN app doesn’t match the public DNS set up earlier, so you need to switch back to the original to get rid of this popup and allow you to continue using the VPN service.
What is VPN connection failed due to unsuccessful domain?
If you have the VPN app set up on your Windows 11/10 computer and cannot connect to your server due to an incorrect setting, you’ll get this error message. This error is a representation of a problem occurring because the public DNS is incorrect or there are settings in Windows that need to be fixed.
How do I fix VPN unsuccessful domain name resolution?
To fix the VPN unsuccessful domain name resolution issue, simply switch back to the original DNS from your ISP. If this information is not available from your ISP, then you can choose the Obtain DNS server address automatically option.
Step to Fix: The VPN connection failed due to unsuccessful domain name resolution
To solve this error “The VPN connection failed due to unsuccessful domain name resolution”. We suggest you follow these steps:
- To open the Run dialog, press Win+R.
- Type ncpa.cpl and then press the Enter button.
- Right-click on the network adapter and after that select the Properties option.
- Double-click on the “Internet Protocol Version 4 (TCP/IPv4)”.
- Choose the” Obtain DNS server address automatically” option.
- Click the OK button.
Let’s look out these steps in detail:
firstly, you have to open the “Network Connections panel” . For that, press Win+R button to open the Run prompt and type ncpa.cpl, after that press the Enter button.
Here you can find a list of all networks that are currently connected. To correct the issue, right-click on the connection and select “Properties” from the dropdown menu.
Now, it opens up a popup window. Find out the “Internet Protocol Version 4 (TCP/IPv4)” and double-click on it. Alternatively, you can select it and click on the “Properties” button.
Next, select the “Obtain DNS server address automatically” option and click on the OK button.

After that, close all the windows and try to connect to the VPN server. Hopefully, you won’t encounter any problems.
More Detail: here
Why does my VPN say unsuccessful?
Leaving a message can sometimes be due to two reasons:
1] The VPN app isn’t complying with the public DNS that you have on your computer.
2] the public DNS is down due to some problems.
If you find that the second reason doesn’t apply to your use case, feel free to revert the custom DNS settings from the Network Connections panel. If you’re using a Wi-Fi, Ethernet or mobile hotspot connection, changing the settings is very easy using this guide.