Table of Contents
Resource Records
Resource Records are records that specify different types of zone data. Although there is no fixed limit to the number of Resource Records a zone may own, in general, a zone may own one or more Resource Records of a given type, or none. There are some exceptions depending on the types involved.
All Resource Records have the following required entries:
- Name---The name (host) that owns the record, such as example.com.
- Class (not required for all formats)--- DNS supports only the IN (Internet) class of record.
- TTL (Time To Live)---Amount of time the record can be stored in cache. It is expressed in seconds. If you do not include a TTL, Network Registrar uses the zone default TTL.
- Type---The type of the record. There are many types defined by various RFCs, although 10 or fewer are in common use.
- Record data---Data types whose format and meaning varies with record type.
The following are descriptions of the most common Resource Records.
The Address (A) record provides the name-to-address mapping for the zone. It contains an IP address in dotted decimal form. There must be at least one A record for each host address.
The name specified is the host name expressed as FQDN (ns.example.com.). Note the trailing dot. The data is an IP address.
The presence of one or more A records indicates that the owner's name is the name of a host.
The Canonical Name (CNAME) record is used for aliases or nicknames. The data portion is the official or canonical name. You cannot have any other Resource Records associated with a CNAME.
Aliases are useful when you want the outside world to know a single, easily remembered name. You can also use aliases when a host changes its name. In that case, make sure that you have a CNAME pointer so that when people use the original name it can be resolved to the newer name.
The Host Info (HINFO) record provides information about a particular host. The data contains a description of the hardware and software. The hardware description contains the name of the manufacturer and the model number. The software description contains the name of the operating system.
The Mail Exchange (MX) record specifies where the mail for a domain name should be delivered. You can have several MX records for a single domain name, and they can be ranked in order of preference.
The Name Server (NS) record lists the name of the machine that provides domain service for the particular domain. Machines that provide name service do not have to reside in the named domain. For each domain you must have at least one NS record. NS records for a domain must exist in both the zone that delegates the domain and in the domain itself.
NS record names must have an equivalent A record (that is, they cannot point to an alias).
The Pointer (PTR) record enables you to point to some other location in the domain tree. They are used for reverse mapping, specifically in the IN-ADDR.ARPA zones for translation of addresses to names. PTRs use official names not aliases.
The Start of Authority (SOA) record designates the start of a zone and ends at the NS records, but the SOA record must be at the root. Every zone must have a single SOA record. The SOA record indicates the name of the machine with master data (the primary name server). The record also contains the e-mail address of the zone's administrator. It informs secondary name servers about the timing of zone transfers.
This record contains:
- The name of the zone
- The name of the primary server
- The name of the person responsible for the zone
- The serial number of the zone file
- The secondary refresh time
- The secondary retry time
- The secondary expire time
- The secondary minimum Time To Live (TTL)
The Text (TXT) record contains strings of less than or equal to 256 characters that can contain any type of information.
The Well Known Services (WKS) record lists the Well Known Services a host provides on a particular IP protocol. The common protocols are TCP and UDP. The common services are TIME, TELNET, FTP, or SMTP.
Table A-1 lists all the Resource Record types Network Registrar supports.
.
Table A-1: Resource Records
| Name
| Data Type
| Description
|
A
| 1
| Host address
|
AAAA
| 28
| SIPv6 Address
|
AFSDB
| 18
| AFS cell database
|
CNAME
| 5
| Canonical name
|
HINFO
| 13
| Host information
|
ISDN
| 20
| ISDN calling address
|
LOC
| 29
| Location information
|
MB
| 7
| Mailbox domain name
|
MG
| 8
| Mail group member
|
MINFO
| 14
| Mailbox information
|
MR
| 9
| Mail rename name
|
MX
| 15
| Mail routing information
|
NS
| 2
| Authoritative server
|
NSAP
| 22
| NSAP address
|
PTR
| 12
| Domain name pointer
|
PX
| 26
| X.400 mail mapping
|
RP
| 17
| Responsible person
|
RT
| 21
| Router
|
SOA
| 6
| Start of authority zone
|
SVR
| 33
| Server selection
|
TXT
| 16
| Text strings
|
WKS
| 11
| Well known service
|
X25
| 19
| X.25 calling address
|







Posted: Thu Nov 18 12:24:26 PST 1999
Copyright 1989-1999©Cisco Systems Inc.