]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 weeks agofeat(pdnsutil): Warn when NSEC3 iterations or salt are non-BCP 16262/head
Pieter Lexis [Tue, 14 Oct 2025 14:53:53 +0000 (16:53 +0200)] 
feat(pdnsutil): Warn when NSEC3 iterations or salt are non-BCP

Closes: #16212
3 weeks agoMerge pull request #16257 from zeha/typo
Otto Moerbeek [Tue, 14 Oct 2025 13:32:04 +0000 (15:32 +0200)] 
Merge pull request #16257 from zeha/typo

Fix typo in ipv{4,6}hints comment

3 weeks agoMerge pull request #16256 from rgacogne/ddist-lua-versions-meson
Remi Gacogne [Tue, 14 Oct 2025 13:15:00 +0000 (15:15 +0200)] 
Merge pull request #16256 from rgacogne/ddist-lua-versions-meson

dnsdist: Allow selecting a specific version of Lua with meson

3 weeks agoMerge pull request #16258 from omoerbeek/rec-cook-test-fix
Otto Moerbeek [Tue, 14 Oct 2025 13:11:49 +0000 (15:11 +0200)] 
Merge pull request #16258 from omoerbeek/rec-cook-test-fix

rec: fix test_Cookies spurious error

3 weeks agoMerge pull request #16220 from omoerbeek/move-pb-trace-test
Otto Moerbeek [Tue, 14 Oct 2025 13:10:57 +0000 (15:10 +0200)] 
Merge pull request #16220 from omoerbeek/move-pb-trace-test

Move test-protozero-trace.cc to toplevel and add it in the autotools build where it was missing

3 weeks agoMerge pull request #16217 from rgacogne/sbom-purls
Remi Gacogne [Tue, 14 Oct 2025 12:10:18 +0000 (14:10 +0200)] 
Merge pull request #16217 from rgacogne/sbom-purls

dnsdist: Add package urls to our SBOMs

3 weeks agoMerge pull request #16219 from omoerbeek/contrib-pblogger-hex
Otto Moerbeek [Tue, 14 Oct 2025 12:04:45 +0000 (14:04 +0200)] 
Merge pull request #16219 from omoerbeek/contrib-pblogger-hex

ProtobufLogger: print OpenTelemetry IDs in hex, add proper command arg parser

3 weeks agorec: fix test_Cookies spurious error 16258/head
Otto Moerbeek [Tue, 14 Oct 2025 11:59:02 +0000 (13:59 +0200)] 
rec: fix test_Cookies spurious error

With some bad luck, all requests went to .26, it that case .25 will
not be marked as Supported. So be happy if at least one of the
target IPs is marked as Supported.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoFix typo in ipv{4,6}hints comment 16257/head
Chris Hofstaedtler [Tue, 14 Oct 2025 11:12:11 +0000 (13:12 +0200)] 
Fix typo in ipv{4,6}hints comment

Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
3 weeks agoMerge pull request #15550 from zeha/svcb
Peter van Dijk [Tue, 14 Oct 2025 11:10:10 +0000 (13:10 +0200)] 
Merge pull request #15550 from zeha/svcb

Support new SVCB parameters: ohttp, dohpath, tls-supported-groups

3 weeks agoMerge pull request #16013 from Habbie/sha1hed
Peter van Dijk [Tue, 14 Oct 2025 11:00:39 +0000 (13:00 +0200)] 
Merge pull request #16013 from Habbie/sha1hed

update keyblocks with non-SHA1 signing keys

3 weeks agoMerge pull request #16254 from rgacogne/ddist-quic-freebsd-any
Remi Gacogne [Tue, 14 Oct 2025 09:58:34 +0000 (11:58 +0200)] 
Merge pull request #16254 from rgacogne/ddist-quic-freebsd-any

ComboAddress: Fix "unspecified address" test when the port is set

3 weeks agoMerge pull request #16253 from Habbie/sdist-fix
Peter van Dijk [Tue, 14 Oct 2025 09:34:27 +0000 (11:34 +0200)] 
Merge pull request #16253 from Habbie/sdist-fix

auth sdist: include additional files/dirs

