Bind Logging
Log to a file with enough information to make it useful. CAUTION: there's no built in log rotation, you get to roll your own.
logging {
channel named_log {
file "/var/log/named.log";
severity debug;
print-severity yes;
print-time yes;
print-category yes;
};
category default {
named_log;
};
};
Alternatively, just log to syslog and let that handler deal with it. Usually the system has some built in syslog rotation.
logging {
channel named_log {
syslog daemon;
severity debug;
};
category default {
named_log;
};
};