How can I find the NetBIOS/WINS name of a PC in my LAN
In suma: I have the IP of a machine in my LAN I want to get the name of the machine (if it has one)
How can I find the NetBIOS/WINS name of a PC in my LAN
In suma: I have the IP of a machine in my LAN I want to get the name of the machine (if it has one)
You can use nbtstat
Example:
nbtstat -A x.x.x.x
Syntax
...
By IP address
NBTSTAT -A IP_address [options] [interval]Key
...
-A(Adapter status) List the remote machine's name table given its IP address
ping -a xxx.xxx.xxx.xxx
This will try WINS and then DNS.
The NSLOOKUP command does similar, but only via DNS.
From a Windows system :
nbtstat -A x.x.x.x
From Linux a Linux :
nmblookup -A x.x.x.x