Alvin Lovi
2018-06-08 09:31:23 UTC
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
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