The gethostbyaddr is a dns (domain name system) query that returns the internet host name corresponding to an ip address.