Online Network Tools www.ipdistance.com


Your IP Address: 54.196.33.246

Hostname to IP lookup

Enter Hostname:
Hostname:google.com
IP Address:216.58.194.142


Get IP Address by Hostname Tutorial

PHP:
    $hostname = "google";
    $ipAddress = gethostbynamel($hostname);
    echo $ipAddress;

ASP.NET:
    strHostName = "google.com";
    IPHostEntry ipEntry = DNS.GetHostByName (strHostName);
    IPAddress [] addr = ipEntry.AddressList;
          
    for (int i = 0; i < addr.Length; i++)
    {
        Console.WriteLine ("IP Address {0}: {1} ", i, addr[i].ToString ());
    }