Configuring and Managing MPE/iX Internet Services (August 2002)
Chapter 8
DNS BIND/iX
Server Configuration File named.conf
123
Advanced users may need to refer to Appendix B, “BIND 8 Configuration File,” for a complete list of directives
that can be configured for BIND 8. The following is the template /BIND/PUB/etc/named.conf file:
options {
directory “/BIND/PUB/etc”;
// The following is the IP address of the MPE/iX system that is running NAMED.
// YOU MUST CHANGE THIS TO BE YOUR OWN IP ADDRESS!
listen-on { nnn.nnn.nnn.nnn; ];
};
/*** List any servers here that you communicate with that are also running BIND 8.1 or greater. Replace
ALL OF THESE with your own servers, if any. ***/
server nnn.nnn.nnn.nnn {
transfer-format many-answers;
};
// Defines the root. From ftp://rs/internic.net/domain/named.root.
zone “.” {
type master;
file “zone.hint”
};
// DNS optimiation tricks for “special” addresses. You will need to
// edit all of these files to specify the hostname of your own nameserver
// and the e-mail address of the DNS maintainer.
zone “0.0.127.in-addr.arpa” {
type master;
file “zone.127.0.0”;
};
zone “0.in-addr.arpa” {
type master;
file “zone.bogus.0”;
};
zone “255.in-addr.arpa” {
type master;
file “zone .bogus.255”;
};
// A master zone. Substitute one of your own zones here.
// Slave zones. Replace ALL OF THESE with your own.
zone “csy.hp.com” {
type slave;
file “zone.slave”;
master { nnn.nnn.nnn.nnn; nnn.nnn.nnn.nnn; }
Configuring Master Zones
A sample configuration unit for a master zone is shown here:
Example:
zone “43.10.15.IN-ADDR.ARPA” {
type master;
file “zone.15.10.43”;
};
The file zone.15.10.43 will have entries like:
IN SOA bindserver.india.hp.com. bind_admin.india.hp.com. (
104 ; Serial
10800 ; Refresh every 3 hours
3600 ; Retry every hour
604800 ; Expire after a week
86400 ) ; Minimum ttl of 1 day
IN NS bindserver.india.hp.com.