Ns hostbyaddr

From AOLserver Wiki
Revision as of 22:53, 9 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 574)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_hostbyaddr.html


NAME

ns_hostbyaddr - Reverse lookup an IP address to its hostname

SYNOPSIS

ns_hostbyaddr address

DESCRIPTION

This command resolves an IP address to its hostname. If the IP address cannot be resolved, it throws an error.

EXAMPLES

 % ns_hostbyaddr 127.0.0.1
 localhost
 % ns_hostbyaddr 0.0.0.0
 could not lookup 0.0.0.0
     while executing
 "ns_hostbyaddr 0.0.0.0"

SEE ALSO

ns_addrbyhost

Category Documentation - Category Core Tcl API