{"id":20226142,"url":"https://github.com/getdnsapi/getdns-java-bindings","last_synced_at":"2025-04-10T17:06:23.607Z","repository":{"id":19400850,"uuid":"22642498","full_name":"getdnsapi/getdns-java-bindings","owner":"getdnsapi","description":"Java bindings that use the getdns api implementation","archived":false,"fork":false,"pushed_at":"2015-04-22T02:26:38.000Z","size":1249,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-24T14:46:29.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getdnsapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-05T12:25:40.000Z","updated_at":"2020-08-25T03:28:45.000Z","dependencies_parsed_at":"2022-07-08T06:59:20.271Z","dependency_job_id":null,"html_url":"https://github.com/getdnsapi/getdns-java-bindings","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getdnsapi%2Fgetdns-java-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getdnsapi%2Fgetdns-java-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getdnsapi%2Fgetdns-java-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getdnsapi%2Fgetdns-java-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getdnsapi","download_url":"https://codeload.github.com/getdnsapi/getdns-java-bindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248260465,"owners_count":21074210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T07:16:27.655Z","updated_at":"2025-04-10T17:06:23.588Z","avatar_url":"https://github.com/getdnsapi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#getdns-java-bindings\ngetdns Java bindings is an implementation of Java language bindings for the [getdns API](https://getdnsapi.net/spec.html), built on top of the [getdns implementation](https://github.com/getdnsapi/getdns/). 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](http://labs.verisigninc.com/en_US/innovation/verisign-labs/index.xhtml) and [NLnet Labs](http://nlnetlabs.nl/).\n\n##External dependencies\nThis has been built and tested with JDK 1.7 and 1.8\n\nCurrently building against the getdns 0.1.7 release.\ngetdns external dependencies include:\n\n*   [libldns from NLnet Labs](https://www.nlnetlabs.nl/projects/ldns/) version 1.6.17 or later (ldns requires ope\nnssl headers and libraries)\n*   [libidn from the FSF](http://www.gnu.org/software/libidn/) version 1.29\n*   [libexpat](http://expat.sourceforge.net/) for libunbound.\n*   [libunbound from NLnet Labs](http://www.nlnetlabs.nl/projects/unbound/) version 1.4.22 or later\n* [libevent](http://libevent.org) version 2.0.22 stable\n\nNote that getdns **MUST** be built with the --with-libevent flag to configure.\n\n\n##Pre-configuration\n\nThe file gradle.properties needs to be edited to customize **javahome** property pointing to JDK_HOME so that gradle can find jni header files under JDK_HOME/include directory.\n\n####Build, install and verification\n```\n./gradlew --daemon clean assemble buildJniLib\nsudo ./gradlew --daemon installJniLib\n./gradlew --daemon runExample -Dexample=GetDNSGeneralSync\n```\nAs per gradle standard libraries will be available in the folder build/libs.\n\n##Examples\nExamples can be found in the directory *src/examples/java*\n#####Find usage of runExample with the below command.\n```\n./gradlew --daemon runExample\n```\n#####Below  are the commands to run few examples\n######Run examples with **Gradle**\n```\n./gradlew --daemon runExample -Dexample=GetDNSGeneralSync\n\n./gradlew --daemon runExample -Dexample=GetDNSWithDNSSECStatusExtension\n\n```\n######Run examples with **Java**\n```\njavac -cp ./build/libs/getdns-java-0.1.jar src/examples/java/com/verisign/getdns/example/sync/GetDNSGeneralSync.java -d .\n\nLD_LIBRARY_PATH=/usr/local/lib java -cp ./build/libs/getdns-java-0.1.jar:. -Djava.library.path=build/libs com.verisign.getdns.example.sync.GetDNSGeneralSync\n\n```\n#####Documentation \nJavadoc for getdns-java binding can be found [here](http://getdns-java.github.io/)\n\n###Known issues\nOn some machines some test cases might fail because of timeout issues, we are working on this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetdnsapi%2Fgetdns-java-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetdnsapi%2Fgetdns-java-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetdnsapi%2Fgetdns-java-bindings/lists"}