System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

Name Server (NS)

The Example 5–21 example shows the syntax of a name-server (NS) resource record.


Example 5–21 NS Record Format


domainname [optional TTL] class NS name-server-name

The name-server record lists by name a server responsible for a given domain. The name field lists the domain that is serviced by the listed name server. If no name field is listed, then it defaults to the last name listed. One NS record should exist for each master and slave server for the domain. Example 5–22 is a sample NS resource record.


Example 5–22 Sample NS Resource Record


;domainname    [TTL] 	 class	NS	nameserver
doc.com        90000     IN	NS 	sirius.doc.com.