Package: unbound
Version: 1.26.2-1
Severity: wishlist
Dear Maintainer,
please consider building unbound with downstream DNS-over-QUIC (DoQ,
RFC 9250) support by configuring with --with-libngtcp2.
Upstream has supported DoQ since 1.22.0, and since 1.24.0 it builds
against stock OpenSSL >= 3.5 through ngtcp2's OpenSSL crypto backend,
so no QUIC-enabled OpenSSL fork is needed any more [1]. Everything
required is already in unstable:
- libssl-dev 3.6.x
- libngtcp2-dev and libngtcp2-crypto-ossl-dev 1.24.0-1 (also in forky;
1.22.1 in trixie-backports)
Other distributions already ship DoQ-enabled unbound:
- Fedora (rawhide): %bcond_without ngtcp2, BuildRequires
ngtcp2-crypto-ossl-devel, disabled only for RHEL [2]
- openSUSE Factory: %bcond_without unbound_quic, BuildRequires
pkgconfig(libngtcp2_crypto_ossl) [3]
- Arch Linux: --with-libngtcp2 [4]
Proposed change (untested sketch against salsa master):
--- a/debian/control
+++ b/debian/control
@@
libnghttp2-dev <!pkg.unbound.libonly>,
+ libngtcp2-crypto-ossl-dev <!pkg.unbound.libonly>,
+ libngtcp2-dev <!pkg.unbound.libonly>,
libprotobuf-c-dev <!pkg.unbound.libonly>,
--- a/debian/rules
+++ b/debian/rules
@@
--enable-cachedb --with-libhiredis \
--with-libnghttp2 \
+ --with-libngtcp2 \
--with-chroot-dir="" \
Only the daemon build changes. The libunbound-only build is untouched,
so libunbound8 doesn't gain new dependencies.
Things worth considering:
- Behaviour change for existing DoT users: quic-port defaults to 853,
and an interface whose port matches quic-port gets a DoQ listener.
A configuration with "interface: <addr>@853" for DNS-over-TLS would
therefore also start answering DoQ on UDP 853 after the upgrade. A
NEWS.Debian entry, or a packaged default that keeps DoQ off until it
is configured explicitly, may be appropriate.
- Security: DoQ has had its own CVEs (e.g. CVE-2026-32665,
CVE-2026-14586, CVE-2026-97206), all fixed in 1.26.x. Today they are
tracked as not affecting Debian's build. Enabling DoQ moves them into
scope for future releases.
- The AppArmor profile may need a look for the extra libraries (the
network rules should already cover UDP).
Thanks for maintaining unbound!
[1]
https://unbound.docs.nlnetlabs.nl/en/latest/topics/privacy/dns-over-quic.html
[2] https://src.fedoraproject.org/rpms/unbound/blob/rawhide/f/unbound.spec
[3]
https://build.opensuse.org/package/view_file/openSUSE:Factory/unbound/unbound.spec
[4]
https://gitlab.archlinux.org/archlinux/packaging/packages/unbound/-/blob/main/PKGBUILD