ns_hostbyaddr(3) Domain Name Service routines.

Other Alias

ns_addrbyhost

SYNOPSIS

ns_addrbyhost address
ns_hostbyaddr hostname




DESCRIPTION

These commands utilize the platforms name resolution routines which normally access the Domain Name Service (DNS) to translate IP addresses into fully qualified hostnames and vice versa.

ns_addrbyhost address
Returns the fully qualified domain name for given IP address expressed in dotted decimal format (e.g., 72.14.207.99).

ns_hostbyaddr Ihostname
Returns the dotted decimal address for a partial or fully qualified domain name (e.g., google.com).

KEYWORDS

DNS, hostname, address