[Solved] how to resolve the Cisco Anyconnect error message “VPN connection failed due to unsuccessful domain name resolution”
The above message is a very common message caused by the local internet provider DNS resolution failure and cane be fixed very easily.
below is the error message that you may get when trying to connect to the VPN while connected to the home internet.
You will see that Cisco Anyconnect displays an error message where it is not able to connect to the VPN host using the hostname.
The first thing you will need to confirm is if the DNS resolution is working and in order to confirm that you will need to run the command prompt.
Launch the command prompt by going “start” “run” type “cmd” – see the screenshot for reference.
You can test the resolution by pinging espn.com.
- type “ping” and you can see Ping espn.com is not resolving.
- nslookup for cnn.com does not resolve and shows a loop back address as a dns server.
One good place to see more logs is by going to the gear icon on the Cisco Anyconnect. see the screenshot below for reference.
Go to the VPN tab and message history and you can see how many times, the client tried to connect and failed..
Start the command prompt again to test the DNS resolution.
This time use the DNS lookup using the google DNS server and you will see a response and that confirms that is the DNS server.
You can update the DNS server by manually adding the google DNS server for a temporary fix until your internet provider fixes the issue.
Thanks for ready this.