Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

Appendix B 199
BIND 8 Configuration File
acl can_query { !1.2.3/24; any; }; // network 1.2.3.0 mask 255.255.255.0
// is disallowed; rest are OK
acl can_axfr { 1.2.3.4; can_query; }; // host 1.2.3.4 and any host allowed
// by can_query are OK
zone “non-default-acl.demo.zone” {
type master;
file “foo”;
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:
*