houssam_ballout
New Member
Hello,
on my lan, how can I get the hostname of a remote computer if I know the IP of that machine?
Thanks
on my lan, how can I get the hostname of a remote computer if I know the IP of that machine?
Thanks
tlarkin:
I am trying to get the hostname of an computer on LAN knowing its internal IP.
open cmd and write this command
ping -a 192.168.1.66
replace the IP address with the one you want to get it's host name
"ping -a" might work. It doens't in OP's network. A firewall for example can make it not work.
Any ping won't pass a firewall. I assumed everybody knows that. Thanks for pointing that out, it could be the reason why it's not working for him
you can use nslookup to get the hostname from a given IP
"ping -a" might work. It doens't in OP's network. A firewall for example can make it not work.
$ host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 74.125.95.104
www.l.google.com has address 74.125.95.147
www.l.google.com has address 74.125.95.99
www.l.google.com has address 74.125.95.103