On 18/06/12 18:11, Thomas Hood wrote:
> Hi Stéphane,
>
> Changing the default of dnsmasq to bind-interfaces wouldn't have been a
> very good solution because some people run dnsmasq without installing
> those other packages and rely upon the "unbound" mode.  The implemented
> solution is  better because the cases of dnsmasq being forced into bind-
> interfaces mode will be fewer. I guess the only risk of breakage is in
> cases like the following. Someone is using dnsmasq and requires unbound
> mode, has installed lxc but disabled it. She upgrades (getting a new lxc
> in the process) and finds that dnsmasq no longer works as expected. I'm
> certainly not saying that this is a showstopper, just that risk of
> malheur isn't nonexistent.
>

I'm wondering about adding a _third_ mode, which is has a desirable 
mixture of the properties of the current two (--bind-interfaces and NOT 
--bind-interfaces). Essentially, dnsmasq would bind the addresses of 
individual interfaces rather than the wildcard address, making it less 
of a bully for other dnsmasq instances or DNS servers, but it would use 
netlink to track the creation of new interfaces or the addition  of new 
addresses to existing interfaces, and automatically bind them as 
required. This mode is inherently Linux-specific, since it needs netlink 
to work.

You could either just use it as the default, or as a less problematic 
alternative to --bind-interfaces to be dropped into the system dnsmasq 
by networkmanager.


Simon.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/928524

Title:
  lxcbr0 fails to come up when dnsmasq is installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/928524/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to