LDNS 1.7.0 (Current version)
Linux and *BSD sources and binaries can easily be obtained using your (favorite) package manager or ports collection.
After downloading, you can compile the library by doing: ./configure && (g)make.
You need GNU make to compile it.
If you compile from the repository, you also need the gnu autotools (autoreconf and libtool).