Configuring and Managing MPE/iX Internet Services (MPE/iX 6.0)
Appendix B 155
BIND 8 Configuration File
listen-on port 53 { any; }; // listen for queries on port 53 on
// any interface on the system
// (i.e. all interfaces). The
// “port 53” is optional; if you
// don’t specify a port, port 53
// is assumed.
/*
* Multiple listen-on statements are allowed. Here’s a more
* complicated example:
*/
/*
listen-on { 5.6.7.8; }; // listen on port 53 on interface
// 5.6.7.8
listen-on port 1234 { // listen on port 1234 on any
!1.2.3.4; // interface on network 1.2.3
1.2.3/24; // netmask 255.255.255.0, except for
}; // interface 1.2.3.4.
*/
/*
* 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 { }; // don’t 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 { }; // don’t notify any nameservers other
// than those on the NS list for this
// zone
};