Technical data

Configuring and Managing BIND
5.4 Populating the BIND Server Databases
Compaq suggests that you do not change the default directory name. If you do,
the file is created in your current directory.
On the command line, specify the full OpenVMS file specification. Do not specify
a version number, and do not use wildcards. The following example uses the
domain
ucx.ern.sea.com
, creates a UCX_ERN_SEA_COM.DB file, creates a
208_20_9_IN-ADDR_ARPA.DB file, and checks the results by displaying directory
listings with the new file.
TCPIP> CONVERT/UNIX BIND /DOMAIN=UCX.ERN.SEA.COM
TCPIP> CONVERT/UNIX BIND /DOMAIN=208.20.9.IN-ADDR.ARPA
TCPIP> SET DEFAULT SYS$SPECIFIC:[TCPIP$BIND]
$ DIRECTORY
Directory SYS$SPECIFIC:[TCPIP$BIND]
127_0_0.DB;1 208_20_9_IN-ADDR_ARPA.DB;1
LOCALHOST.DB;1
LOGIN.COM;1 ROOT.HINT;1 TCPIP$BIND.CONF;1
TCPIP$BIND_CONF.TEMPLATE;1 TCPIP$BIND_RUN.LOG;4339
TCPIP$BIND_SERVER.PID;1 UCX_ERN_SEA_COM.DB;5
5.4.2 Manually Editing Zone Files
All name server zone files use the same type of records to define domain database
information. Compaq recommends that you review these resource records before
editing any BIND files. The standard resource records (RR) are summarized in
Table 5–11.
Table 5–11 Standard Resource Record Types
Record Type Description
SOA Start of authority. Marks the beginning of a zone’s data and defines
parameters that affect the entire zone.
NS Name server. Identifies a domain’s name server.
A Address. Maps a host name to an address.
PTR Pointer. Maps an address to a host name.
MX Mail Exchange. Identifies where to deliver mail for a given domain.
CNAME Canonical name. Defines an alias host name.
HINFO Host information. Describes a host’s hardware and operating system.
WKS Well-known service. Advertises network services.
The format of DNS records is as follows:
[name][ttl]INtype data
In this format:
name Specifies the name of the domain object referenced by a resource record.
The string entered for name is the current domain unless it ends with a
dot. If the name field is blank, the record applies to the domain object
last named.
ttl Defines the length of time, in seconds, that the information in this
resource record should be kept in cache. Usually, the time-to-live field
is left blank, and the default ttl, set for the entire zone SOA record, is
used.
5–26 Configuring and Managing BIND