Configuring and Managing MPE/iX Internet Services (August 2002)
Appendix C
BIND 8.1 Enhanced Features
BIND 8 Highlights
226
category default { default_syslog; default_debug; };
As an example, you want to log security events to a file, but you also want keep the default logging behavior.
You’d specify the following:
channel my_security_channel {
file “my_security_file”;
severity info
};
category security { my_security_channel; default_syslog; default_debug; };
To discard all messages in a category, specify the null channel:
category lame-servers { null; };
category cname { null; };
The following categories are available:
default The catch-all. Many things still aren’t classified into categories, and they
all end up here. Also, if you don’t specify any channels for a category, the
default category is used instead. If you do not define the default category,
the following definition is used:
category default { default_syslog; default_debug; };
config High-level configuration file processing.
parser Low-level configuration file processing.
queries A short log message is generated for every query the server receives.
lame-servers Messages like “Lame server on ...”
statistics Statistics.
panic If the server has to shut itself down due to an internal problem, it will log
the problem in this category as well as in the problem’s native category. If
you do not define the panic category, the following definition is used:
category panic { default_syslog; default_stderr; };
update Dynamic updates.
ncache Negative caching.
xfer-in Zone transfers the server is receiving.
xfer-out Zone transfers the server is sending.
db All database operations.
eventlib Debugging info from the event system. Only one channel may be specified
for this category, and it must be a file channel. If you do not define the
eventlib category, the following definition is used: category eventlib {
default_debug; };
packet Dumps of packets received and sent. Only one channel may be specified
for this category, and it must be a file channel. If you do not define the
packet category, the following definition is used: category packet {
default_debug; };
notify The NOTIFY protocol.
cname Messages like “... points to a CNAME”.
security Approved/unapproved requests.
os Operating system problems.