Ns hostbyaddr

From AOLserver Wiki
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