[Dnsmasq-discuss] log locations

Simon Kelley simon at thekelleys.org.uk
Thu Jan 3 16:48:38 GMT 2008


Philippe Faure wrote:
> Hello.
> 
> I am trying to debug a problem of why a PC is getting an IP address outside of
> the Dhcp server allocated range
> 
> dhcp-range=192.168.0.47,192.168.0.62,168h
> 
> but the Ip received is 192.168.0.37
> 
> [root at philserver root]$ dnsmasq -v
> Dnsmasq version 2.22  Copyright (C) 2000-2005 Simon Kelley
> 
> This software comes with ABSOLUTELY NO WARRANTY.
> Dnsmasq is free software, and you are welcome to redistribute it
> under the terms of the GNU General Public License, version 2.
> 
> I was looking for any of the following:
> DHCPDISCOVER
> DHCPOFFER
> DHCPREQUEST
> DHCPACK
> 
> in the syslog file, but couldn't find them.
> 
> log-queries is not commented.
> using the default log file location of /var/log/syslog
> 
> All other dnsmasq requests seem to get logged, but not dhcp initiations.
> 
> Any assistance would be apprecaited.
> 
> Philippe
> 
>

Those events log at log-level info: check you syslogd.conf to see where
they're going.

2.22 is very old, you might like to upgrade to 2.40, I think that may
fix the bug, and even if it doesn't, you can do

log-facility=/var/log/dnsmasq

and get all the logging in one place.

Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list