I need a program that accepts a character string input containing a DNS name, looks up the host name database entry for the input DNS name using gethostbyname and then prints the official name, the list of aliases and all the internet addresses for the input host. Print the internet addresses as both character strings and 32-bit numbers(in hex).