Comment 12 for bug 994575

Revision history for this message
Thomas Hood (jdthood) wrote : Re: dnsmasq does not update nameserver info after network change

Hi Brian

> Is what I'm doing helpful?

Yes, very helpful. You describe exactly what you did and what the result was.

It's especially useful to know what one of the causes of the problem was. :)

Bind9. I'm not surprised.

In #9 I wrote "when NM is in 'dns=dnsmasq' mode you will only see 'nameserver 127.0.0.1' in /etc/resolv.conf." That wasn't entirely true and you have proved it! What's true is that when all interfaces are managed exclusively by NM and dns=dnsmasq then 127.0.0.1 will be the only address listed.

That you have additional addresses listed in /etc/resolv.conf indicates that something is still wrong. You wrote earlier:

> The VPN DNS servers are in /var/run/resolvconf/interface/NetworkManager and /var/run/resolvconf/interface/ppp0.

There is something wrong here. The addresses should not be included in *both* these files.

Can you please reboot and reconnect to the vpn and do "ls -l /var/run/resolvconf/interface/" again? Also post the contents of each file in that directory.

If you still get both /var/run/resolvconf/interface/NetworkManager and /var/run/resolvconf/interface/ppp0 then there is a bug somewhere.

How do you bring up the VPN? With NM? OpenVPN or PPTP? Which vpn package or daemon?