I would like to know if it's possible to log the output of each dns query.
I'd like to do this to catch failed queries so I can see what people are
looking for, and not finding, and add it for them if it should be there. I
recently lost my old dns server so I have to start from scratch.

This is my current logging configuration:

logging {
    channel log {
       file "/var/log/named/named.log"
            versions 10
            size 100m;
       severity debug 9999;
       print-time yes;
       print-severity yes;
       print-category yes;
    category default { log; };
    category queries { log; };

as far as I can tell, this is set up to log everything ever. but, I still
don't get the actual query result in the log. Is there a way to do this?

If not, that's ok, I'll set up a tcpdump script to do it. but I thought I
would make sure there isn't a built-in method in bind first.

thanks for any advice.

bind-users mailing list

Reply via email to