Comment 12 for bug 651007

Revision history for this message
Pentarh Udi (pentarh) wrote : Re: Does not correctly write resolv.conf

>> 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.