3 weeks agotest-iputils_hh.cc: Appease clang-tidy 16254/head
Remi Gacogne [Mon, 13 Oct 2025 15:21:07 +0000 (17:21 +0200)] 
test-iputils_hh.cc: Appease clang-tidy

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Allow selecting a specific version of Lua with meson 16256/head
Remi Gacogne [Mon, 13 Oct 2025 14:54:07 +0000 (16:54 +0200)] 
dnsdist: Allow selecting a specific version of Lua with meson

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoiputils: Make static addresses static in `ComboAddress::isUnspecified`
Remi Gacogne [Mon, 13 Oct 2025 14:44:15 +0000 (16:44 +0200)] 
iputils: Make static addresses static in `ComboAddress::isUnspecified`

Prevent having to instantiate them again and again, as suggested by
Otto.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #16244 from rgacogne/ddist-dnsheader-timeout-response
Remi Gacogne [Mon, 13 Oct 2025 14:24:35 +0000 (16:24 +0200)] 
Merge pull request #16244 from rgacogne/ddist-dnsheader-timeout-response

dnsdist: Set up the dns header for timeout response rules

3 weeks agoComboAddress: Fix "unspecified address" test when the port is set
Remi Gacogne [Mon, 13 Oct 2025 14:13:03 +0000 (16:13 +0200)] 
ComboAddress: Fix "unspecified address" test when the port is set

This fixes the QUIC issue reported on FreeBSD: the frontend
was not considered to be bound to an `ANY`/unspecified address
because the port was set, causing the address selection address
to fail.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #16209 from miodvallat/declined_to_comment
Miod Vallat [Mon, 13 Oct 2025 14:10:04 +0000 (16:10 +0200)] 
Merge pull request #16209 from miodvallat/declined_to_comment

pdnsutil: fix b2b-migrate to from sql to non-sql

3 weeks agoMerge pull request #16251 from omoerbeek/rec-rust-warning
Otto Moerbeek [Mon, 13 Oct 2025 13:53:03 +0000 (15:53 +0200)] 
Merge pull request #16251 from omoerbeek/rec-rust-warning

rec: silence rust warning

3 weeks agoMerge pull request #16213 from miodvallat/tertiary
Miod Vallat [Mon, 13 Oct 2025 11:54:04 +0000 (13:54 +0200)] 
Merge pull request #16213 from miodvallat/tertiary

auth: fix a secondary domain type check in bind backend

3 weeks agoIn zone copy, proceed anyway if --force even if target doesn't support comments. 16209/head
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>
3 weeks agoMerge pull request #16243 from miodvallat/meet_your_maker
Miod Vallat [Mon, 13 Oct 2025 11:49:32 +0000 (13:49 +0200)] 
Merge pull request #16243 from miodvallat/meet_your_maker

auth: remove and delete dead code which turns out to be dead and also not alive

3 weeks agoMerge pull request #16240 from miodvallat/lua_and_order
Miod Vallat [Mon, 13 Oct 2025 11:49:04 +0000 (13:49 +0200)] 
Merge pull request #16240 from miodvallat/lua_and_order

auth: boring changes to lua backend

3 weeks agoauth sdist: include additional files/dirs 16253/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>
3 weeks agodnsdist: Don't choke on invalid DNS payload when generating protobuf messages 16244/head
Remi Gacogne [Fri, 10 Oct 2025 14:40:25 +0000 (16:40 +0200)] 
dnsdist: Don't choke on invalid DNS payload when generating protobuf messages

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Properly zero-initialize the "fake" DNS header
Remi Gacogne [Fri, 10 Oct 2025 14:39:56 +0000 (16:39 +0200)] 
dnsdist: Properly zero-initialize the "fake" DNS header

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Set up the dns header for timeout response rules
Remi Gacogne [Fri, 10 Oct 2025 09:45:25 +0000 (11:45 +0200)] 
dnsdist: Set up the dns header for timeout response rules

