This calls the system function gethostbyname() and returns h_addr from the
hostent structure or empty string if no hostent structure returned (host not exists).
Parameters
name –
DNS name of the host
Return Types
A string containing IP address of the host or empty string if not exists