gethostbyaddr Get the Internet host name corresponding to a given IP address Description stringgethostbyaddr stringip_address Returns the host name of the Internet host specified by ip_address. If an error occurs, returns ip_address. See also gethostbyname.