As part of an app I'm developing, I need to be able to resolve the correct IP that corresponds with a Bonjour hostname.
For example, I'm given jack.local
and need to resolve it to 192.168.1.141
which is the IP address associated with jack.
I've been combing through the JmDNS APIs and the most I can find are methods that allow resolving a Service if the type and name are known. However, I simply cannot find anything that would allow resolving a hostname.
So am I missing something? Is there really no way to resolve a hostname using JmDNS?