Response actions expect that there is a DNS payload containing at
least a DNS header, as an incoming packet smaller than a DNS header
would have been discarded early in the processing path.
Unfortunately this is not true for timeout response rules, where we
no longer have the DNS payload from the query and obviously don't
have a response either. This commit restores a DNS header from the
information we have (query ID, flags) so that most actions can
proceed normally.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #16123 from pieterlexis/dnsdist-ipcrypt-16110
Pieter Lexis [Mon, 13 Oct 2025 07:15:31 +0000 (09:15 +0200)] 
Merge pull request #16123 from pieterlexis/dnsdist-ipcrypt-16110

dnsdist: Add IPCrypt2 PFX to Remote(Response)LogAction

3 weeks agoMerge pull request #16215 from romeroalx/fix-pip-name-normalization
Alexis Romero [Mon, 13 Oct 2025 05:59:16 +0000 (07:59 +0200)] 
Merge pull request #16215 from romeroalx/fix-pip-name-normalization

gh actions - misc-dailies: fix test that validates hashes of Python packages

4 weeks agoMerge pull request #16245 from miodvallat/matriochka_exception
Miod Vallat [Fri, 10 Oct 2025 14:16:36 +0000 (16:16 +0200)] 
Merge pull request #16245 from miodvallat/matriochka_exception

auth: yet another logic botch

4 weeks agoAppease clang-tidy 16245/head
Miod Vallat [Fri, 10 Oct 2025 12:16:04 +0000 (14:16 +0200)] 
Appease clang-tidy

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoIn getUpdatedPrimaries(), parse zone name first.
Miod Vallat [Fri, 10 Oct 2025 12:12:04 +0000 (14:12 +0200)] 
In getUpdatedPrimaries(), parse zone name first.

Otherwise, if another field is not parsed correctly, we risk triggering
another exception while attempting to use the unset zone name in the
error report.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMerge pull request #16242 from rgacogne/ddist-xsk-large-payload
Remi Gacogne [Fri, 10 Oct 2025 11:45:04 +0000 (13:45 +0200)] 
Merge pull request #16242 from rgacogne/ddist-xsk-large-payload

dnsdist: Fix handling of large XSK frames

4 weeks agodnsdist: Fix handling of large XSK frames 16242/head
Remi Gacogne [Tue, 7 Oct 2025 11:34:49 +0000 (13:34 +0200)] 
dnsdist: Fix handling of large XSK frames

There was a bug in the way we were computing the remaining capacity
of a XSK frame, because we forgot to account for the network headers.
This caused some XSK responses to be discarded by the kernel (`tx_invalid_descs`)
because there was not enough space left in the frame (less than
`XDP_PACKET_HEADROOM`).

Thanks to `ednaq` for reporting this via ou YesWeHack program.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoRemove leftover DNSBackend::maker() routines. 16243/head
Miod Vallat [Fri, 10 Oct 2025 09:22:04 +0000 (11:22 +0200)] 
Remove leftover DNSBackend::maker() routines.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMerge pull request #16241 from rgacogne/ddist-round-robin-atomic
Remi Gacogne [Fri, 10 Oct 2025 09:15:40 +0000 (11:15 +0200)] 
Merge pull request #16241 from rgacogne/ddist-round-robin-atomic

dnsdist: Make the round-robin LB policy internal counter atomic

4 weeks agodnsdist: Make the round-robin LB policy internal counter atomic 16241/head
Remi Gacogne [Fri, 10 Oct 2025 08:18:40 +0000 (10:18 +0200)] 
dnsdist: Make the round-robin LB policy internal counter atomic

Otherwise TSAN is rightfully complaining that there is a data race
because several threads are updating at the same time. While the
impact of this counter being corrupted is almost zero, and there is
an actual overhead to making it atomic, I believe this is the only
correct way to ensure the expected behaviour of this policy.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16239 from hhoffstaette/roundrobin-fastpath
Remi Gacogne [Fri, 10 Oct 2025 07:15:38 +0000 (09:15 +0200)] 
Merge pull request #16239 from hhoffstaette/roundrobin-fastpath

dnsdist: add fast path to roundrobin load balancing policy

4 weeks agoMerge pull request #16238 from rgacogne/ddist-fix-crash-handling-timeout
Remi Gacogne [Fri, 10 Oct 2025 07:12:48 +0000 (09:12 +0200)] 
Merge pull request #16238 from rgacogne/ddist-fix-crash-handling-timeout

dnsdist: Properly handle exceptions when processing timeout rules

4 weeks agoExpand the logCall and logResult macros. 16240/head
Miod Vallat [Fri, 10 Oct 2025 06:36:53 +0000 (08:36 +0200)] 
Expand the logCall and logResult macros.

They are in the way of structured logging and can't remain in this form.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoClearance sale on {} brackets, which clang-tidy will require eventually.
Miod Vallat [Fri, 10 Oct 2025 06:24:49 +0000 (08:24 +0200)] 
Clearance sale on {} brackets, which clang-tidy will require eventually.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agodnsdist: add fast path to roundrobin load balancing policy 16239/head
Holger Hoffstätte [Thu, 9 Oct 2025 20:04:07 +0000 (22:04 +0200)] 
dnsdist: add fast path to roundrobin load balancing policy

There is no need to collect all servers that are up when the current
server is already a good candidate. This avoids needless heap allocation
and deallocation in the vast majority of cases.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
4 weeks agoMerge pull request #16236 from jsoref/indent-list
Miod Vallat [Thu, 9 Oct 2025 18:03:19 +0000 (20:03 +0200)] 
Merge pull request #16236 from jsoref/indent-list

docs: Indent list

4 weeks agoMerge pull request #16237 from jsoref/add-period
Miod Vallat [Thu, 9 Oct 2025 17:30:44 +0000 (19:30 +0200)] 
Merge pull request #16237 from jsoref/add-period

docs: Add trailing period

4 weeks agoMerge pull request #16235 from horazont/fix/doc-dnssec-link-algo-rollover
Miod Vallat [Thu, 9 Oct 2025 17:28:11 +0000 (19:28 +0200)] 
Merge pull request #16235 from horazont/fix/doc-dnssec-link-algo-rollover

docs: link algorithm rollover from DNSSEC operational instructions

4 weeks agoMerge pull request #16233 from horazont/fix/doc-dnssec-soa-edit-notes
Miod Vallat [Thu, 9 Oct 2025 17:22:15 +0000 (19:22 +0200)] 
Merge pull request #16233 from horazont/fix/doc-dnssec-soa-edit-notes

docs: fix markup for list of "Important Notes"

4 weeks agodocs: Add trailing period 16237/head
Josh Soref [Thu, 9 Oct 2025 15:13:38 +0000 (11:13 -0400)] 
docs: Add trailing period

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 weeks agodocs: Indent list 16236/head
Josh Soref [Thu, 9 Oct 2025 15:07:24 +0000 (11:07 -0400)] 
docs: Indent list

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 weeks agodocs: link algorithm rollover from DNSSEC operational instructions 16235/head
Jonas Schäfer [Thu, 9 Oct 2025 15:04:14 +0000 (17:04 +0200)] 
docs: link algorithm rollover from DNSSEC operational instructions

I probably would've missed it anyway, because that section of the
document has strong "motivational / introductory text" vibes which make
my brain auto-skip it, but at least there's a chance now.

Signed-off-by: Jonas Schäfer <jonas@zombofant.net>
4 weeks agodocs: fix markup for list of "Important Notes" 16233/head
Jonas Schäfer [Thu, 9 Oct 2025 14:57:48 +0000 (16:57 +0200)] 
docs: fix markup for list of "Important Notes"

This had me confused while reading, because the list wasn't rendered as
list (but as a paragraph) and I wondered why starting with 00 would
increase the chance of overflow...

Signed-off-by: Jonas Schäfer <jonas@zombofant.net>
4 weeks agorec: silence rust warning 16251/head
Otto Moerbeek [Thu, 9 Oct 2025 14:56:40 +0000 (16:56 +0200)] 
rec: silence rust warning

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16231 from omoerbeek/rec-unit-test-test
Otto Moerbeek [Thu, 9 Oct 2025 14:17:13 +0000 (16:17 +0200)] 
Merge pull request #16231 from omoerbeek/rec-unit-test-test

