How to find IP address of a machine on network?

Derek Broughton derek at
Sat Jan 17 03:40:54 UTC 2009

Charles Darwin wrote:

> On 16-Jan-09, at 4:20 PM, NoOp wrote:
>> Nmap done: 256 IP addresses (6 hosts up) scanned in 2.741 seconds
> -bash-3.2$ uname -v && time dns-sd -B _ssh._tcp .
> Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008;
> root:xnu-1228.9.59~1/RELEASE_I386
> Browsing for _ssh._tcp
> Timestamp     A/R Flags if Domain                    Service
> Type              Instance Name
> 21:22:16.685  Add     2  1 local.
> _ssh._tcp.                Ubermensch
> ^C
> real	0m0.799s
> user	0m0.001s
> sys	0m0.002s
> It seems to me using nmap "for what we are trying to do here" is like
> using an artillery shell to knock out a mosquito, don't you think?

Funny, I would have said using dns-sd was the artillery shell.  All nmap was 
doing was sending a few packets to see if it got responses.  dsn-sd is 
looking for broadcasting services - which means your clients need to be 
broadcasting.  So nmap takes longer - are we in a rush?

More information about the ubuntu-users mailing list