Online Network Tools www.ipdistance.com


Your IP Address: 54.196.107.244

IP to Hostname lookup

Enter IP Address:
IP Address:8.8.8.8
Hostname:google-public-dns-a.google.com


Get Hostname by IP Tutorial

PHP:
    $ipAddress = "8.8.8.8";
    $hostname = gethostbyaddr($ipAddress);
    echo $hostname;

JSP:
    String ip = "8.8.8.8";
    String hostName = InetAddress.getByName(ip).getHostName(); 

ASP.NET:
    String IPAddress = "8.8.8.8";
    string[] hostname =
        System.Net.Dns.GetHostEntry(IPAddress).HostName.Split(new Char[]{'.'});
    String ComputerName = hostname[0].ToString();
Java:
    InetAddress inetAddress = InetAddress.getByName("8.8.8.8");  
    String ipAddress = inetAddress.getHostName();  
    System.out.println(ipAddress);