find the information about a host with the Dns retrieving system calls, such as gethostbyname() and gethostbyaddr().
(2) All the required information are in the hostent structure.
(3) All the aliases and IP addresses of the host is stored in the hostent structure using linked list (链表).