[Bug 1003842] Re: Precise NM with "dns=dnsmasq" breaks systems with non-equivalent upstream nameservers
Thomas Hood
1003842 at bugs.launchpad.net
Thu May 31 07:56:59 UTC 2012
I have marked this issue as affecting dnsmasq since we may want to
implement a solution there along the lines of #28 or similar.
I have marked this issue as affecting resolvconf since we may want to
implement a fix there along the lines of #29 or similar. (In the
absence of NM and in the presence of dnsmasq, resolvconf also feeds a
nameserver list to dnsmasq.)
** Summary changed:
- Precise NM with "dns=dnsmasq" breaks systems with non-equivalent upstream nameservers
+ dnsmasq sometimes fails to resolve private names in networks with non-equivalent nameservers
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1003842
Title:
dnsmasq sometimes fails to resolve private names in networks with non-
equivalent nameservers
Status in “dnsmasq” package in Ubuntu:
New
Status in “network-manager” package in Ubuntu:
Confirmed
Status in “resolvconf” package in Ubuntu:
New
Bug description:
A number of reports already filed against network-manager seem to
reflect this problem, but to make things very clear I am opening a new
report. Where appropriate I will mark other reports as duplicates of
this one.
Consider a pre-Precise system with the following /etc/resolv.conf:
nameserver 192.168.0.1
nameserver 8.8.8.8
The first address is the address of a nameserver on the LAN that can
resolve both private and public domain names. The second address is
the address of a nameserver on the Internet that can resolve only
public names.
This setup works fine because the GNU resolver always tries the first-
listed address first.
Now the administrator upgrades to Precise and instead of writing the
above to resolv.conf, NetworkManager writes
server=192.168.0.1
server=8.8.8.8
to /var/run/nm-dns-dnsmasq.conf and "nameserver 127.0.0.1" to
resolv.conf. Resolution of private domain names is now broken because
dnsmasq treats the two upstream nameservers as equals and uses the
faster one, which could be 8.8.8.8.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1003842/+subscriptions
More information about the foundations-bugs
mailing list