Giter Site home page Giter Site logo

bellmit / getdns-java-bindings Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getdnsapi/getdns-java-bindings

0.0 1.0 0.0 1.22 MB

Java bindings that use the getdns api implementation

License: Other

C 14.33% Java 79.81% CSS 3.52% HTML 2.34%

getdns-java-bindings's Introduction

#getdns-java-bindings 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.

##External dependencies This has been built and tested with JDK 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.

##Pre-configuration

The 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.

####Build, install and verification

./gradlew --daemon clean assemble buildJniLib
sudo ./gradlew --daemon installJniLib
./gradlew --daemon runExample -Dexample=GetDNSGeneralSync

As per gradle standard libraries will be available in the folder build/libs.

##Examples Examples can be found in the directory src/examples/java #####Find usage of runExample with the below command.

./gradlew --daemon runExample

#####Below are the commands to run few examples ######Run examples with Gradle

./gradlew --daemon runExample -Dexample=GetDNSGeneralSync

./gradlew --daemon runExample -Dexample=GetDNSWithDNSSECStatusExtension

######Run examples with Java

javac -cp ./build/libs/getdns-java-0.1.jar src/examples/java/com/verisign/getdns/example/sync/GetDNSGeneralSync.java -d .

LD_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

#####Documentation Javadoc for getdns-java binding can be found here

###Known issues On some machines some test cases might fail because of timeout issues, we are working on this.

getdns-java-bindings's People

Contributors

prithvirn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.