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

Address (A)

Example 5–23 shows the syntax of an address (A) resource record:


Example 5–23 Address Record Format


	
machinename	[optional TTL] class A	address

The A record lists the address for a given machine. The name field is the host name, and the address is the IP address. One A record should exist for each address of the machine (in other words, routers, or gateways require at least two entries, a separate entry including the IP address assigned to each network interface).


Example 5–24 Sample Address Record


;machinename	[TTL]	class	A	address
sirius		IN		A	123.45.6.1