Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some computer is doing some large data transfer on the office network, which we could only get the IP address. We know that it is running OSX, but we do not know its computer name so we do not know which computer it is. Are there any easy way to the name of the computer running OSX?

share|improve this question

The following command works in OSX:

dig @ -p5353 -x
share|improve this answer
Raymond, instead of just pasting a command can you explain what is going on here and why it would work? What is special about this command? References to manpages and other high quality sources are helpful. – Stefan Lasiewski Sep 17 '13 at 16:59
@RaymondTau This isn't really a great answer - your solution only works if (a) your DNS server happens to be (multicast used by Bonjour), (b) your DNS server happens to be listening on port 5353 (also used by Bonjour, but not in all environments), and (c) you happen to have reverse DNS entries available for the IP in question. (a) and (b) are not true in my environment (in fact they're probably not true anywhere except YOUR environment), and (c) is very often not true in small office environment. – voretaq7 Sep 17 '13 at 18:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.