Networking Guide
Chapter 6, Configuring the Domain Name Service

Configuring a secondary server

Configuring a secondary server

  1. Copy /etc/named.b.sec to /etc/named.boot. 

  2. Edit /etc/named.boot to contain the zones for which the server is secondary, including zone names, file locations, and the IP address of the primary server. For an annotated version of /etc/named.boot, with descriptions of each line, see ``Sample /etc/named.boot file''.

  3. If needed, edit /etc/named.boot to contain the IP address of one or more forwarders.

  4. If needed, edit /etc/named.boot to add the slave directive.

  5. Start the DNS daemon, named, from the command line. Once configured, named starts and stops automatically as the system moves in and out of multiuser mode.

  6. Test DNS by using nslookup to look up a remote name.

The following is an example boot file for the secondary server istanbul.
   ;
   ; Boot file for Secondary Name Server istanbul.mynet.COM (132.147.246.25)
   ;
   ; type       domain                    source file or host
   ;
   

directory /etc/named.d secondary mynet.COM 132.147.118.1 mynet.hosts secondary 147.132.in-addr.arpa 132.147.118.1 mynet.rev primary 0.0.127.in-addr.arpa named.local cache . root.cache forwarders 132.147.246.5 132.147.246.8 slave

See also: