[Libvir] Alternate dnsmasq command line args ?

Mark McLoughlin markmc at redhat.com
Fri Mar 9 14:29:08 UTC 2007

On Fri, 2007-03-09 at 03:17 +0000, Daniel P. Berrange wrote:
> Currently we launch dnsmasq with a command line looking like:
>    dnsmasq --keep-in-foreground 
>            --bind-interfaces
>            --pid-file 
>            --conf-file
>            --except-interface lo
>            --listen-address
>            --dhcp-range,
> This causes DNSMASQ to listen on any network interface configured with
> an IP address of '', except for loopback. 
> I know it would be kind of unusual, but it is possible two interface
> might be both configured with the same address. I think it may be
> safer if we explicitly tell it to use virbr0 instead eg
>            --interface virbr0
>            --except-interface lo 

	Yep, that sounds good to me. I don't know why I didn't do it that way.

> I'm also not clear why we use --conf-file - we're not actually telling it
> about any config file so this seems redundant ?

	I'm basically telling it "don't use /etc/dnsmasq.conf" AFAIR. All
configuration to it should be on the command line.


More information about the libvir-list mailing list