Comment 80 for bug 959037

Revision history for this message
Thomas Hood (jdthood) wrote :

$ cat /run/nm-dns-dnsmasq.conf
server=/17.172.in-addr.arpa/172.17.1.2
server=192.168.1.254
server=...

The first "server=" line reflects the fact that I am connected to a VPN. This can't be expressed in resolv.conf syntax.

No doubt dnsmasq could be enhanced to poll its configuration files. But it remains a question whether it's advisable for NM to make use of the standalone dnsmasq for the purposes for which nm-dnsmasq was introduced. Effectively this revisits the discussion that led to the introduction of nm-dnsmasq in the first place. Part of that discussion (which I wasn't party to) can be read here:

    https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-dns-resolving