Wednesday, 18 September 2013

mDNS discover iOS device name

mDNS discover iOS device name

I notice that some of the better network discovery apps like Fing for iOS
and iNet for Mac are able to discover the device name of iOS devices and
Mac devices even when they are not advertising Bonjour services such as
iTunes Wi-Fi Sync. How is this done? I am aware of how to do a reverse
mDNS query
http://serverfault.com/questions/143184/how-do-i-get-the-machine-name-from-an-ip-via-multicast-dns.
But that doesn't work unless Wi-Fi Sync is running or some other Bonjour
service on the iOS device. I am not sure how to get the name otherwise but
these app reliably get it. I used Wireshark while iNet was discovering and
I only see ICMP and NetBios queries all which return 0 answers.

No comments:

Post a Comment