Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.2;hostns, revision 2.0, 89/03/31
hostns - convert host table files to resource record format
usage: hostns [(-f file] [-d domain] [-h host] [-n subnet_id] [-s major.minor] [-u user] [-N]



DESCRIPTION
     The hostns command converts host address information obtained from an
     existing /etc/hosts format file (see hosts) into Standard Resource Record
     Format for use by named.  It is intended to serve as an aid in bringing
     up the name server on an existing network.  By default, hostns uses host
     address mapping information contained in the file /etc/hosts.

OPTIONS
     -f file     Specify an alternate host address mapping file, named file.

     -d domain   Use domain as the domain name for the local zone.  Normally
                 if the current machine's hostname contains any dots, the
                 portion of the hostname after the first dot is taken to be
                 the domain name for the local zone.  If there are no dots in
                 the hostname, the domain name defaults to .MY.DOMAIN.

     -h host     Build files for a different host.  Normally hostns assumes
                 named will be run on the local machine and generates
                 nameserver records.

     -n  subnet_id
                 Limit the conversion to the specific subnet.  Normally,
                 hostns converts all of the entries in the specified
                 /etc/hosts file.  subnet_id may be specified in hexadecimal
                 or in the standard Internet "dotted address" format.  The -n
                 option may be specified, with a different subnet_id, up to
                 five times.

     -s major.minor
                 Set the serial number in the Start of Authority (SOA) record
                 to major.minor instead of 1.1.  The serial number is used to
                 detect updates in a running network.

     -u user     Specify user as the responsible administrator.  Normally,
                 hostns assumes the user responsible for network
                 administration is the user running the program.

Domain/OS EXTENSION
     -N          Suppress hostns from filling the initial cache file,
                 named.ca, with SRI entries.  Use this option if your TCP/IP
                 network is not participating in the ARPANET.

FILES
     The following files are produced:

     named.boot          boot file
     named.ca            initial cache data
     named.local         localhost reverse pointer
     named.hosts         hosts file
     named.rev           hosts file reverse pointers

SEE ALSO
     hosts, named, nshost;
     Configuring and Managing TCP/IP.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026