Tech

[Solved] how to resolve the Cisco Anyconnect error message “VPN connection failed due to unsuccessful domain name resolution”

[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” and type “cmd” – see the screenshot for reference.

You can test the resolution by pinging espn.com.

  1. type “ping” and you can see Ping espn.com is not resolving.
  2. nslookup for cnn.com does not resolve and shows a loopback 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 that confirms that it 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.

 

 

 

 

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button