Name from the IP address
Solved
papisow101
Posted messages
33
Status
Member
-
brupala Posted messages 111117 Registration date Status Member Last intervention -
brupala Posted messages 111117 Registration date Status Member Last intervention -
--Hello
I am in a LAN where the host numbers of the PCs are referenced on the wall jacks, but someone has taken my address. How can I know the host name from its IP address?
More simply, how can I find out the name of a machine from its IP address in a LAN?
Thank you for enlightening me.
Best regards, jibson
I am in a LAN where the host numbers of the PCs are referenced on the wall jacks, but someone has taken my address. How can I know the host name from its IP address?
More simply, how can I find out the name of a machine from its IP address in a LAN?
Thank you for enlightening me.
Best regards, jibson
2 answers
-
Hi,
Windows subnet (netbios):NBTSTAT -A IP address
otherwise,nslookup IP address
, maybe, but it's not guaranteed at all, especially on a local network.
otherwise, you can get its MAC address if it's on the same network:
ping IP address
thenarp -a
-
-
-
In the Windows command prompt:
ping -a IP address
Will respond "Sending a 'ping' request to xxxxxx [IP address] etc. where xxxxxx is the device name.
As long as the device declares a name... otherwise it will display the IP address. It does indeed show the name of my printer, but not for my smartphone or PC.
Hello,
that’s some digging up!
it's ping on name that returns the address, but not the other way around, oh sorry, the -a option, I had forgotten about that, but it probably only works if there’s a DNS reverse or mDNS, maybe, in netbios, I don’t think so.
In fact, it seems to also work with netbios resolution.
-