One way to add this functionality cleanly would be to make openvpn provide the nameserver info to resolvconf and to use the resolvconf package.
One way to add this functionality cleanly would be to make openvpn provide the nameserver info to resolvconf and to use the resolvconf package.