xref: /freebsd/contrib/ldns/README (revision 5afab0e5e56fe90a378fb57249600e7924e1cab2)
17b5038d7SDag-Erling Smørgrav
27b5038d7SDag-Erling SmørgravContents:
37b5038d7SDag-Erling Smørgrav	REQUIREMENTS
47b5038d7SDag-Erling Smørgrav	INSTALLATION
57b5038d7SDag-Erling Smørgrav		libdns
67b5038d7SDag-Erling Smørgrav		examples
77b5038d7SDag-Erling Smørgrav		drill
87b5038d7SDag-Erling Smørgrav	INFORMATION FOR SPECIFIC OPERATING SYSTEMS
97b5038d7SDag-Erling Smørgrav		Mac OS X
107b5038d7SDag-Erling Smørgrav		Solaris
117b5038d7SDag-Erling Smørgrav	KNOWN ISSUES
127b5038d7SDag-Erling Smørgrav		pyldns
137b5038d7SDag-Erling Smørgrav        Your Support
147b5038d7SDag-Erling Smørgrav
157b5038d7SDag-Erling SmørgravProject page:
167b5038d7SDag-Erling Smørgravhttp://www.nlnetlabs.nl/ldns/
177b5038d7SDag-Erling SmørgravOn that page you can also subscribe to the ldns mailing list.
187b5038d7SDag-Erling Smørgrav
197b5038d7SDag-Erling Smørgrav* Development
207b5038d7SDag-Erling Smørgravldns is mainly developed on Linux and FreeBSD. It is regularly tested to
217b5038d7SDag-Erling Smørgravcompile on other systems like Solaris and Mac OS X.
227b5038d7SDag-Erling Smørgrav
237b5038d7SDag-Erling SmørgravREQUIREMENTS
247b5038d7SDag-Erling Smørgrav- OpenSSL (Optional, but needed for features like DNSSEC)
25d6e492feSDag-Erling Smørgrav  - OpenSSL >= 0.9.7f for DANE support
26d6e492feSDag-Erling Smørgrav  - OpenSSL >= 1.0.0  for ECDSA and GOST support
277b5038d7SDag-Erling Smørgrav- libpcap (Optional, but needed for examples/ldns-dpa)
287b5038d7SDag-Erling Smørgrav- (GNU) libtool (in OSX, that's glibtool, not libtool)
297b5038d7SDag-Erling Smørgrav- GNU make
307b5038d7SDag-Erling Smørgrav
317b5038d7SDag-Erling SmørgravINSTALLATION
327b5038d7SDag-Erling Smørgrav1. Unpack the tarball
337b5038d7SDag-Erling Smørgrav2. cd ldns-<VERSION>
34d6e492feSDag-Erling Smørgrav3. ./configure --with-examples --with-drill
35d6e492feSDag-Erling Smørgrav   (optionally compile python bindings too with: --with-pyldns)
36d6e492feSDag-Erling Smørgrav4. make
37d6e492feSDag-Erling Smørgrav5. make install
387b5038d7SDag-Erling Smørgrav
397b5038d7SDag-Erling Smørgrav
4017d15b25SDag-Erling Smørgrav* Building from repository
417b5038d7SDag-Erling Smørgrav
427b5038d7SDag-Erling SmørgravIf you are building from the repository you will need to have (gnu)
437b5038d7SDag-Erling Smørgravautotools like libtool and autoreconf installed. A list of all the commands
4417d15b25SDag-Erling Smørgravneeded to build everything can be found in README.git. Note that the actual
45986ba33cSDag-Erling Smørgravcommands may be a little bit different on your machine. Most notably, you'll
46986ba33cSDag-Erling Smørgravneed to run libtoolize (or glibtoolize). If you skip this step, you'll get
47986ba33cSDag-Erling Smørgravan error about missing config.sub.
487b5038d7SDag-Erling Smørgrav
497b5038d7SDag-Erling Smørgrav* Developers
507b5038d7SDag-Erling Smørgravldns is developed by the ldns team at NLnet Labs. This team currently
517b5038d7SDag-Erling Smørgravconsists of:
527b5038d7SDag-Erling Smørgrav  o Willem Toorop
537b5038d7SDag-Erling Smørgrav  o Wouter Wijngaards
547b5038d7SDag-Erling Smørgrav
557b5038d7SDag-Erling SmørgravFormer main developers:
567b5038d7SDag-Erling Smørgrav  o Jelte Jansen
577b5038d7SDag-Erling Smørgrav  o Miek Gieben
58*5afab0e5SDag-Erling Smørgrav  o Matthijs Mekking
597b5038d7SDag-Erling Smørgrav
607b5038d7SDag-Erling Smørgrav* Credits
617b5038d7SDag-Erling SmørgravWe have received patches from the following people, thanks!
627b5038d7SDag-Erling Smørgrav  o Bedrich Kosata
637b5038d7SDag-Erling Smørgrav  o Erik Rozendaal
647b5038d7SDag-Erling Smørgrav  o Håkan Olsson
657b5038d7SDag-Erling Smørgrav  o Jakob Schlyter
667b5038d7SDag-Erling Smørgrav  o Paul Wouters
677b5038d7SDag-Erling Smørgrav  o Simon Vallet
687b5038d7SDag-Erling Smørgrav  o Ondřej Surý
69d6e492feSDag-Erling Smørgrav  o Karel Slany
70d6e492feSDag-Erling Smørgrav  o Havard Eidnes
71d6e492feSDag-Erling Smørgrav  o Leo Baltus
72d6e492feSDag-Erling Smørgrav  o Dag-Erling Smørgrav
73*5afab0e5SDag-Erling Smørgrav  o Felipe Gasper
747b5038d7SDag-Erling Smørgrav
757b5038d7SDag-Erling Smørgrav
767b5038d7SDag-Erling SmørgravINFORMATION FOR SPECIFIC OPERATING SYSTEMS
777b5038d7SDag-Erling Smørgrav
787b5038d7SDag-Erling SmørgravMAC OS X
797b5038d7SDag-Erling Smørgrav
807b5038d7SDag-Erling SmørgravFor MACOSX 10.4 and later, it seems that you have to set the
817b5038d7SDag-Erling SmørgravMACOSX_DEPLOYMENT_TARGET environment variable to 10.4 before running
827b5038d7SDag-Erling Smørgravmake. Apparently it defaults to 10.1.
837b5038d7SDag-Erling Smørgrav
847b5038d7SDag-Erling SmørgravThis appears to be a known problem in 10.2 to 10.4, see:
857b5038d7SDag-Erling Smørgravhttp://developer.apple.com/qa/qa2001/qa1233.html
867b5038d7SDag-Erling Smørgravfor more information.
877b5038d7SDag-Erling Smørgrav
887b5038d7SDag-Erling Smørgrav
897b5038d7SDag-Erling SmørgravSOLARIS
907b5038d7SDag-Erling Smørgrav
91986ba33cSDag-Erling SmørgravIn Solaris multi-architecture systems (which have both 32-bit and
927b5038d7SDag-Erling Smørgrav64-bit support), it can be a bit taxing to convince the system to
937b5038d7SDag-Erling Smørgravcompile in 64-bit mode. Jakob Schlyter has kindly contributed a build
947b5038d7SDag-Erling Smørgravscript that sets the right build and link options. You can find it in
957b5038d7SDag-Erling Smørgravcontrib/build-solaris.sh
967b5038d7SDag-Erling Smørgrav
977b5038d7SDag-Erling SmørgravKNOWN ISSUES
987b5038d7SDag-Erling Smørgrav
997b5038d7SDag-Erling SmørgravA complete list of currently known open issues can be found here:
100*5afab0e5SDag-Erling Smørgravhttps://github.com/NLnetLabs/ldns/issues
1017b5038d7SDag-Erling Smørgrav
1027b5038d7SDag-Erling Smørgrav* pyldns
1037b5038d7SDag-Erling SmørgravCompiling pyldns produces many ``unused parameter'' warnings.  Those are
1047b5038d7SDag-Erling Smørgravharmless and may safely be ignored.
105986ba33cSDag-Erling SmørgravAlso, when building with SWIG older than 2.0.4, compiling
1067b5038d7SDag-Erling Smørgravpyldns produces many ``missing initializer'' warnings. Those are harmless
1077b5038d7SDag-Erling Smørgravtoo.
1087b5038d7SDag-Erling Smørgrav
1097b5038d7SDag-Erling SmørgravYour Support
110986ba33cSDag-Erling SmørgravNLnet Labs offers all of its software products as open source, most
111986ba33cSDag-Erling Smørgravpublished under a BSD license. You can download them, not only from the
1127b5038d7SDag-Erling SmørgravNLnet Labs website but also through the various OS distributions for
1137b5038d7SDag-Erling Smørgravwhich NSD, ldns, and Unbound are packaged. We therefore have little idea
1147b5038d7SDag-Erling Smørgravwho uses our software in production environments and have no direct ties
1157b5038d7SDag-Erling Smørgravwith 'our customers'.
1167b5038d7SDag-Erling Smørgrav
1177b5038d7SDag-Erling SmørgravTherefore, we ask you to contact us at users@NLnetLabs.nl and tell us
1187b5038d7SDag-Erling Smørgravwhether you use one of our products in your production environment,
1197b5038d7SDag-Erling Smørgravwhat that environment looks like, and maybe even share some praise.
1207b5038d7SDag-Erling SmørgravWe would like to refer to the fact that your organization is using our
1217b5038d7SDag-Erling Smørgravproducts. We will only do that if you explicitly allow us. In all other
1227b5038d7SDag-Erling Smørgravcases we will keep the information you share with us to ourselves.
1237b5038d7SDag-Erling Smørgrav
1247b5038d7SDag-Erling SmørgravIn addition to the moral support you can also support us
1257b5038d7SDag-Erling Smørgravfinancially. NLnet Labs is a recognized not-for-profit charity foundation
1267b5038d7SDag-Erling Smørgravthat is chartered to develop open-source software and open-standards
1277b5038d7SDag-Erling Smørgravfor the Internet. If you use our software to satisfaction please express
1287b5038d7SDag-Erling Smørgravthat by giving us a donation. For small donations PayPal can be used. For
1297b5038d7SDag-Erling Smørgravlarger and regular donations please contact us at users@NLnetLabs.nl. Also
1307b5038d7SDag-Erling Smørgravsee http://www.nlnetlabs.nl/labs/contributors/.
1317b5038d7SDag-Erling Smørgrav
132