ci: Check return status of rec unit test run when using meson

4 weeks agoMerge pull request #16227 from omoerbeek/unkeep-keeper-in-rec
Otto Moerbeek [Thu, 9 Oct 2025 13:50:45 +0000 (15:50 +0200)] 
Merge pull request #16227 from omoerbeek/unkeep-keeper-in-rec

Do not include dnsseckeeper.hh and ueberbackend.hh  in rec

4 weeks agodnsdist: Properly handle exceptions when processing timeout rules 16238/head
Remi Gacogne [Thu, 9 Oct 2025 12:53:51 +0000 (14:53 +0200)] 
dnsdist: Properly handle exceptions when processing timeout rules

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoCheck return status of rec unit test run when using meson 16231/head
Otto Moerbeek [Thu, 9 Oct 2025 12:12:46 +0000 (14:12 +0200)] 
Check return status of rec unit test run when using meson

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoExplicitly include file for openssl version number 16227/head
Otto Moerbeek [Thu, 9 Oct 2025 10:23:39 +0000 (12:23 +0200)] 
Explicitly include file for openssl version number

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16225 from miodvallat/a_ldap_oddity
Miod Vallat [Thu, 9 Oct 2025 10:15:33 +0000 (12:15 +0200)] 
Merge pull request #16225 from miodvallat/a_ldap_oddity

auth: logic botch in ldap backend

4 weeks agoMerge pull request #16226 from miodvallat/ldap_punk
Miod Vallat [Thu, 9 Oct 2025 09:49:42 +0000 (11:49 +0200)] 
Merge pull request #16226 from miodvallat/ldap_punk

auth: remove dead ldap code

4 weeks agoFix test-signers: if there's no ref to OpenSSL it fails
Otto Moerbeek [Thu, 9 Oct 2025 08:47:47 +0000 (10:47 +0200)] 
Fix test-signers: if there's no ref to OpenSSL it fails

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16224 from rgacogne/ddist-xsk-typo-doc
Remi Gacogne [Thu, 9 Oct 2025 09:33:43 +0000 (11:33 +0200)] 
Merge pull request #16224 from rgacogne/ddist-xsk-typo-doc

dnsdist: Fix a typo in the XSK documentation

4 weeks agoMerge pull request #15924 from rgacogne/ddist-refactor-server-pools
Remi Gacogne [Thu, 9 Oct 2025 09:22:20 +0000 (11:22 +0200)] 
Merge pull request #15924 from rgacogne/ddist-refactor-server-pools

dnsdist: Refactor server pools and load-balancing policies

4 weeks agoCorrectly handle reconnection in several routines. 16225/head
Miod Vallat [Thu, 9 Oct 2025 08:40:52 +0000 (10:40 +0200)] 
Correctly handle reconnection in several routines.

If the search failed with a LDAPNoConnection exception and reconnection
is successful, we would recurse to reiterate the operation, but then would
proceed with the exist logic operating on uninitialized data.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoRemove long deprecated and/or unused code. 16226/head
Miod Vallat [Thu, 9 Oct 2025 08:55:19 +0000 (10:55 +0200)] 
Remove long deprecated and/or unused code.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agodnsdist: Add actual link to `newServer` in the XSK docs 16224/head
Remi Gacogne [Thu, 9 Oct 2025 08:40:06 +0000 (10:40 +0200)] 
dnsdist: Add actual link to `newServer` in the XSK docs

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoauth/rec: seperate out dnssec constants from DNSSECKeeper by moving them to a DNSSEC...
Otto Moerbeek [Thu, 9 Oct 2025 07:27:51 +0000 (09:27 +0200)] 
auth/rec: seperate out dnssec constants from DNSSECKeeper by moving them to a DNSSEC class

This allows not having ueberbackend.hh in rec, it makes no sense including that file in rec

A bit of churn in rec, but all mechanical

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16223 from miodvallat/doctweaks
Miod Vallat [Thu, 9 Oct 2025 07:52:49 +0000 (09:52 +0200)] 
Merge pull request #16223 from miodvallat/doctweaks

auth: minor doc tweak

