>> how to deal with the various cases (having DNS from VPN appended or
prepended to the existing DNS servers in /etc/resolv.conf).

They should neither be appended nor prepended. Because in any case libc
uses all of them.

DNS from VPN must be exclusive in resolv.conf while VPN connection is
active in a case if VPN peer provided any DNS.

pure openvpn binary do this correctly - it makes obtained DNS servers
exclusive in resolv.conf, and when VPN connection closed, it restores
original DNS servers.

I think NM should follow this functionality.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/651007

Title:
  Does not correctly write resolv.conf

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to