how can I force OpenVPN connect to resolve the hostname again, when reconnecting (e.g. changed network)?
(If I found where OpenVPN Connects logfiles are saved I would have attached - didn't find out how to get the familiar verbose output)
It keeps trying to connect to the configured servers in an endless loop:
but it never re-resolves the IP for the hostname, the way it does if I disconnect/connect:EVENT: RECONNECTING
Contacting OLDIPADDRES via UDP
EVENT: WAIT
Connecting to [hostname] (OLDIPADDRESS) via UDPv4
Contacting OLDIPADDRES via UDP
beginning with:
I need this, because on a local network DNS the configured hostnames are being resolved to another address, public open world IP is not routable in the local network for safety issues. So when I switch from mobile data (using the open world IP) to Wi-Fi (with the local IP) the hostname must be re-resolved.EVENT: RESOLVE
Contacting NEWIPADDRESS via UDP
It was why I switched from openVPN for Android to OpenVPN Connect, because openVPN for Android seems to have configured persist-remote-ip at compile time - or I did not find out how to disable that behaviour.
Thank you all for any hints
Paul