> At this point though, the simplest way to deal with this remains to
edit interfaces= to map to the relevant external interfaces (eth0,
wlan0, etc.) and let the NM-spawned instance get started on lo.

We can't do that; we need DNS caching for thin client sessions which run
on the server with DNS=127.0.0.1. We need to completely disable the nm
dnsmasq spawning.

> You need to restart network-manager after changing the configuration
value.

Thank you, I think that's too much to do from a postinst so I'll
probably document it as part of the installation process.


For the record, I think that the proper way to solve the problem is from libc 
itself. Ask Simon to allow calling dnsmasq like a library, or communicate with 
it via a socket, whatever's needed, but no :53 port hooking, this is reserved 
for real DNS servers, not for helpers for libc shortcomings.

Thanks again for all the feedback,
Alkis

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/959037

Title:
  Don't start local resolver if a DNS server is installed

Status in “network-manager” package in Ubuntu:
  Triaged

Bug description:
  As described in
  https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-dns-
  resolving, network manager now starts a dnsmasq instance for local DNS
  resolving.

  That breaks the default bind9 and dnsmasq installations, for people that 
actually want to install a DNS server.
  Having to manually comment out "#dns=dnsmasq" in 
/etc/NetworkManager/NetworkManager.conf doesn't sound good, and if it stays 
that way, it should be moved to the bind9 and dnsmasq postinst scripts.

  Please make network-manager smarter so that it checks if bind9 or
  dnsmasq are installed, so that it doesn't start the local resolver in
  that case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/959037/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to