Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

106.3. ldns-1.9.2

DNS library, the drill query tool and the ldns DNSSEC tools

1.9.2-1 · BSD-3-Clause · 1.4 SBU · 3.3 MiB, 562 files · 41_system, 516 of 1047 · ports/core/network/ldns

Homepage: https://www.nlnetlabs.nl/projects/ldns/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/network.txt:

dnsmasq is shipped, and drill, which comes with the library, is how this machine asks a DNS question.

Depends on: openssl, libpcap, ca-certificates.

Required by (1): openssh.

Sources: ldns-1.9.2.tar.gz (1.2 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install ldns'

build.sh:

LDFLAGS= ./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--sysconfdir=/etc \
	--disable-static \
	--with-drill \
	--with-examples \
	--with-ssl=/usr \
	--with-ca-file=/etc/ssl/cert.pem \
	--enable-sha2 \
	--enable-ecdsa \
	--enable-ed25519 \
	--enable-ed448 \
	--enable-dane \
	--enable-dane-verify \
	--enable-dane-ta-usage \
	--disable-gost \
	--disable-dsa
grep -q '^LIBPCAP_LIBS *= *-lpcap' Makefile \
	|| { echo "ldns: libpcap missing, ldns-dpa would be skipped" >&2; exit 1; }
make LDFLAGS="$LDFLAGS"
make LDFLAGS="$LDFLAGS" DESTDIR=$PKG install

Programs: drill, ldns-chaos, ldns-compare-zones, ldns-config, ldns-dane, ldns-dpa, ldns-gen-zone, ldns-key2ds, ldns-keyfetcher, ldns-keygen, ldns-mx, ldns-notify, ldns-nsec3-hash, ldns-read-zone, ldns-resolver, ldns-revoke, ldns-rrsig, ldns-signzone, ldns-test-edns, ldns-testns, ldns-update, ldns-verify-zone, ldns-version, ldns-walk, ldns-zcat, ldns-zsplit, ldnsd.

Libraries: libldns.so.

Directories: /usr/include/ldns, /usr/share/licenses/ldns.