named(1M) TCP/IP 5.4R3.00 named(1M)
NAME
named - Internet domain name server
SYNOPSIS
named [ -d debug ] [ -p portnumber ] [ [ -b ] bootfile ]
DESCRIPTION
The named daemon is the name server program of the domain name
system. When invoked without arguments, named reads the default boot
file /etc/named.boot, reads any initial data, and listens for
queries.
Options are as follows:
-d Print debugging information. A number after the d determines
the amount and detail of debugging information printed.
-p Use a different port number. The default is port number 53.
-b Use an alternate bootfile.
Any additional argument is interpreted as the name of the boot file.
The named boot file contains information about where the name server
should get its initial data. The following is a small example:
; boot file for name server
;
; type domain source file or host
;
domain abc.com
primary abc.com named.boot
secondary cc.abc.com 128.223.1.78 10.32.1.10
cache . root.cache
The first uncommented line specifies that abc.com is the domain for
which the server is authoritative. The second line states that the
file named.boot contains authoritative data for the domain abc.com.
The file named.boot contains data in the master file format described
in RFC 883 except that all domain names are relative to the origin;
in this case, abc.com (see below for a more detailed description).
The next line specifies that all authoritative data under cc.abc.com
is to be transferred from the name server at 128.223.1.78. If the
transfer fails it will try 10.32.1.10 and continue trying the
addresses listed on this line. You can list as many as ten addresses
on the line. The secondary copy is also authoritative for the
specified domain.
The fourth line specifies data in root.cache is to be placed in the
cache (in this case, well known data such as locations of root domain
servers). The file root.cache is in the same format as named.boot.
A boot file consists of entries of the form:
$INCLUDE filename
Licensed material--property of copyright holder(s) 1
named(1M) TCP/IP 5.4R3.00 named(1M)
$ORIGIN domain
domain optttl optclass type resourcerecorddata
where domain is "." for root, "@" for the current origin, or a
standard domain name. If domain is a standard domain name that does
not end with ``.'', the current origin is appended to the domain.
Domain names ending with ``.'' are unmodified. The optttl field is
an optional integer number for the time-to-live field. It defaults
to zero. The optclass field is the object address type; currently
only one type is supported, IN, for objects connected to the DARPA
Internet. The type field is one of the following tokens; the data
expected in the resourcerecorddata field is in parentheses.
A a host address (dotted quad)
NS an authoritative name server (domain)
MX a mail exchanger (domain)
CNAME the canonical name for an alias (domain)
SOA marks the start of a zone of authority (5 numbers (see RFC
883))
MB a mailbox domain name (domain)
MG a mail group member (domain)
MR a mail rename domain name (domain)
NULL a null resource record (no format or data)
WKS a well know service description (not yet implemented)
PTR a domain name pointer (domain)
HINFO host information (cpu_type OS_type)
MINFO mailbox or mail list information (request_domain
error_domain)
NOTES
The following signals have the specified effect when sent to the
server process using the kill(1) command.
SIGHUP Causes server to read named.boot and reload database.
SIGINT Dumps current data base and cache to /var/adm/nameddump.db
SIGUSR1 Turns on debugging; each SIGUSR1 increments debug level.
SIGUSR2 Turns off debugging completely.
Licensed material--property of copyright holder(s) 2
named(1M) TCP/IP 5.4R3.00 named(1M)
FILES
/etc/named.boot name server configuration boot file
/etc/named.pid the process id
/var/adm/named.log debug output
/var/adm/nameddump.db dump of the name servers database
SEE ALSO
kill(1), nslookup(1M), gethostbyname(3N), resolver(3C), signal(3C),
resolv.conf(4M).
Licensed material--property of copyright holder(s) 3