Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hosts(5)

hostns(8)

named(8)

NSHOST(8)                       Domain/OS BSD                        NSHOST(8)



NAME
     nshost - generate host tables from the name server

SYNOPSIS
     nshost [ -f file ... ] [ -d domain ...  ] [ -s server ] [ -o output-file
     ] [ -r ]

DESCRIPTION
     The nshost command converts host and address information from name server
     configuration files (see named(8)) or from running name server(s) into
     the /etc/hosts format (see hosts(5)) or into the /etc/named.hosts.rev
     (reverse pointer records) format.

OPTIONS
     -f file   Search the file for Standard Resource Records specifying
               addresses (A) or aliases (CNAME); these are then written to the
               standard output or the specified output-file. You may specify
               more than one -f file option.

     -d domain Query a running name server for the specified domain
               (determined by looking in the file /etc/resolv.conf) for this
               same information.  You may specify more than one -d option.
               See the -s option.

     -s server Specify alternate servers.  You may specify up to three -s
               options per -d option.

     -r        Request the /etc/named.hosts.rev (reverse pointer records)
               format.

SEE ALSO
     hosts(5), hostns(8), named(8);
     Configuring and Managing TCP/IP.

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