[Dnsmasq-discuss] dnsmasq won't quit if listening on 'empty'
bridge?
Simon Kelley
simon at thekelleys.org.uk
Tue Mar 31 09:19:11 BST 2009
Paul Chambers wrote:
> As part of a nightly script on my linux server, dnsmasq is restarted (to
> pick up updates to a block list). However, for the last few days, it's
> failed to restart.
>
> The observed behavior is that the (newly rotated) log is empty, the last
> line of the old log reports being terminated by sigterm, and netstat
> reports that dnsmasq is still listening to TCP/UDP port 53 on
> 192.168.122.1:53, and UDP 53 on 0.0.0.0. It is no longer listening to
> the other interfaces on that machine (several real + alias interfaces).
> I have bind-interfaces and except-interface=br0 in the config file.
>
> 192.168.122.1 is bound to virbr0 (not br0), which is a bridge created
> when I recently installed kvm (kernel virtual machine). I have not added
> any 'real' interfaces to this bridge yet.
>
> The strangest part is that I can't recreate this by typing the same
> command into the shell as is used by the script (service dnsmasq
> restart). Nor by running the script itself manually. It only happens
> when cron runs the script.
>
> I'm running dnsmasq 2.46 on Fedora 10 (2.6.27.19-170.2.35.fc10.i686.PAE)
>
> Any ideas?
Are you using libvirt? The latest incarnations of libvirt use a
"private" instance of dnsmasq to provide DNS and boot services it the
virtual machines. Maybe that's what you are seeing?
Simon.
More information about the Dnsmasq-discuss
mailing list