Windows Support: Finding Hostname from an IP Address
Have you ever needed to know the host name of a computer when you only had the IP address?
If so, you may have assumed that the "ping" command would give you this information. However, it does not. Instead, you will have to use the Windows "nbtstat" command. Here is an example of this command in action:
C:\>nbtstat -a IP_ADDRESS Local Area Connection: Node IpAddress: [IP_ADDRESS] Scope Id: [] NetBIOS Remote Machine Name Table Name Type Status --------------------------------------------- HOST_NAME <00> UNIQUE Registered DS <00> GROUP Registered HOST_NAME <20> UNIQUE Registered MAC Address = ##-##-##-##-##-## \Device\NetBT_Tcpip_{E6D814F0-19D5-4848-8BB3-703AD28EDC49}: Node IpAddress: [0.0.0.0] Scope Id: [] |
---|
by Phil for Humanity
on 04/29/2009