]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 days agodnsdist: Add package urls to our SBOMs 16412/head
Remi Gacogne [Tue, 7 Oct 2025 14:03:00 +0000 (16:03 +0200)] 
dnsdist: Add package urls to our SBOMs

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
(cherry picked from commit 0da0d23db6c38a72ecb8dae0317fc5aa12ef4d25)

8 days agoMerge pull request #16391 from romeroalx/backport-15267-auth-5.0.x auth-5.0.1
Peter van Dijk [Thu, 30 Oct 2025 10:22:51 +0000 (11:22 +0100)] 
Merge pull request #16391 from romeroalx/backport-15267-auth-5.0.x

Auth 5.0.x - backport 15267 - Upload packages to additional repository

9 days agogh actions build-packages: avoid duplicates download-artifacts action. Fix publications 16391/head
romeroalx [Tue, 28 Oct 2025 11:53:44 +0000 (12:53 +0100)] 
gh actions build-packages: avoid duplicates download-artifacts action. Fix publications

9 days agogh actions: upload packages to an additional repository
romeroalx [Fri, 7 Mar 2025 07:00:19 +0000 (08:00 +0100)] 
gh actions: upload packages to an additional repository

11 days agoMerge pull request #16360 from miodvallat/backport-16352-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:32:07 +0000 (12:32 +0100)] 
Merge pull request #16360 from miodvallat/backport-16352-to-auth-5.0.x

auth 5.0: backport "api: relax zone name check in view removal "

11 days agoMerge pull request #16359 from miodvallat/backport-16287-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:31:56 +0000 (12:31 +0100)] 
Merge pull request #16359 from miodvallat/backport-16287-to-auth-5.0.x

auth 5.0: backport "Prevent a potential race condition in cache cleaning"

11 days agoMerge pull request #16358 from miodvallat/backport-16259-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:31:41 +0000 (12:31 +0100)] 
Merge pull request #16358 from miodvallat/backport-16259-to-auth-5.0.x

auth 5.0: backport "auth and rec: Allow selecting a specific version of Lua with meson"

11 days agoMerge pull request #16357 from miodvallat/backport-16253-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:31:30 +0000 (12:31 +0100)] 
Merge pull request #16357 from miodvallat/backport-16253-to-auth-5.0.x

auth 5.0: backport "sdist: include additional files/dirs"

11 days agoMerge pull request #16356 from miodvallat/backport-16209-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:31:21 +0000 (12:31 +0100)] 
Merge pull request #16356 from miodvallat/backport-16209-to-auth-5.0.x

auth 5.0: backport "pdnsutil: fix b2b-migrate to from sql to non-sql"

11 days agoMerge pull request #16355 from miodvallat/backport-16193-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:31:11 +0000 (12:31 +0100)] 
Merge pull request #16355 from miodvallat/backport-16193-to-auth-5.0.x

auth 5.0: backport " lmdb: optional memory-only freshness check timestamp"

11 days agoMerge pull request #16354 from miodvallat/backport-16119-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:31:01 +0000 (12:31 +0100)] 
Merge pull request #16354 from miodvallat/backport-16119-to-auth-5.0.x

auth 5.0: backport "LUA shared exec: reset exec limit for every invocation"

11 days agoMerge pull request #16353 from miodvallat/backport-16112-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:30:51 +0000 (12:30 +0100)] 
Merge pull request #16353 from miodvallat/backport-16112-to-auth-5.0.x

auth 5.0: backport "Fix EDNS Cookie & Proxy protocol"

11 days agoMerge pull request #16211 from miodvallat/backport-15929-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:30:24 +0000 (12:30 +0100)] 
Merge pull request #16211 from miodvallat/backport-15929-to-auth-5.0.x

auth 5.0.x: backport "grow auth source tarballs fatter"

11 days agoMerge pull request #16210 from miodvallat/backport-16152-to-auth-5.0.x
Miod Vallat [Mon, 27 Oct 2025 11:30:09 +0000 (12:30 +0100)] 
Merge pull request #16210 from miodvallat/backport-16152-to-auth-5.0.x

auth 5.0: backport "auth views: perform character set validation of view names"

2 weeks agoOn second thought, relax the zone check for the view add operation too. 16360/head
Miod Vallat [Thu, 23 Oct 2025 06:24:47 +0000 (08:24 +0200)] 
On second thought, relax the zone check for the view add operation too.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit d6f700a88b9038298ac55023a7eb5bc66a8eb575)

