NSHOST(1M) Domain/OS SysV NSHOST(1M)
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(1M)) or from running name server(s) into
the /etc/hosts format (see hosts(4)) 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(4), hostns(1M), named(1m);
Configuring and Managing TCP/IP.