Find computer names on a private network (with nmap?)
Posted
by
paracaudex
on Super User
See other posts from Super User
or by paracaudex
Published on 2011-11-16T17:08:57Z
Indexed on
2011/11/16
17:57 UTC
Read the original article
Hit count: 283
networking
|nmap
On a LAN, I want to find out the names of all the connected computers using a cross-platform program, preferably nmap. I know I can do
nmap -sn xxx.xxx.xxx.xxx/24
(where xxx.xxx.xxx.xxx is a local IP address) to find hosts which are up, but how do I find the computers' hostnames? Do they broadcast this in a way that I can find using nmap?
UPDATE: It looks like Angry IP Scanner can do this. How does it do this? Can I replicate it with nmap?
© Super User or respective owner