A quick and dirty work around is to sudo /sbin/dhclient right after the vpn is running. This will rewrite your resolv.conf with the current lan settings. After disconnecting n-m just does its thing again and writes the resolv.conf correctly. It is not sophisticated but it works.
-- n-m-openvpn: resolv.conf is erased if endpoint does not push DNS servers https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs