Tuesday, February 28, 2012

get computer name based on ip

there are a lot of times when i go scanning a list of ips back and forth in search for its corresponding computer name. until i learned about the commands below which you can use to query a computer name based on its ip.

dos command:
# nbtstat -a x.x.x.x


linux command:
# nmblookup -A x.x.x.x


and it gives back the physical MAC address too! booyah!

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...