2 weeks agoRelax zone checks when removing a zone from a view.
Miod Vallat [Thu, 23 Oct 2025 05:34:56 +0000 (07:34 +0200)] 
Relax zone checks when removing a zone from a view.

It's ok for the zone to no longer exist at this point.

Fixes: #16351
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit a912c5a1623372e87c663c55956bbd3dda652d0f)

2 weeks agoSigh... this triggers clang-tidy 16356/head
Miod Vallat [Thu, 23 Oct 2025 10:05:22 +0000 (12:05 +0200)] 
Sigh... this triggers clang-tidy

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoauthoritative: Prevent a potential race condition in cache cleaning 16359/head
Deyan Doychev [Fri, 17 Oct 2025 11:37:32 +0000 (14:37 +0300)] 
authoritative: Prevent a potential race condition in cache cleaning

Clean query cache before cleaning packet cache. Otherwise the following
situation is possible:

* thread A cleans packet cache
* thread B answers a question for the same name that is being cleaned by A
* since there is no packet cache it populates a packet cache entry from the
  query cache (which has not yet been cleaned by thread A
* thread A cleans query cache
* the server will return the old packet cache entry until its TTL expires or
  cache is cleaned again

Switching which cache is cleaned first fixes this race condition.

Signed-off-by: Deyan Doychev <deyan@siteground.com>
(cherry picked from commit fdcc9ab427f8deb73a4b5603ec2cb5233ec8bd78)

2 weeks agoauth and rec: Allow selecting a specific version of Lua with meson 16358/head
Otto Moerbeek [Tue, 14 Oct 2025 13:28:21 +0000 (15:28 +0200)] 
auth and rec: Allow selecting a specific version of Lua with meson

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit 2715604894ca3cbcd23d53584c8adc36a320d408)

2 weeks agoauth sdist: include additional files/dirs 16357/head
Peter van Dijk [Mon, 13 Oct 2025 09:37:33 +0000 (11:37 +0200)] 
auth sdist: include additional files/dirs

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit 4e308131ebb42c2005e7edde67a72b5fcb050a4d)

2 weeks agoIn zone copy, proceed anyway if --force even if target doesn't support comments.
Miod Vallat [Mon, 13 Oct 2025 11:52:48 +0000 (13:52 +0200)] 
In zone copy, proceed anyway if --force even if target doesn't support comments.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 516d38c2037c39fcc1833f49c8aa4e2fe263e12a)

2 weeks agoWhen copying/migrating zones, only complain about comments if there are any.
Miod Vallat [Fri, 3 Oct 2025 05:25:22 +0000 (07:25 +0200)] 
When copying/migrating zones, only complain about comments if there are any.

Fixes: #16201
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit dd6e79a5bf56bd80452295ac1f4a8ccbaafdd126)

2 weeks agoBe more careful when initializing TransientDomainInfo. 16355/head
Miod Vallat [Mon, 29 Sep 2025 13:55:49 +0000 (15:55 +0200)] 
Be more careful when initializing TransientDomainInfo.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit b6276dbf3297665b75cf0e4e342ad257a2f0b0e1)

2 weeks agoHandle freshness check timestamps similarly to notified serials.
Miod Vallat [Mon, 29 Sep 2025 12:33:02 +0000 (14:33 +0200)] 
Handle freshness check timestamps similarly to notified serials.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit dc22b370d4af51e3dede9a50d9677854e7f58fe1)

2 weeks agoInvoke Namingway and change a bunch of data structure names. NFCI
Miod Vallat [Mon, 29 Sep 2025 12:22:50 +0000 (14:22 +0200)] 
Invoke Namingway and change a bunch of data structure names. NFCI

This will make them look less awkward in the near future.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 416166997339ddc9431d5524328c54830244e36f)

2 weeks agoauth LUA shared exec: reset exec limit for every invocation 16354/head
Peter van Dijk [Sat, 13 Sep 2025 20:37:42 +0000 (22:37 +0200)] 
auth LUA shared exec: reset exec limit for every invocation

fixes #16118

(cherry picked from commit 61253c3a0302beffb3bc1040f77eb284acfc3082)

2 weeks agoUse getInnerRemote() to fix EDNS Cookie & Proxy protocol 16353/head
Jelle Kaufmann [Thu, 11 Sep 2025 11:07:09 +0000 (13:07 +0200)] 
Use getInnerRemote() to fix EDNS Cookie & Proxy protocol

(cherry picked from commit 62d5e22b5a2e3c5271aa935a8b41dcc5c6de9e95)

2 weeks agoMerge pull request #16329 from romeroalx/backport-16323-auth-5.0.x
Peter van Dijk [Tue, 21 Oct 2025 18:23:21 +0000 (20:23 +0200)] 
Merge pull request #16329 from romeroalx/backport-16323-auth-5.0.x

auth-5.0.x: backport 16323 - gh actions: add npm package for swagger test

2 weeks agogh actions: add npm package for swagger test 16329/head
romeroalx [Tue, 21 Oct 2025 10:27:33 +0000 (12:27 +0200)] 
gh actions: add npm package for swagger test

3 weeks agoMerge pull request #16280 from rgacogne/auth-5.0.x-backport-16169
Remi Gacogne [Thu, 16 Oct 2025 09:01:26 +0000 (11:01 +0200)] 
Merge pull request #16280 from rgacogne/auth-5.0.x-backport-16169

auth-5.0.x: Backport 16169 - build-docker-images-tags: Grant enough permissions to sign images

3 weeks agoMerge pull request #16271 from rgacogne/auth-5.0.x-backport-15267
Remi Gacogne [Thu, 16 Oct 2025 08:30:07 +0000 (10:30 +0200)] 
Merge pull request #16271 from rgacogne/auth-5.0.x-backport-15267

auth-5.0.x: Backport 15267: Fix the build-packages workflow

3 weeks agobuild-docker-images-tags: Grant enough permissions to sign images 16280/head
Remi Gacogne [Tue, 23 Sep 2025 14:15:13 +0000 (16:15 +0200)] 
build-docker-images-tags: Grant enough permissions to sign images

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoauth-5.0.x: Fix the build-packages workflow 16271/head
romeroalx [Fri, 7 Mar 2025 07:00:19 +0000 (08:00 +0100)] 
auth-5.0.x: Fix the build-packages workflow

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoBe sure to add the meson build files to the contents of `make dist'. 16211/head
Miod Vallat [Fri, 25 Jul 2025 13:52:29 +0000 (15:52 +0200)] 
Be sure to add the meson build files to the contents of `make dist'.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit d99f8cf85b730379783fc09fe1689412acfbce78)

5 weeks agosort EXTRA_DIST
Miod Vallat [Fri, 25 Jul 2025 14:09:45 +0000 (16:09 +0200)] 
sort EXTRA_DIST

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit e4a5f74715897454a78ed4488fed40a627efa66a)

5 weeks agoThis does not try to generate the man pages if they are found in the tarball
Otto Moerbeek [Thu, 11 Sep 2025 14:07:10 +0000 (16:07 +0200)] 
This does not try to generate the man pages if they are found in the tarball

Same method as dnsdist and rec

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit aa22142831bdbe665dced6202d890c6e6aeb72ee)

5 weeks agoPerform character set validation of view names. 16210/head
Miod Vallat [Mon, 22 Sep 2025 08:42:47 +0000 (10:42 +0200)] 
Perform character set validation of view names.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit b260728c8517d205636471e42deb3b8ffb7db664)

7 weeks agoMerge pull request #16147 from miodvallat/backport-16141-to-auth-5.0.x
Miod Vallat [Fri, 19 Sep 2025 16:28:24 +0000 (18:28 +0200)] 
Merge pull request #16147 from miodvallat/backport-16141-to-auth-5.0.x

auth 5.0: backport "lmdb: optional memory-only notification timestamps"

7 weeks agoReverse polarity 16147/head
Miod Vallat [Fri, 19 Sep 2025 12:42:21 +0000 (14:42 +0200)] 
Reverse polarity

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 86d641da024d9a153f8fdc710d38e1bc18f1b7de)

7 weeks agolmdb: allow domain notification timestamps to be kept in memory only.
Miod Vallat [Mon, 15 Sep 2025 13:56:20 +0000 (15:56 +0200)] 
lmdb: allow domain notification timestamps to be kept in memory only.

They will get synchronized on disk only when another DomainInfo field
gets modified.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 51d5dbc558e36f3bb6d487c5c46737e58e2f4b19)

7 weeks agoFactor code responsible for filling DomainInfo. NFC yet.
Miod Vallat [Mon, 15 Sep 2025 10:09:00 +0000 (12:09 +0200)] 
Factor code responsible for filling DomainInfo. NFC yet.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 7c5d7af8ba785c99021a78b229f89ea6ad652170)

7 weeks agoMerge pull request #16143 from miodvallat/backport-15991-to-auth-5.0.x
Miod Vallat [Fri, 19 Sep 2025 12:47:20 +0000 (14:47 +0200)] 
Merge pull request #16143 from miodvallat/backport-15991-to-auth-5.0.x

auth-5.0: backport "Fix Boost system lib dependency: it is no longer available since 1.89"

7 weeks agoFix Boost system lib dependency: it is no longer available since 1.89 16143/head
Otto Moerbeek [Tue, 19 Aug 2025 12:42:12 +0000 (14:42 +0200)] 
Fix Boost system lib dependency: it is no longer available since 1.89

To do that, partly sync with upstream boost.m4

Should fix #15972

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit e096f48218dd2ea82fc907ff62e4cbced121ca8b)

3 months agoMerge pull request #15948 from miodvallat/random-bakery auth-5.0.0
Miod Vallat [Thu, 31 Jul 2025 09:20:03 +0000 (11:20 +0200)] 
Merge pull request #15948 from miodvallat/random-bakery

auth: random edns cookies

3 months agoMerge pull request #14927 from Cybertinus/patch-1
Miod Vallat [Thu, 31 Jul 2025 07:33:51 +0000 (09:33 +0200)] 
Merge pull request #14927 from Cybertinus/patch-1

Update pdnsutil.bash_completion.d

3 months agoMerge pull request #15949 from omoerbeek/rec-tidy-20250709
Otto Moerbeek [Wed, 30 Jul 2025 17:21:07 +0000 (19:21 +0200)] 
Merge pull request #15949 from omoerbeek/rec-tidy-20250709

rec: assorted tidy

3 months agoTypo in comment 15949/head
Otto Moerbeek [Wed, 30 Jul 2025 16:05:21 +0000 (18:05 +0200)] 
Typo in comment

3 months agoMerge pull request #15950 from omoerbeek/rec-reorder-cacheentry
Otto Moerbeek [Wed, 30 Jul 2025 15:26:47 +0000 (17:26 +0200)] 
Merge pull request #15950 from omoerbeek/rec-reorder-cacheentry

rec: reorder fields of record cache entry by size (saves 8 bytes per entry on 64-bit systems)

3 months agoTypo in comment
Otto Moerbeek [Wed, 30 Jul 2025 15:02:07 +0000 (17:02 +0200)] 
Typo in comment

