#881240 openvpn cannot reconnect due to bad resolv.conf

Package:
network-manager-openvpn
Source:
network-manager-openvpn
Description:
network management framework (OpenVPN plugin core)
Submitter:
Harald Dunkel
Date:
2017-11-10 09:45:03 UTC
Severity:
normal
#881240#5
Date:
2017-11-09 08:15:43 UTC
From:
To:
If the openvpn connection goes down for some reason, then
Network Manager doesn't recognize and /etc/resolv.conf is
not reset to the previous state.

openvpn tries to reconnect, but it cannot resolve the
peer's IP address anymore due to the bad resolv.conf file.

Workaround is to add the peer's IP address to /etc/hosts.


Regards
Harri