Online Network Tools www.ipdistance.com


Your IP Address: 184.72.184.104

Hostname to IP lookup

Enter Hostname:
Hostname:google.com
IP Address:74.125.225.227
74.125.225.229
74.125.225.230
74.125.225.225
74.125.225.224
74.125.225.226
74.125.225.238
74.125.225.232
74.125.225.231
74.125.225.233
74.125.225.228


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 ());
    }