Bind DNS server request logging
November 25th, 2009I needed to log all requests to our Bind DNS servers so that we could find out which servers and computers were still using them for DNS resolution before we decomissioned them.
This named.conf config entry proved most useful. I’ve posted it here so that everytime I need to do this, I don’t start from scratch trying to figure it out again - three times now! Hopefully other people will find it useful.
logging {
channel simple_log {
file "/var/log/named/bind.log" versions 3 size 5m;
severity info;
print-time yes;
print-severity yes;
print-category yes;
};
category queries {
simple_log;
};
};
No Responses to “Bind DNS server request logging”