Add an option to force DNS lookup for remote server every time
Posted: Tue Mar 03, 2020 11:20 am
I am running an OVPN server at my homelab, but it doesn't have a static IPv4/IPv6 address. When the server's IP address changes I could no longer connect to the server, even though I have tried restarting OpenVPN GUI, OpenVPN Interactive Service and run "ipconfig /flushdns" with admin privilege.
Code: Select all
......
Tue Mar 03 19:14:48 2020 MANAGEMENT: CMD 'password [...]'
Tue Mar 03 19:14:48 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Mar 03 19:14:48 2020 MANAGEMENT: >STATE:1583234088,RESOLVE,,,,,,
Tue Mar 03 19:14:48 2020 TCP/UDP: Preserving recently used remote address: [AF_INET6][redacted]
Tue Mar 03 19:14:48 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Mar 03 19:14:48 2020 Attempting to establish TCP connection with [AF_INET6][redacted] [nonblock]
Tue Mar 03 19:14:48 2020 MANAGEMENT: >STATE:1583234088,TCP_CONNECT,,,,,,