Networking Guide
Chapter 6, Configuring the Domain Name Service

Configuring a primary server

Configuring a primary server

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

  2. Edit /etc/named.boot to contain the zones for which the server is primary, including zone names and file locations. 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 stub servers. 

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

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

  6. Create the database file(s) for the zone.

  7. 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.

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

The following is an example boot file for a primary server:
   ;
   ; Boot file for Primary Master Name Server
   ;
   

; ; type domain source file or host ;

directory /etc/named.d primary volga.mynet.COM mynet.hosts primary 147.132.in-addr.arpa mynet.rev primary 0.0.127.in-addr.arpa named.local cache . root.cache

See also: