canonhost(1M)canonhost(1M)NAMEcanonhost - canonicalize hostnames
SYNOPSIScanonhost hostname ...
DESCRIPTION
For each input hostname, canonhost prints a single line on stdout
containing the canonical name of that host. The canonical name of a host
is determined by calling gethostbyname(3N).
DIAGNOSTICS
If an error is encountered while canonicalizing an input hostname, a
value of -1 is returned and an error message is printed to stderr.
SEE ALSOgethostbyname(3N).
Page 1