Orphaning dnsmasq

Tomas Mraz tmraz at redhat.com
Thu Aug 25 14:37:43 UTC 2011


On Thu, 2011-08-25 at 10:24 -0400, Paul Wouters wrote: 
> On Wed, 24 Aug 2011, Ian Pilcher wrote:
> 
> > On 08/22/2011 06:35 PM, Paul Wouters wrote:
> >> If it could also not grab port 0.0.0.0:53 in the future, that would be
> >> great. I'd like to work with whichever libvirt developer takes this
> >> package on.
> >
> > Are you talking about dnsmasq or the way that libvirt uses dnsmasq?
> 
> I am talking about livirtd's usage. It's confusing and bad for various reasons, but
> most importantly:
> 
> 1) Prevents other DNS resolvers from listening (eg DNSSEC aware ones)
> 2) "service dnsmasq stop" fails because it is not started as a regular service
> 
> 
> > When libvirt starts dnsmasq, it tells it to ignore the configuration
> > file and passes all of the parameters on the command line.  If you want
> > dnsmasq to not listen on 0.0.0.0:53 when it's started by libvirt, you'll
> > have to take that up with the libvirt developers.
> 
> Here the issue is:
> 
> 3) I mostly don't need/want any DNS/DHCP in my bridged setup, but it still
>     configures and starts dnsmasq (at least on F14 using virt-manager)
>     (eg I have a /28 bridges to eth1 with static IPs, I don't want it)

On a non-bridged setup it listens just on the virbr private interface
address so at least in such setups it does not conflict with bind
running as a local caching nameserver.
-- 
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
                                              Turkish proverb



More information about the devel mailing list