OpenVPN / openvpn

OpenVPN is an open source VPN daemon
http://openvpn.net
Other
10.74k stars 2.99k forks source link

DNS for remote server not refreshed after power hibernation and restoring #531

Closed robot-dot-win closed 5 months ago

robot-dot-win commented 5 months ago

OS: Windows 11 23H2 OpenVPN version: 2.6.10

A laptop pc is configured as an OpenVPN client, connecting to a "remote hostname port tcp4" server. At a successful connection state, put the pc power to hibernation, and move the pc to another network, where the hostname will not be resolved to the same IP as the previous network. After power restoring, OpenVPN will reconnect automatically, using the old server IP, then fails. Now you have to click "Connect" manually for reconnection.

At some previous versions(unfortunately I forget which ones) this problem does not exist.

lstipakov commented 5 months ago

Please provide client log with verb 4.

robot-dot-win commented 5 months ago

Please provide client log with verb 4.

OpenVPN_Log

schwabe commented 5 months ago

We need a complete log that also shows the configuration options being parsed as there are many options that influence that behaviour.