getdns Java bindings is an implementation of Java language bindings for the getdns API, built on top of the getdns implementation. getdns is a modern, asynchronous DNS API that simplifies access to advanced DNS features, including DNSSEC. The API specification was developed by Paul Hoffman. getdns is built on top of the getdns implementation developed as a joint project between Verisign Labs and NLnet Labs. To explore further, refer GetDnsFactory
This has been built and tested with Java 1.7 and 1.8
Currently building against the getdns 0.1.7 release. getdns external dependencies include:
Note that getdns MUST be built with the --with-libevent flag to configure.
The code repository for getdns is available at: https://github.com/getdnsapi/getdns-java-bindings
./gradlew clean assemble buildJniLib
In this example, we do a simple address lookup and dump the results to the screen:
On some machines some test cases might fail because of timeout issues.