4 weeks agoMention that unix socket support for webserver-address requires 5.0. 16223/head
Miod Vallat [Thu, 9 Oct 2025 06:53:16 +0000 (08:53 +0200)] 
Mention that unix socket support for webserver-address requires 5.0.

Fixes: #16222
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMove test-protozero-trace.cc to toplevel and add it in the autotools build where... 16220/head
Otto Moerbeek [Wed, 8 Oct 2025 11:25:56 +0000 (13:25 +0200)] 
Move test-protozero-trace.cc to toplevel and add it in the autotools build where it was missing

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoprotobuf logger: print opentelemetry id's in hex, implement proper arg parser 16219/head
Otto Moerbeek [Wed, 8 Oct 2025 11:16:07 +0000 (13:16 +0200)] 
protobuf logger: print opentelemetry id's in hex, implement proper arg parser

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agodnsdist: Add package urls to our SBOMs 16217/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>
4 weeks agodnsdist: Yet another clang-tidy fix 15924/head
Remi Gacogne [Tue, 7 Oct 2025 11:40:14 +0000 (13:40 +0200)] 
dnsdist: Yet another clang-tidy fix

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Fix a typo in the XSK documentation
Remi Gacogne [Tue, 7 Oct 2025 11:33:53 +0000 (13:33 +0200)] 
dnsdist: Fix a typo in the XSK documentation

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Appease clang-tidy
Remi Gacogne [Tue, 7 Oct 2025 08:46:23 +0000 (10:46 +0200)] 
dnsdist: Appease clang-tidy

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Fix typo
Remi Gacogne [Mon, 6 Oct 2025 15:16:15 +0000 (17:16 +0200)] 
dnsdist: Fix typo

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agospell-check: Remove 'splitsetup'
Remi Gacogne [Mon, 6 Oct 2025 14:53:55 +0000 (16:53 +0200)] 
spell-check: Remove 'splitsetup'

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Add regression tests for Lua pool bindings
Remi Gacogne [Mon, 6 Oct 2025 14:34:03 +0000 (16:34 +0200)] 
dnsdist: Add regression tests for Lua pool bindings

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Remove a very outdated example of how to do split-setup
Remi Gacogne [Mon, 6 Oct 2025 14:17:49 +0000 (16:17 +0200)] 
dnsdist: Remove a very outdated example of how to do split-setup

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Apply suggestions from code review
Remi Gacogne [Mon, 6 Oct 2025 14:11:51 +0000 (16:11 +0200)] 
dnsdist: Apply suggestions from code review

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Document the new behaviour for custom LB policies written in Lua
Remi Gacogne [Mon, 6 Oct 2025 14:06:32 +0000 (16:06 +0200)] 
dnsdist: Document the new behaviour for custom LB policies written in Lua

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Fix CodeQL warnings
Remi Gacogne [Fri, 25 Jul 2025 10:05:12 +0000 (12:05 +0200)] 
dnsdist: Fix CodeQL warnings

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Simplify the least outstanding policy
Remi Gacogne [Tue, 22 Jul 2025 09:19:47 +0000 (11:19 +0200)] 
dnsdist: Simplify the least outstanding policy

The servers can no longer be updated under our feet, so we only need
one pass.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Refactor load-balancing policies
Remi Gacogne [Mon, 21 Jul 2025 15:04:40 +0000 (17:04 +0200)] 
dnsdist: Refactor load-balancing policies

Since we no longer need to increase the reference counter of the
returned backend (the runtime configuration cannot be updated be
updated under our feet anymore), we can return the position of the
selected backend in the initial array instead, significantly
reducing the performance cost of the load-balancing policies.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Only set the DNSQuestion packet cache after a cache miss
Remi Gacogne [Fri, 18 Jul 2025 14:15:53 +0000 (16:15 +0200)] 
dnsdist: Only set the DNSQuestion packet cache after a cache miss

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Server pools are no longer ref counted
Remi Gacogne [Fri, 18 Jul 2025 08:15:36 +0000 (10:15 +0200)] 
dnsdist: Server pools are no longer ref counted

