HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

h
hosts_to_named(1M) hosts_to_named(1M)
-o refresh:retry:expire:min
Set the values in the start-of-authority (SOA) record to those specified. See below for
description of the start-of-authority (SOA) record.
-p domain Create only pointer (PTR) data for hosts in domain. This is useful when there are
multiple domains on a network and a different server is responsible for domain, but
this server is responsible for the address-to-name mapping. This option can be used
more than once on the command line. This option requires domain names in the host
table.
-q Run quietly. No messages are printed.
-r Create name server data indicating that the name server is authoritative for
. (the
root of the domain tree). The file created is
db.root. Use this only when your net-
work is isolated from the Internet. If other root servers exist for the isolated network,
they must be added manually.
-s server Create name server (NS) records that declare server is an authoritative name server
for all of the domains created. If more than 1 server is authoritative, each needs to be
declared. If the server name does not have any dots in it, the default domain is
appended. The default server is the host this script is run on. This option can be used
more than once on the command line.
-t Create text (TXT) records from the comments that appear with host data. The com-
ments will all be in lower case because the host table is translated to lower case. If
[no smtp] appears in a comment, it is omitted. The [no smtp] is used to con-
trol mail exchanger (MX) data.
-u user Declare user to be the electronic mail address of the person responsible for this
domain. This is used in the start of authority (SOA) record. The format required in
the name server data is user.host (host must be a domain name). If given as user,
the host on which this script is run is appended. If given as user@host, the @ is
replaced with a dot (
.). The default user is root.
-w Create well known services (WKS) data declaring that the host provides the SMTP
service. This is done only when mail exchanger (MX) data is also being created and
only for hosts without
[no smtp] in a comment.
-z internet-address
Create a secondary boot file, boot.sec.save
(if named is 4.x) or
conf.sec.save (if named is 8.x), from the primary boot file listing internet-
address as the server to load the data from. The boot file has the server back up the
data on disk. The internet-address defaults to the value used with
-Z. This option
can be used more than once.
-A Do not create name server data for aliases in the host table.
-C file Create resource records from strings in the comment field of the host table. Each
string in the comment field (except [no smtp] ) is searched for in file. The format
of file is a string, a colon, and a resource record. If the string in the comment field
matches the string before the colon in file, a resource record is added consisting of the
name of the host followed by everything after the colon from the matching line in file.
For example, host information (HINFO) records can be created by adding
360:IN
HINFO hp9000s360 hp-ux
to file and adding 360 to comments in the host table.
-D Do not create name server data for domain names in the host table.
-F By default, the serial number is incremented for a domain only if the data has
changed (pointer (PTR) data only). This option forces the serial number to be incre-
mented, even if the data has not changed.
-H host-file Use host-file instead of /etc/hosts .
-M Do not create mail exchanger (MX) records for hosts in the host table.
-N mask Apply the default subnet mask mask to each network-number specified with -n
except for ones with their subnet masks already provided. mask must be in dot nota-
tion. This is the same as supplying each network-number for a subnet using multiple
-n options.
Section 1M314 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005