will be treated as an absolute domain name, looking up records in the domain. The following are examples of mdnsjava API usage.Īll domain names in mdnsjava are considered to be relative to the domain search path unless they end with a period.
(may work with early versions)ĭnssd -E (Enumerate recommended registration domains)ĭnssd -F (Enumerate recommended browsing domains)ĭnssd -B (Browse for services instances)ĭnssd -L (Look up a service instance)ĭnssd -Q (Generic query for any record type)ĭnssd -G v4/v6/v4v6 (Get address information for hostname)ĭnssd -V (Get version of currently running daemon / system service) Maven is now the build system for mdnsjava. mdnsjava uses dnsjava for DNS functionality, but is not part of the dnsjava project.
The master branch has bugs that I am addressing. Multicast DNS (mDNS) & DNS-Based Service Discovery (DNS-SD) in Java ImportantĪt this time please use version 2.1.5 or the 2.1.6 snapsots.