Since the refactoring of the runtime configuration, the content of
a Server Pool is now in effect immutable, we have to create a new
copy and update it, so we no longer have to lock and reference count
Server Pools and their content.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16191 from rgacogne/ddist-test-meson-dist
Remi Gacogne [Mon, 6 Oct 2025 13:59:28 +0000 (15:59 +0200)] 
Merge pull request #16191 from rgacogne/ddist-test-meson-dist

build-and-test-all: Build dnsdist and recursor via a release tarball

4 weeks agogh actions - misc-dailies: fix pip name normalization when validating hashes 16215/head
romeroalx [Mon, 6 Oct 2025 10:50:31 +0000 (12:50 +0200)] 
gh actions - misc-dailies: fix pip name normalization when validating hashes

4 weeks agoFix a secondary domain type check. 16213/head
Miod Vallat [Mon, 6 Oct 2025 09:56:53 +0000 (11:56 +0200)] 
Fix a secondary domain type check.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMerge pull request #16205 from rgacogne/ddist-fix-settag-dynblock-doc
Remi Gacogne [Fri, 3 Oct 2025 10:50:43 +0000 (12:50 +0200)] 
Merge pull request #16205 from rgacogne/ddist-fix-settag-dynblock-doc

dnsdist: The dynamic block tag name is set via `tagName`, not `tagKey`

5 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>
5 weeks agoMerge pull request #15929 from miodvallat/cement
Miod Vallat [Fri, 3 Oct 2025 05:07:35 +0000 (07:07 +0200)] 
Merge pull request #15929 from miodvallat/cement

grow auth source tarballs fatter

5 weeks agotest: Add IPCrypt2 tests 16123/head
Pieter Lexis [Tue, 30 Sep 2025 09:33:24 +0000 (11:33 +0200)] 
test: Add IPCrypt2 tests

5 weeks agoMerge pull request #16204 from omoerbeek/rec-fix-dist
Otto Moerbeek [Thu, 2 Oct 2025 12:19:59 +0000 (14:19 +0200)] 
Merge pull request #16204 from omoerbeek/rec-fix-dist

rec: we need a usable cargo for sdist so do not download (and install) rust but use package

5 weeks agochore: Switch from string to sockaddr for ipcrypt
Pieter Lexis [Mon, 29 Sep 2025 11:06:56 +0000 (13:06 +0200)] 
chore: Switch from string to sockaddr for ipcrypt

5 weeks agofeat(dnsdist): Add IPCrypt2 PFX to tests
Pieter Lexis [Mon, 15 Sep 2025 10:39:09 +0000 (12:39 +0200)] 
feat(dnsdist): Add IPCrypt2 PFX to tests

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
5 weeks agofeat(dnsdist): Add IPCrypt2 PFX mode to RemoteResponseLogAction
Pieter Lexis [Mon, 15 Sep 2025 09:41:55 +0000 (11:41 +0200)] 
feat(dnsdist): Add IPCrypt2 PFX mode to RemoteResponseLogAction

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
5 weeks agofeat(dnsdist): Add IPCrypt2 PFX mode to RemoteLogAction
Pieter Lexis [Mon, 15 Sep 2025 08:58:35 +0000 (10:58 +0200)] 
feat(dnsdist): Add IPCrypt2 PFX mode to RemoteLogAction

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
5 weeks agofeat: import ipcrypt2 library
Pieter Lexis [Thu, 11 Sep 2025 09:17:23 +0000 (11:17 +0200)] 
feat: import ipcrypt2 library

This corresponds to release 1.1.8 in https://github.com/ipcrypt-std/ipcrypt2

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
5 weeks agorec: Fix "Avoid generating doc files in a sdist based build" check in out-of-tree... 16191/head
Remi Gacogne [Thu, 2 Oct 2025 11:25:09 +0000 (13:25 +0200)] 
rec: Fix "Avoid generating doc files in a sdist based build" check in out-of-tree builds

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agobuild-and-test-all: Test rec release tarball via meson instead of autotools
Remi Gacogne [Thu, 2 Oct 2025 09:32:29 +0000 (11:32 +0200)] 
build-and-test-all: Test rec release tarball via meson instead of autotools

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>