[Dnsmasq-discuss] logging dns queries

Matthias Andree matthias.andree at gmx.de
Fri Mar 18 17:30:19 GMT 2011


Am 18.03.2011 14:46, schrieb Helmut Hullen:
> Hallo, Olaf,
>
> Du meintest am 18.03.11:
>
>>> Can I tell "dnsmasq" too to log the queries?
>
>> Find manual. Read manual. Look for --log-queries.
>
> It works - thank you!
> But it's not as comfortable as the ISC-bind form: there I can define a
> special log file only for named queries.

If you want BIND, use BIND. It's as simple as that. :-)

> Under "dnsmasq" there's only 1 log file for all messages (if I've
> understood this nice program right), and then it's an ugly job to find
> the few interesting lines in a rapidly growing file.

There is sufficient log analysis software afoot, and there are also 
syslog daemons that can sort logged messages into separate files.

> In other words: can I tell "dnsmasq" to use one file for DHCP logging
> (that works - thanks to Simon), another file for named queries and a
> third file for all the other stuff?

I believe that Simon's documentation is complete, in other words, all 
features are documented in the manual page.

-- 
Matthias Andree



More information about the Dnsmasq-discuss mailing list