[Dnsmasq-discuss] Unable to log dns queries

Alvin Lovi alvinlovi80 at gmail.com
Fri Jun 8 10:31:23 BST 2018


Hi,
I've configured dnsmasq v. 2.71 in order to provide dns services for
two different interfaces (ethernet and wifi) but i'm not able to log
dns queries performed through wifi interface (the eht0 one works
well).
I've enabled the following log rules in dnsmasq.conf

log-dhcp
log-queries
log-facility=/var/log/dnsmasq.log

If I'm using eth0 interface I see dhcp and dns logs in "real time".
However I see only dhcp logs if wifi interface is used.
I've also noticed a strange behavior: if tcpdump is in listening mode
(tcpdump -i wlan0), all dns logs are written in dnsmaq.log.
How can I configure dnsmasq in order to see dns logs for all interfaces?
Thanks



More information about the Dnsmasq-discuss mailing list