🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7497

Bug#1156372: unbound: please enable DNS-over-QUIC (build with --with-libngtcp2)

#7497
From: Simon Tretter
Date: Fri, 04 Dec 2026 20:20
70 lines
4357 bytes
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
Technical Details
Message-ID: <O6HV7-fZUG-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-nl.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-nl.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: "Simon Tretter" <simon@mediaarchitectu.re>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156372: unbound: please enable DNS-over-QUIC (build with --with-libngtcp2)
Date: Fri, 04 Dec 2026 21:20:01 +0100
Message-ID: <O6HV7-fZUG-5@gated-at.bofh.it>
X-Original-To: <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 20:19:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: "Simon Tretter" <simon@mediaarchitectu.re>, 1156372@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: unbound@packages.debian.org
X-Debian-Pr-Message: report 1156372
X-Debian-Pr-Package: unbound
X-Debian-Pr-Source: unbound
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
X-Mailer: aerc 0.22.0-0-gc2f86b7abde3
X-Greylist: delayed 422 seconds by postgrey-1.37 at buxtehude; Fri, 04 Dec 2026 20:17:14 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006996
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 70
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 04 Dec 2026 21:10:09 +0100
X-Original-Message-ID: <DNC7Z2KJ2UAK.X2Y6Y528NB4A@mediaarchitectu.re>