HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
h
hosts_to_named(1M) hosts_to_named(1M)
notation. This option is not applicable for creating IPv6 addresses.
-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 one server is authoritative, each needs to
be declared. If the server name does not have any dots in it, the default domain is
appended. If you do not specify the
-s option, the default name server is the host on
which you execute the script. You can use this option more than once on the com-
mand line to specify multiple name servers.
-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. This option applies to all the
domains generated by hosts_to_named
. If you specify this option more than
once, the last value will be used.
-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 or 9.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.You
can specify this option more than once to declare multiple servers from which data can
be loaded.
Note: All the servers declared using this option will be listed for all the domains.
-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.
346 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: December 2007 Update