I have another issue in Ubuntu that has been driving me batty: updated DNS servers. When I set up a vpn connection using Network Manager, I can connect to the vpn tunnel, but the DNS settings are not updated. This means that pretty much nothing can be done. I don’t go around remembering IP addresses anymore. That’s so twentieth century quaint!
After searching on Google for a solution to this for a while. What this seems to be is an interaction between resolve-conf and Network Manager. Network Manager isn’t updating the DNS because of resolv-conf. Resolve-conf isn’t updating the DNS for the vpn connection. So the solution?
apt-get remove resolvconf
Ayup, that’ll get the job done. Network Manager will still automatically update /etc/resolv.conf. No manual connection will be needed. And Network Manager will correctly set up nameserver settings for VPN connections.
Amazing that this was such a simple solution for such a vexing issue.




