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 192.168.122.1
--dhcp-range 192.168.122.2,192.168.122.254
This causes DNSMASQ to listen on any network interface configured with
an IP address of '192.168.122.1', 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.
Cheers,
Mark.