cernekee / ics-openconnect

Android UI for OpenConnect VPN client
GNU General Public License v2.0
358 stars 129 forks source link

DNS Lookup On Reconnect #49

Open net1977 opened 4 years ago

net1977 commented 4 years ago

Hello All, have been using OpenConnect for a few months now, works great. Just have one little issue. I want to stay connected all of the time. When I get on my home network, my ASA's interface will be a private IP. Would like to force OpenConnect to do a DNS lookup when reconnecting. I read a bit about the DynDNS attribute, but I can't seem to get my ASA to send it. There is a custom attribute area in the policy setup, but it seems to only apply to the AnyConnect client (type AnyConnect). When I connect with OpenConnect it see is as type WebVPN, so not sure if it would even try to push the attribute. Anyways, is there a way to otherwise force OpenConnect to do a DNS lookup when switching networks and reconnecting?

Thanks!