ns_addrbyhost.3aolserver

Langue: en

Version: 4.0 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)


 

NAME

ns_addrbyhost, ns_hostbyaddr - Domain Name Service routines.

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