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

Appendix B
BIND 8 Configuration File
219
/*
* Interval Timers
*/
clean-interval 60; // clean the cache of expired RRs
// every clean-interval minutes
interface-interval 60; // scan for new or deleted interfaces
// every interface-interval minutes
statistics-interval 60; // log statistics every
// statistics-interval minutes
};
zone master.demo.zone {
type master; // what used to be called primary
file master.demo.zone;
check-names fail;
allow-update { none; };
allow-transfer { any; };
allow-query { any; };
// notify yes; // send NOTIFY messages for this
// zone? The global option is used
// if notify is not specified
// here.
also-notify { }; // dont notify any nameservers other
// than those on the NS list for this
// zone
};
zone slave.demo.zone {
type slave; // what used to be called secondary
file slave.demo.zone;
masters {
1.2.3.4; // where to zone transfer from
5.6.7.8;
};
check-names warn;
allow-update { none; };
allow-transfer { any; };
allow-query { any; };
max-transfer-time-in 120; // if not set, global option is used. also-notify {
}; // dont notify any nameservers other
// than those on the NS list for this
// zone
};
zone stub.demo.zone {
type stub; // stub zones are like slave zones,
// except that only the NS records
// are transferred.
file stub.demo.zone;
masters {
1.2.3.4; // where to zone transfer from
5.6.7.8;
};
check-names warn;
allow-update { none; };
allow-transfer { any; };
allow-query { any; };
max-transfer-time-in 120; // if not set, global option is used.
};
zone . {
type hint; // used to be specified w/ cache
file cache.db;
};
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;