Comment 8 for bug 651007

Revision history for this message
周成瑞 (e93b5ae3) wrote : Re: Does not correctly write resolv.conf

My /etc/resolv.conf is a symlink to /etc/resolvconf/run/resolv.conf.

These days I find the quirks. My computer is directly connected to an ADSL modem using DSL in nm. In this scenario, I get the VPN DNS servers below the ones from my ISP. Since the ISP provides two servers, I only get one DNS from my VPN appended to them. I also confirmed this using PPTP VPN in nm.

Then I get a home router. I connect the router to the modem to dial up. My computer is behind the router. In this scenario, I get the VPN DNS servers above the ones from my router. Like below for PPTP:

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 192.168.1.1

If VPN gives 3 or more DNS servers, then the one from the router will be pushed out.

It seems nm does the DNS stuff different way it the above scenarios. I tested that the openvpn command client prepends the DNS servers from the VPN. So I wonder if nm will do this the same way, preferably prepend them?