Daniel
Daniel

Reputation: 1057

What's the simplest way to figure out the bonjour name of devices in a local network?

the question says it all.

Can someone please tell me if that is possible and how?

I already have the IP Addresses and the MAC Addresses of the devices I want the bonjour name from...

Upvotes: 0

Views: 1455

Answers (1)

Chris Mowforth
Chris Mowforth

Reputation: 6723

Assuming you're looking for machines in the .local domain and your mDNS server listens on the default reserved IP of 224.0.0.251, port 5353 you can perform a reverse lookup with dig in the same way you'd refer to a unicast hostname:

dig -x 192.168.1.12 @224.0.0.251 -p 5353

Where 192.168.1.12 is the IP you want to check out.

Upvotes: 1

Related Questions