canonhost(1M) canonhost(1M)
canonhost - canonicalize hostnames
canonhost hostname ...
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).
If an error is encountered while canonicalizing an input hostname, a
value of -1 is returned and an error message is printed to stderr.
gethostbyname(3N).
PPPPaaaaggggeeee 1111 [ Back ]
|