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.<br>
<br>This is my current logging configuration:<br><br>logging {<br> channel log {<br> file "/var/log/named/named.log"<br> versions 10<br> size 100m;<br> severity debug 9999;<br>
print-time yes;<br> print-severity yes;<br> print-category yes;<br> };<br> category default { log; };<br> category queries { log; };<br>};<br><br>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?<br>
<br>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.<br><br>thanks for any advice.<br><br>-wes<br>