canonhost(1M) canonhost(1M)
NAME
canonhost - canonicalize hostnames
SYNOPSIS
canonhost 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 ALSO
gethostbyname(3N).
Page 1