cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
367
Views
1
Helpful
4
Replies

Secure Client - DNS with multiple ip addresses

paul-d
Level 1
Level 1

Hi there,

Does anyone know what the expected action is when using Secure Client and where public DNS serves multiple IP addresses for the headend in a single DNS response, as opposed to round-robbin?

e.g vpn.contoso.com returns [1.2.3.4], [5.6.7.8]

4 Replies 4

Thank you, however, what is the expected behaviour if I don't use round-robin? and just serve multiple IP's for a single record in the event that one of the returned IP addresses does not result in a successful connection. 

I use an azure traffic manager form the primary connection, however in the event that the primary connection fails and the backup servers is used e.g vpn-backup.contoso.com and that record has multiple IP addresses would AC cycle through each IP or just pick the first IP from the list and ignore all other IP's of the first one in the list fails?

If DNS send multi IP to vpn client then it will always use first one' and if it failed it will not try other IP.

In link I share' the control of which IP vpn client will use done by dns round-Robin.

MHM

I beleive that a failure would be a transient issue, where the traffic managed would detect a failure and mark one of the headends as down. The next DNS query would return a available headend if you had a low TTL. Ofcourse not ideal from a user experience perspective, as the user has to click connect again. There are few optimizations you can do :

1) Add a backup server in the anyconnect profile, so that if primary fails, it will again do a 2nd DNS query for the backup-server and that should return a available one. Keep in mind that anyconnect backup server timeouts are pretty bad and not configurable, and it can over 30 seconds to failover to backup servers in the profile

2) you can also have a traffic load balancer(not dns) that will use the same ip but load balance to different headend on the backend, so that way you dont have worry about DNS. Or you could use in combination with a DNS load balancer especially for geographical load balancing.

Hope that helps

**Please rate as helpful if this was useful**