How to log blocked queries in dnsmasq (pls help and thx) reddit / selfhosted ---------------------------------------------------------------------- YogurtclosetTough657 · 2023-10-01 09:45 I configured my dnsmasq to block some queries and I want to log it, the problem is that dnsmasq can't log them in dnsmasq,log file. Is there a way to log blocked quereies. THX ---------------------------------------------------------------------- thekrautboy · 2023-10-01 14:07 No. Log all queries and then simply filter the rest out. Or just use Pihole instead which is more aimed at such a purpose. ---------------------------------------------------------------------- YogurtclosetTough657 · 2023-10-01 14:41 I'm trying to recreate Pi-hole, in this case how do you recommend logging all the DNS queries? Thx for answering. ---------------------------------------------------------------------- thekrautboy · 2023-10-01 14:43 Have you simply looked at the dnsmasq documentation? Example: `log-queries log-facility=/tmp/dnsmasq.log` https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html