|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| compat/ | H | - | - | 2,824 | 1,777 |
| drill/ | H | - | - | 5,050 | 3,907 |
| ldns/ | H | - | - | 14,609 | 4,747 |
| m4/ | H | - | - | 9,346 | 8,453 |
| packaging/ | H | - | - | 323 | 244 |
| Changelog | H A D | 22-May-2026 | 53.6 KiB | 1,176 | 1,107 |
| LICENSE | H A D | 19-Jun-2013 | 1.5 KiB | 27 | 23 |
| Makefile.in | H A D | 22-May-2026 | 80.9 KiB | 1,142 | 1,011 |
| README | H A D | 22-May-2026 | 3.4 KiB | 126 | 97 |
| README.git | H A D | 12-May-2018 | 858 | 24 | 20 |
| README.snapshots | H A D | 22-May-2026 | 253 | 9 | 5 |
| aclocal.m4 | H A D | 24-May-2023 | 885 | 22 | 17 |
| acx_nlnetlabs.m4 | H A D | 22-May-2026 | 45.1 KiB | 1,545 | 1,452 |
| ax_pkg_swig.m4 | H A D | 24-May-2023 | 6.6 KiB | 136 | 132 |
| ax_python_devel.m4 | H A D | 22-May-2026 | 13.9 KiB | 417 | 390 |
| buffer.c | H A D | 24-May-2023 | 3.7 KiB | 178 | 142 |
| config.guess | H A D | 22-May-2026 | 49.7 KiB | 1,819 | 1,592 |
| config.sub | H A D | 22-May-2026 | 39 KiB | 2,365 | 2,147 |
| configure | H A D | 22-May-2026 | 614.4 KiB | 22,165 | 18,536 |
| configure.ac | H A D | 22-May-2026 | 38.6 KiB | 1,268 | 1,161 |
| dane.c | H A D | 22-May-2026 | 24.5 KiB | 999 | 742 |
| dname.c | H A D | 24-May-2023 | 13.1 KiB | 603 | 463 |
| dnssec.c | H A D | 22-May-2026 | 49.3 KiB | 1,962 | 1,571 |
| dnssec_sign.c | H A D | 22-May-2026 | 43.4 KiB | 1,691 | 1,394 |
| dnssec_verify.c | H A D | 24-May-2023 | 73.9 KiB | 2,831 | 2,322 |
| dnssec_zone.c | H A D | 22-May-2026 | 49.9 KiB | 2,006 | 1,600 |
| duration.c | H A D | 24-May-2023 | 6.4 KiB | 282 | 179 |
| edns.c | H A D | 22-May-2026 | 9.4 KiB | 476 | 346 |
| error.c | H A D | 22-May-2026 | 11.2 KiB | 209 | 193 |
| freebsd-configure.sh | H A D | 24-May-2023 | 571 | 26 | 13 |
| higher.c | H A D | 12-May-2018 | 7.6 KiB | 348 | 273 |
| host2str.c | H A D | 22-May-2026 | 94.3 KiB | 3,602 | 3,083 |
| host2wire.c | H A D | 22-May-2026 | 14 KiB | 528 | 427 |
| install-sh | H A D | 24-May-2023 | 15 KiB | 542 | 352 |
| keys.c | H A D | 22-May-2026 | 51.8 KiB | 2,212 | 1,900 |
| libdns.doxygen.in | H A D | 22-May-2026 | 112.2 KiB | 2,610 | 2,029 |
| libdns.vim | H A D | 19-Jun-2013 | 19.1 KiB | 460 | 433 |
| linktest.c | H A D | 19-Jun-2013 | 136 | 14 | 9 |
| ltmain.sh | H A D | 22-May-2026 | 325.2 KiB | 11,437 | 8,215 |
| makewin.sh | H A D | 22-May-2026 | 10.3 KiB | 303 | 249 |
| net.c | H A D | 22-May-2026 | 24 KiB | 1,039 | 818 |
| packet.c | H A D | 22-May-2026 | 27.3 KiB | 1,293 | 1,076 |
| parse.c | H A D | 15-May-2024 | 10.9 KiB | 517 | 424 |
| radix.c | H A D | 24-May-2023 | 36.6 KiB | 1,594 | 1,055 |
| rbtree.c | H A D | 24-May-2023 | 17.3 KiB | 671 | 441 |
| rdata.c | H A D | 22-May-2026 | 16.3 KiB | 770 | 652 |
| resolver.c | H A D | 22-May-2026 | 34.5 KiB | 1,570 | 1,249 |
| rr.c | H A D | 22-May-2026 | 89.2 KiB | 2,891 | 2,254 |
| rr_functions.c | H A D | 24-May-2023 | 8.7 KiB | 432 | 341 |
| sha1.c | H A D | 22-May-2026 | 6.1 KiB | 179 | 127 |
| sha2.c | H A D | 22-May-2026 | 30.4 KiB | 1,005 | 679 |
| str2host.c | H A D | 22-May-2026 | 59.7 KiB | 2,503 | 2,014 |
| tsig.c | H A D | 24-May-2023 | 12.3 KiB | 495 | 400 |
| update.c | H A D | 12-May-2018 | 7.5 KiB | 326 | 238 |
| util.c | H A D | 22-May-2026 | 18.5 KiB | 801 | 564 |
| wire2host.c | H A D | 22-May-2026 | 12.9 KiB | 499 | 370 |
| zone.c | H A D | 22-May-2026 | 8 KiB | 379 | 257 |
README
1DEVELOPMENT VISION
2
3Note: ldns has been in maintenance mode since 2020, with no plans for major
4features. We welcome PRs from contributors who want to add new functionality.
5We also actively fix bugs, so users can continue to rely on ldns if its
6current features meet their needs.
7
8We will continue to make occasional use of ldns in an experimental
9setting, such as during an IETF Hackathon to build a proof of concept for an
10Internet Draft.
11
12The natural successor to the ldns library is the domain library for Rust:
13https://github.com/NLnetLabs/domain
14
15We offer drop-in replacements for commonly used ldns example tools in dnst:
16https://github.com/NLnetLabs/dnst
17
18---
19
20Contents:
21 REQUIREMENTS
22 INSTALLATION
23 libdns
24 examples
25 drill
26 INFORMATION FOR SPECIFIC OPERATING SYSTEMS
27 Mac OS X
28 Solaris
29 KNOWN ISSUES
30 pyldns
31
32Project page:
33http://www.nlnetlabs.nl/ldns/
34On that page you can also subscribe to the ldns mailing list.
35
36* Development
37ldns is mainly developed on Linux and FreeBSD. It is regularly tested to
38compile on other systems like Solaris and Mac OS X.
39
40REQUIREMENTS
41- OpenSSL (Optional, but needed for features like DNSSEC)
42 - OpenSSL >= 0.9.7f for DANE support
43 - OpenSSL >= 1.0.0 for ECDSA and GOST support
44- libpcap (Optional, but needed for examples/ldns-dpa)
45- (GNU) libtool (in OSX, that's glibtool, not libtool)
46- GNU make
47
48INSTALLATION
491. Unpack the tarball
502. cd ldns-<VERSION>
513. ./configure --with-examples --with-drill
52 (optionally compile python bindings too with: --with-pyldns)
534. make
545. make install
55
56
57* Building from repository
58
59If you are building from the repository you will need to have (gnu)
60autotools like libtool and autoreconf installed. A list of all the commands
61needed to build everything can be found in README.git. Note that the actual
62commands may be a little bit different on your machine. Most notably, you'll
63need to run libtoolize (or glibtoolize). If you skip this step, you'll get
64an error about missing config.sub.
65
66* Developers
67ldns is developed by the ldns team at NLnet Labs. This team currently
68consists of:
69 o Willem Toorop
70 o Wouter Wijngaards
71
72Former main developers:
73 o Jelte Jansen
74 o Miek Gieben
75 o Matthijs Mekking
76
77* Credits
78We have received patches from the following people, thanks!
79 o Bedrich Kosata
80 o Erik Rozendaal
81 o Håkan Olsson
82 o Jakob Schlyter
83 o Paul Wouters
84 o Simon Vallet
85 o Ondřej Surý
86 o Karel Slany
87 o Havard Eidnes
88 o Leo Baltus
89 o Dag-Erling Smørgrav
90 o Felipe Gasper
91
92
93INFORMATION FOR SPECIFIC OPERATING SYSTEMS
94
95MAC OS X
96
97For MACOSX 10.4 and later, it seems that you have to set the
98MACOSX_DEPLOYMENT_TARGET environment variable to 10.4 before running
99make. Apparently it defaults to 10.1.
100
101This appears to be a known problem in 10.2 to 10.4, see:
102http://developer.apple.com/qa/qa2001/qa1233.html
103for more information.
104
105
106SOLARIS
107
108In Solaris multi-architecture systems (which have both 32-bit and
10964-bit support), it can be a bit taxing to convince the system to
110compile in 64-bit mode. Jakob Schlyter has kindly contributed a build
111script that sets the right build and link options. You can find it in
112contrib/build-solaris.sh
113
114KNOWN ISSUES
115
116A complete list of currently known open issues can be found here:
117https://github.com/NLnetLabs/ldns/issues
118
119* pyldns
120Compiling pyldns produces many ``unused parameter'' warnings. Those are
121harmless and may safely be ignored.
122Also, when building with SWIG older than 2.0.4, compiling
123pyldns produces many ``missing initializer'' warnings. Those are harmless
124too.
125
126
README.git
1# The ldns git repository can found at:
2# git.nlnetlabs.nl/ldns/
3
4# small list of commands to build all on a linux system
5# libtoolize is needed for most other targets
6
7# on Solaris, and other systems that may not have
8# the default 'automake' and 'aclocal' script aliases,
9# the correct versions may need to be set. On those
10# systems, the 'autoreconf' line should be changed to:
11# AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 autoreconf
12
13# older versions of libtoolize do not support --install
14# so you might need to remove that (with newer versions
15# it is needed)
16git submodule update --init
17libtoolize -ci
18autoreconf -fi
19./configure --with-examples --with-drill # --with-pyldns --with-p5-dns-ldns
20make
21make doc # needs doxygen for the html pages
22(cd pcat && autoreconf && ./configure && make)
23(cd examples/nsd-test && autoreconf && ./configure && make)
24
README.snapshots
1ldns - snapshot releases
2
3Snapshot releases are not official released. They can be released to
4interested parties for development.
5
6Snapshots can be recognized from the date in the tar file name.
7
8They should not be used for packaging in distributions.
9