GetIPAddressByHostname method