10.2;nshost , revision 2.0, 89/05/18
nshost - generate host tables from the name server
usage: 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) or from running name server(s) into the
/etc/hosts format (see hosts) or into the /etc/named.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.rev (reverse pointer records) format.
SEE ALSO
hosts,hostns, named;
Configuring and Managing TCP/IP.