Go to file
Glen Wiley e7cc8eb150 separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
doc thinking 2013-08-30 11:35:18 -04:00
m4 Removed symlink ltmain.sh. Add m4 for lt. 2013-08-09 10:48:22 -04:00
src separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
.gitignore Let git ignore build executables 2013-10-29 20:36:34 +01:00
AUTHORS separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
COPYING another file required by automake. using a symlink to LICENSE 2013-08-08 17:39:45 -08:00
ChangeLog Converted makefile generation to automake 2013-08-08 17:21:05 -08:00
INSTALL Removed symlink ltmain.sh. Add m4 for lt. 2013-08-09 10:48:22 -04:00
LICENSE Change license from MIT to BSD-new 2013-09-11 18:41:23 -04:00
Makefile.in no longer using automake 2013-10-07 08:10:06 -07:00
NEWS separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
README automake version dep noted 2013-08-30 14:19:03 -04:00
README.md separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
aclocal.m4 adding back generated files needed by automake 2013-08-30 08:12:33 -08:00
config.guess Make config.guess and sub actual scripts rather than symlinks 2013-10-14 13:43:07 -04:00
config.sub Make config.guess and sub actual scripts rather than symlinks 2013-10-14 13:43:07 -04:00
configure.ac separated libunbound test in configure.ac to give better diag msg 2013-11-03 16:40:24 -05:00
depcomp adding back generated files needed by automake 2013-08-30 08:12:33 -08:00
install-sh Converted makefile generation to automake 2013-08-08 17:21:05 -08:00
ltmain.sh adding back generated files needed by automake 2013-08-30 08:12:33 -08:00
missing necessary for automake/autoconf 2013-08-08 17:31:42 -08:00
unbound.2985.patch Initial integration of unbound. 2013-10-15 17:28:23 -04:00

README.md

getdns API

getdns is a modern asynchronous DNS API intended to make all types of DNS information easily available as described by Paul Hoffman. This implementation is licensed under the New BSD License (BSD-new).

The getdns-api mailing list is a good place to engage in discussions regarding the design of the API.

This file captures the goals and direction of the project and the current state of the implementation.

The goals of this implementation of the getdns API are:

  • Provide an open source implementation, in C, of the formally described getdns API by Paul Hoffman at http://www.vpnc.org/getdns-api/
  • Initial support for FreeBSD x.y, MS-Windows Ver. X, OSX 10.x, Linux (CentOS/RHEL R6uX, Ubuntu Ver X) via functional "configure" script
  • Initial support to include the Android platform
  • Include examples and tests as part of the build
  • Document code using doxygen
  • Leverage github as much as possible for project coordination
  • Coding style/standards follow the BSD coding style ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/misc/style
  • Follow the git flow branching model described at http://nvie.com/posts/a-successful-git-branching-model/ ** the master branch is always in a production ready state ** the develop branch contains the latest development changes which are merged from develop into master once they are considered production ready
  • Both synchronous and asynchronous entry points with an early focus on the asynchronous model

Non-goals (things we will not be doing) include:

  • implementation of the traditional DNS related routines (gethostbyname, etc.)

Releases

Release numbering follows the Semantic Versioning approach. We are currently in the early stages of building the API so the code should be considered incomplete.

The 0.1.0 release will be issued when the repository is opened to the public, our goal is to meet the following requirements prior to opening the repository:

  • code compiles cleanly on at least the primary target platforms: RHEL/CentOS 6.3 Linux, FreeBSD 9.2
  • examples must compile and be clean
  • clearly document supported/unsupported elements of the API

Tickets/Bug Reports

Tickets and bug reports from external contacts are received via a mailing list and managed in the git issues list.

TBD: mailing list address

External Dependencies

External dependencies are linked outside the getdns API build tree (we rely on configure to find them). We would like to keep the dependency tree short.

  • libevent version 2.0.21 stable
  • libldns from NL version 1.6.16 (ldns may require openssl headers and libraries)
  • libunbound from NL svn revision 2985, configure must be run with the --with-libevent option (recommended to also use --with-libunbound-only). The unbound.2985.patch included with getdns must be applied to the source tree prior to building libunbound.
  • Doxygen is used to generate documentation, while this is not technically necessary for the build it makes things a lot more pleasant.

Assuming that the getdns sources are in a diretory named getdns in your home directory, to build libunbound (note that the svn checkout may take a while):

# mkdir unbound
# cd unbound
# svn checkout -r 2985 http://unbound.nlnetlabs.nl/svn
# cd svn/trunk
# patch -p0 < ~/getdns/unbound.2985.patch
# ./configure --with-libevent --with-libunbound-only
# make
# make install

#Supported Platforms

The primary platforms targeted are Linux and FreeBSD, other platform are supported as we get time. The names listed here are intended to help ensure that we catch platform specific breakage, not to limit the work that folks are doing.

Where at all possible we need to make sure that both 32 and 64 bit implementations work.

  • Android, Neel
  • FreeBSD 9.2, gcc/clang Melinda
  • FreeBSD 10.0 (not yet released), gcc/clang Melinda
  • Linux RHEL/CentOS 6.x, Glen
  • MS-Windows 8, cygwin, Neel
  • NetBSD x.x, Wouter
  • OpenBSD 5.3, Wouter
  • OSX 10.8, Glen
  • OSX 10.9, Allison
  • Ubuntu 12.x, Melinda

The NLNet folks offered to build on a number of legacy platforms as well to help ensure that the code is clean. These include some big endian hardware and a few more obscure operating systems which will not be publicly supported but might work if someone wants to try them.

##Build Reports

TBD

Contributors

  • Neel Goyal, Verisign, Inc.
  • Allison Mankin, Verisign, Inc.
  • Melinda Shore, No Mountain Software LLC
  • Willem Toorop, NLNet Labs
  • Glen Wiley, Verisign, Inc.
  • Wouter Wijngaards, NLNet Labs

-- end README