Configuring and Managing MPE/iX Internet Services (August 2002)
Appendix B
BIND 8 Configuration File
220
allow-query { can_query; };
allow-transfer { can_axfr; };
allow-update {
1.2.3.4;
5.6.7.8;servers.
};
};
key sample_key { // for TSIG; supported by parser
algorithm hmac-md5; // but not yet implemented in the
secret “your secret here”; // rest of the server
};
key key2 {
algorithm hmac-md5;
secret “ereh terces rouy”;
};
server 1.2.3.4 {
bogus no; // if yes, we won’t query or listen
// to this server
transfer-format one-answer; // set transfer format for this
// server (see the description of
// ‘transfer-format’ above)
// if not specified, the global option
// will be used
transfers 0; // not implemented
keys { sample_key; key2; }; // for TSIG; supported by the parser
// but not yet implemented in the
// rest of the server
};
logging {
/*
* All log output goes to one or more “channels”; you can make as
* many of them as you want.
*/
channel syslog_errors { // this channel will send errors or
syslog user; // or worse to syslog (user facility)
severity error;
};
/*
* Channels have a severity level. Messages at severity levels
* greater than or equal to the channel’s level will be logged on
* the channel. In order of decreasing severity, the levels are:
*
* critical a fatal error
* error
* warning
* notice a normal, but significant event
* info an informational message
* debug 1 the least detailed debugging info
* ...
* debug 99 the most detailed debugging info
*/
/*
* Here are the built-in channels:
*
* channel default_syslog {
* syslog daemon;
* severity info;
*};
*
* channel default_debug {
* file “named.run”;
* severity dynamic; // this means log debugging
* // at whatever debugging level
* // the server is at, and don’t
* // log anything if not
* // debugging