Co-authored-by: Doug Freed <dwfreed@mtu.edu>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoProcess review comments from Miod
Otto Moerbeek [Wed, 30 Jul 2025 14:08:26 +0000 (16:08 +0200)] 
Process review comments from Miod

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoAllow edns-cookie-secret to be set to "random". 15948/head
Miod Vallat [Wed, 30 Jul 2025 12:40:11 +0000 (14:40 +0200)] 
Allow edns-cookie-secret to be set to "random".

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agorec: asssorted tidy
Otto Moerbeek [Wed, 9 Jul 2025 13:04:42 +0000 (15:04 +0200)] 
rec: asssorted tidy

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agorec: reorder fields of record cache entry by size (saves 8 bytes per entry on 64... 15950/head
Otto Moerbeek [Tue, 29 Jul 2025 14:25:09 +0000 (16:25 +0200)] 
rec: reorder fields of record cache entry by size (saves 8 bytes per entry on 64-bit systems)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #15928 from miodvallat/slebalwar
Miod Vallat [Wed, 30 Jul 2025 06:12:53 +0000 (08:12 +0200)] 
Merge pull request #15928 from miodvallat/slebalwar

Make keyUnconv a bit less inefficient

3 months agoMerge pull request #15603 from zeha/svcb-generic
Miod Vallat [Wed, 30 Jul 2025 05:47:34 +0000 (07:47 +0200)] 
Merge pull request #15603 from zeha/svcb-generic

SVCB: allow parsing keys in generic format without value

3 months agoSVCB: allow parsing generic key without value 15603/head
Chris Hofstaedtler [Tue, 27 May 2025 20:04:34 +0000 (22:04 +0200)] 
SVCB: allow parsing generic key without value

3 months agoMerge pull request #15881 from rgacogne/ddist-opcode-mnemonic
Remi Gacogne [Tue, 29 Jul 2025 14:46:14 +0000 (16:46 +0200)] 
Merge pull request #15881 from rgacogne/ddist-opcode-mnemonic

dnsdist: Support mnemonics for the Opcode selector

3 months agoMerge pull request #15938 from omoerbeek/rec-pregen-librs
Otto Moerbeek [Tue, 29 Jul 2025 13:40:50 +0000 (15:40 +0200)] 
Merge pull request #15938 from omoerbeek/rec-pregen-librs

rec: put lib.rs into tarball

3 months agoMerge pull request #15936 from omoerbeek/prep-5.1.7-5.2.5
Otto Moerbeek [Tue, 29 Jul 2025 10:52:02 +0000 (12:52 +0200)] 
Merge pull request #15936 from omoerbeek/prep-5.1.7-5.2.5

rec: Prep for 5.1.7 and 5.2.5

3 months agoMerge pull request #15937 from rgacogne/ddist-no-rust-quiche-ci-least
Remi Gacogne [Tue, 29 Jul 2025 09:32:03 +0000 (11:32 +0200)] 
Merge pull request #15937 from rgacogne/ddist-no-rust-quiche-ci-least

ci: Don't install Rust or Quiche when testing DNSdist 'least'

3 months agorec: put lib.rs into tarball 15938/head
Otto Moerbeek [Mon, 28 Jul 2025 14:47:00 +0000 (16:47 +0200)] 
rec: put lib.rs into tarball

Plus some rearrangement is more like the dnsdist one

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoPrep for 5.1.7 and 5.2.5 15936/head
Otto Moerbeek [Mon, 28 Jul 2025 09:39:06 +0000 (11:39 +0200)] 
Prep for 5.1.7 and 5.2.5

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agodns: Get rid of the ugly special case for OpCode 3 15881/head
Remi Gacogne [Thu, 24 Jul 2025 09:11:24 +0000 (11:11 +0200)] 
dns: Get rid of the ugly special case for OpCode 3

As suggested by Miod.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Support mnemonics for the Opcode selector
Remi Gacogne [Mon, 21 Jul 2025 09:56:47 +0000 (11:56 +0200)] 
dnsdist: Support mnemonics for the Opcode selector

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #15904 from rgacogne/ddist-fix-systemd-unit-meson
Remi Gacogne [Mon, 28 Jul 2025 07:33:44 +0000 (09:33 +0200)] 
Merge pull request #15904 from rgacogne/ddist-fix-systemd-unit-meson

dnsdist: Fix systemd template unit and restricted network families when building with meson

3 months agoMerge pull request #15923 from rgacogne/ddist-add-test-netmask-exclusion
Remi Gacogne [Mon, 28 Jul 2025 07:32:42 +0000 (09:32 +0200)] 
Merge pull request #15923 from rgacogne/ddist-add-test-netmask-exclusion

dnsdist: Test netmask exclusions via YAML

3 months agoMerge pull request #15919 from rgacogne/ddist-upgrade-quiche
Remi Gacogne [Mon, 28 Jul 2025 07:32:09 +0000 (09:32 +0200)] 
Merge pull request #15919 from rgacogne/ddist-upgrade-quiche

dnsdist: Upgrade Cloudflare's Quiche to 0.24.4

3 months agoMerge pull request #15914 from rgacogne/ddist-fix-quickstart-qps
Remi Gacogne [Mon, 28 Jul 2025 07:32:00 +0000 (09:32 +0200)] 
Merge pull request #15914 from rgacogne/ddist-fix-quickstart-qps

dnsdist: Fix invalid "qps" in Quickstart Guide

3 months agoMerge pull request #15915 from omoerbeek/rust-build-env
Otto Moerbeek [Mon, 28 Jul 2025 05:43:27 +0000 (07:43 +0200)] 
Merge pull request #15915 from omoerbeek/rust-build-env

rec and dnsdist: properly set up env vars for rust build

3 months agoci: Don't install Rust or Quiche when testing DNSdist 'least' 15937/head
Remi Gacogne [Fri, 25 Jul 2025 14:42:00 +0000 (16:42 +0200)] 
ci: Don't install Rust or Quiche when testing DNSdist 'least'

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoBuild the DNSName in order in keyUnconv. 15928/head
Miod Vallat [Fri, 25 Jul 2025 10:34:23 +0000 (12:34 +0200)] 
Build the DNSName in order in keyUnconv.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agodnsdist: Test netmask exclusions via YAML 15923/head
Remi Gacogne [Fri, 25 Jul 2025 08:08:58 +0000 (10:08 +0200)] 
dnsdist: Test netmask exclusions via YAML

Follow-up to #15822.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #15890 from rgacogne/lua-wrapper-std-optional
Remi Gacogne [Fri, 25 Jul 2025 08:02:00 +0000 (10:02 +0200)] 
Merge pull request #15890 from rgacogne/lua-wrapper-std-optional

LuaWrapper: Add support for `std::optional`

3 months agoMerge pull request #15916 from rgacogne/ddist-rings-update-atomic-outside-lock
Remi Gacogne [Thu, 24 Jul 2025 15:25:20 +0000 (17:25 +0200)] 
Merge pull request #15916 from rgacogne/ddist-rings-update-atomic-outside-lock

dnsdist: Update rings' atomic counter without holding the lock

3 months agoMerge pull request #15917 from rgacogne/ddist-early-return-empty-chains
Remi Gacogne [Thu, 24 Jul 2025 15:25:07 +0000 (17:25 +0200)] 
Merge pull request #15917 from rgacogne/ddist-early-return-empty-chains

dnsdist: Return early when a rule chain is empty

3 months agoMerge pull request #15918 from rgacogne/ddist-cache-update-atomic-outside-lock
Remi Gacogne [Thu, 24 Jul 2025 15:24:58 +0000 (17:24 +0200)] 
Merge pull request #15918 from rgacogne/ddist-cache-update-atomic-outside-lock

dnsdist: Update a cache's atomic counter without holding the lock

3 months agodnsdist: Upgrade Cloudflare's Quiche to 0.24.4 15919/head
Remi Gacogne [Thu, 24 Jul 2025 14:49:52 +0000 (16:49 +0200)] 
dnsdist: Upgrade Cloudflare's Quiche to 0.24.4

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Update a cache's atomic counter without holding the lock 15918/head
Remi Gacogne [Thu, 24 Jul 2025 14:02:39 +0000 (16:02 +0200)] 
dnsdist: Update a cache's atomic counter without holding the lock

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Return early when a rule chain is empty 15917/head
Remi Gacogne [Tue, 22 Jul 2025 09:19:19 +0000 (11:19 +0200)] 
dnsdist: Return early when a rule chain is empty

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Update rings' atomic counter without holding the lock 15916/head
Remi Gacogne [Tue, 22 Jul 2025 09:18:38 +0000 (11:18 +0200)] 
dnsdist: Update rings' atomic counter without holding the lock

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agorec and dnsdist: properly set up env vars 15915/head
Otto Moerbeek [Thu, 24 Jul 2025 13:41:50 +0000 (15:41 +0200)] 
rec and dnsdist: properly set up env vars

env.append() appends to an existing value

Should fix the error in #15896, but the reported location of cargo
still might be wrong.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #15902 from rgacogne/ddist-fix-qtype-rate
Remi Gacogne [Thu, 24 Jul 2025 13:09:31 +0000 (15:09 +0200)] 
Merge pull request #15902 from rgacogne/ddist-fix-qtype-rate

dnsdist: Fix QType rate dynamic block with YAML

3 months agodnsdist: Fix invalid "qps" in Quickstart Guide 15914/head
Remi Gacogne [Thu, 24 Jul 2025 12:56:52 +0000 (14:56 +0200)] 
dnsdist: Fix invalid "qps" in Quickstart Guide

As noted by Holger Hoffstätte, the quickstart guide has an outdated
YAML configuration sample which is no longer valid. `qps` has been
renamed to `queries_per_second` well before the release candidates.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #15899 from miodvallat/betamax
Miod Vallat [Thu, 24 Jul 2025 10:50:08 +0000 (12:50 +0200)] 
Merge pull request #15899 from miodvallat/betamax

auth 5.0.0ß1 changelog + secpoll

3 months agodnsdist: Fix restricted network families when building with meson 15904/head
Remi Gacogne [Thu, 24 Jul 2025 09:42:03 +0000 (11:42 +0200)] 
dnsdist: Fix restricted network families when building with meson

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Fix systemd template unit when building with meson
Remi Gacogne [Thu, 24 Jul 2025 09:41:38 +0000 (11:41 +0200)] 
dnsdist: Fix systemd template unit when building with meson

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #15893 from omoerbeek/rec-rpz-custom-cname-chain auth-5.0.0-beta1
Otto Moerbeek [Thu, 24 Jul 2025 09:21:12 +0000 (11:21 +0200)] 
Merge pull request #15893 from omoerbeek/rec-rpz-custom-cname-chain

rec: try harder to follow cname chain on RPZ hit with custom CNAME record

3 months agodnsdist: Apply Miod's suggestions (thanks!) 15902/head
Remi Gacogne [Thu, 24 Jul 2025 09:17:04 +0000 (11:17 +0200)] 
dnsdist: Apply Miod's suggestions (thanks!)

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoChangelog and secpoll update for 5.0.0-beta1. 15899/head
Miod Vallat [Thu, 24 Jul 2025 06:43:33 +0000 (08:43 +0200)] 
Changelog and secpoll update for 5.0.0-beta1.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoMerge pull request #15900 from omoerbeek/rec-prep-5.3.0-beta1
Otto Moerbeek [Thu, 24 Jul 2025 09:08:39 +0000 (11:08 +0200)] 
Merge pull request #15900 from omoerbeek/rec-prep-5.3.0-beta1

rec: prep for rec-5.3.0-beta1

3 months agodnsdist: Fix QType rate dynamic block with YAML
Remi Gacogne [Thu, 24 Jul 2025 08:57:28 +0000 (10:57 +0200)] 
dnsdist: Fix QType rate dynamic block with YAML

The YAML configuration for the the "QType rate" dynamic block was
totally broken, trying to configure a rcode rate rule instead of a
qtype rate one.
Thanks to HellSpawn for reporting this the issue!

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agotest-luawrapper: Appease the clang-tidy gods 15890/head
Remi Gacogne [Thu, 24 Jul 2025 08:12:57 +0000 (10:12 +0200)] 
test-luawrapper: Appease the clang-tidy gods

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoTypos in comments 15893/head
Otto Moerbeek [Thu, 24 Jul 2025 08:06:21 +0000 (10:06 +0200)] 
Typos in comments

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agorec: prep for rec-5.3.0-beta1 15900/head
Otto Moerbeek [Wed, 23 Jul 2025 13:14:58 +0000 (15:14 +0200)] 
rec: prep for rec-5.3.0-beta1

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoUse unmodified flag for post policy
Otto Moerbeek [Thu, 24 Jul 2025 05:25:13 +0000 (07:25 +0200)] 
Use unmodified flag for post policy

3 months agorec: if a RPZ hit has a custom CNAME record, we should try harder to follow it
Otto Moerbeek [Wed, 23 Jul 2025 10:06:41 +0000 (12:06 +0200)] 
rec: if a RPZ hit has a custom CNAME record, we should try harder to follow it

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoLuaWrapper: Add support for `std::optional`
Remi Gacogne [Tue, 22 Jul 2025 12:05:56 +0000 (14:05 +0200)] 
LuaWrapper: Add support for `std::optional`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #15888 from omoerbeek/rec-ottrace-align rec-5.4.0-alpha0
Otto Moerbeek [Tue, 22 Jul 2025 11:15:46 +0000 (13:15 +0200)] 
Merge pull request #15888 from omoerbeek/rec-ottrace-align

rec: add a reserved/alignment byte in EDNS record

3 months agorec: add a reserved/alignment byte in EDNS record 15888/head
Otto Moerbeek [Tue, 22 Jul 2025 10:11:48 +0000 (12:11 +0200)] 
rec: add a reserved/alignment byte in EDNS record

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #15887 from omoerbeek/rec-version-edns-traceid
Otto Moerbeek [Tue, 22 Jul 2025 09:32:02 +0000 (11:32 +0200)] 
Merge pull request #15887 from omoerbeek/rec-version-edns-traceid

rec: add version to edns record for OpenTelemetry data