Configuring and Managing MPE/iX Internet Services (August 2002)

Appendix B
BIND 8 Configuration File
221
*};
*
* channel null { // this is the bit bucket;
* file /dev/null // any logging to this channel
* // is discarded.
*
};
*
* channel default_stderr { // writes to stderr
* file <stderr>; // this is illustrative only;
* // theres currently no way
* // of saying stderr in the
* // configuration language.
* // i.e. dont try this at home.
* severity info; * };
*
* default_stderr only works before the server daemonizes (i.e.
* during initial startup) or when it is running in foreground
* mode (-f command line option).
*/
/*
* There are many categories, so you can send the logs
* you want to see wherever you want, without seeing logs you
* dont want. Right now the categories are
*
* default the catch-all. many things still
* arent classified into categories, and
* they all end up here. also, if you
* dont specify any channels for a
* category, the default category is used
* instead.
* config high-level configuration file
* processing
* parser low-level configuration file processing
* queries what used to be called query logging
* lame-servers messages like Lame server on ...
* statistics
* panic if the server has to shut itself
* down due to an internal problem, it
* logs the problem here (as well as
* in the problems native category)
* update dynamic update
* ncache negative caching
* xfer-in zone transfers were receiving
* xfer-out zone transfers were sending
* db all database operations
* eventlib debugging info from the event system
* (see below)
* packet dumps of packets received and sent
* (see below)
* notify the NOTIFY protocol
* cname messages like XX points to a CNAME
* security approved/unapproved requests
* os operating system problems
* insist consistency check failures
* maintenance periodic maintenance
* load zone loading
* response-checks messages like
* Malformed response ...
* wrong ans. name ...
* unrelated additional info ...
* invalid RR type ...
* bad referral ...
*/
category parser {
syslog_errors; // you can log to as many channels
default_syslog; // as you want
};
category lame-servers { null; }; // dont log these at all