Please read the whole thread and see the various other workarounds
provided; granted the default shipped configuration for dnsmasq doesn't
play well with NetworkManager, but it's easy to adjust to your
particular needs and workaround this issue; which also only happens if
the system acting as a server locally runs both dnsmasq and
NetworkManager.

We've clearly identified that having dnsmasq bind to particular
interfaces is an easy way to work around this and is a very good idea
anyway. Please make sure your dnsmasq configuration sets interface= to
the interface on which it should listen, and possibly also uncomment
bind-interfaces in /etc/dnsmasq.conf. At that point the changes to
/etc/NetworkManager/NetworkManager.conf won't be required.

This isn't just a simple fix for this; the default shipped configuration
for dnsmasq is just as "guilty" as network-manager for assuming it
should bind on all addresses and all interfaces.

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to