7
1
How to verify dnsmasq
's configuration?
dnsmasq
used to be able to give verbose info about itself in /var/log/daemon.log
, as explained in dnsmasq testing.
However, when I restarted my dnsmasq service, nothing is logged to /var/log/daemon.log
:
% echo " *** DEBUG `date --rfc-3339=seconds` DEBUG *** " >> /var/log/daemon.log
% service dnsmasq restart
* Restarting DNS forwarder and DHCP server dnsmasq [ OK ]
% tail /var/log/daemon.log
*** DEBUG 2013-11-27 23:04:08-05:00 DEBUG ***
This is Ubuntu 13.10 Saucy.
thanks. It worked for me as well, that was Debian. Thanks for the grep tip, now I found that in Ubuntu 13.10 Saucy
dnsmasq
logs tosyslog
instead ofdaemon.log
, even though the man page still says send syslog entries defaults to DAEMON. – xpt – 2013-11-29T02:22:06.063