Name Server Configuration FileThe standard name server software is called BIND (Berkeley Internet Name Daemon). On Unix systems, the software component is called named or in.named, in VMS+MultiNet systems, the service is called DOMAINNAME. The default configuration file is as follows: /*
** MULTINET:NAMED.CONF
** Sample configuration file for a caching-only name server.
**
** NOTE: Do not edit NAMED_CONF.DEFAULT. Copy this to NAMED.CONF first.
** NAMED_CONF.DEFAULT is replaced when MultiNet is re-installed.
*/
options {
/* The following are defaults, but shown for examples */
fake-iquery no;
check-names master fail;
check-names slave warn;
check-names response ignore;
/* get bind4-like behavior of listing local nets first */
sortlist {
{ localhost; localnets; };
{ localnets; };
};
/* round-robin A,NS,MX records only */
rrset-order {
class IN type A name "*" order cyclic;
class IN type NS name "*" order cyclic;
class IN type MX name "*" order cyclic;
order fixed;
};
};
/* disable the default control socket */
controls {
inet 127.0.0.1 port 101 allow { none; };
};
zone "." in {
type hint;
file "MULTINET:DOMAIN-NAME-SERVICE.CACHE";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "MULTINET:DOMAIN-NAME-SERVICE.LOCAL";
};
/*
** Uncomment the following lines if you have problems resolving
** LOCALHOST as a domain name.
*/
//zone "localhost" in {
// type master;
// file "MULTINET:DOMAIN-NAME-SERVICE.LOCALHOST";
//};
The options section controls global server configuation options and sets defaults for other statements Each of the zone sections specifies a domain and how the server show treat that domain. Zone statements are used to make a server a master (previously refered to as a primary) or slave (previously refered to as a secondary) for a domain. The zone tpye hint loads the file i that contains the address of the root name servers–the name servers that know all about .com, .edu, .mil, and so on. This file should be kept reasonably up to date. The current version can be downloaded using anonymous FTP from RS.InterNIC.NET in /domain/named.root. |
