]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 months agochore(dnsdist): Improve InternalQueryState field ordering 16182/head
Pieter Lexis [Tue, 14 Oct 2025 12:51:32 +0000 (14:51 +0200)] 
chore(dnsdist): Improve InternalQueryState field ordering

3 months agotests(dnsdist): make clang++ happy with OT tests
Pieter Lexis [Tue, 14 Oct 2025 12:41:15 +0000 (14:41 +0200)] 
tests(dnsdist): make clang++ happy with OT tests

3 months agofeat(dnsdist): Add delay option to RemoteLogResponseAction
Pieter Lexis [Mon, 13 Oct 2025 19:27:38 +0000 (21:27 +0200)] 
feat(dnsdist): Add delay option to RemoteLogResponseAction

3 months agofix(dnsdist): make the rootspan the parent of processResponse
Pieter Lexis [Tue, 14 Oct 2025 11:12:02 +0000 (13:12 +0200)] 
fix(dnsdist): make the rootspan the parent of processResponse

3 months agofeat(dnsdist): Add Query info to the root span
Pieter Lexis [Tue, 14 Oct 2025 11:11:05 +0000 (13:11 +0200)] 
feat(dnsdist): Add Query info to the root span

3 months agofeat(dnsdist): add hostname and version to scopespan
Pieter Lexis [Tue, 14 Oct 2025 11:09:39 +0000 (13:09 +0200)] 
feat(dnsdist): add hostname and version to scopespan

3 months agofeat(dnsdist): Add Span Kind to Spans and add a name to ScopeSpan
Pieter Lexis [Mon, 13 Oct 2025 12:36:36 +0000 (14:36 +0200)] 
feat(dnsdist): Add Span Kind to Spans and add a name to ScopeSpan

3 months agodocs(dnsdist): Add missing OT tracing functions
Pieter Lexis [Wed, 8 Oct 2025 12:42:49 +0000 (14:42 +0200)] 
docs(dnsdist): Add missing OT tracing functions

3 months agofix(dnsdist): Move OT query information into the scope span
Pieter Lexis [Tue, 7 Oct 2025 14:41:31 +0000 (16:41 +0200)] 
fix(dnsdist): Move OT query information into the scope span

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
3 months agofix(dnsdist): fix crash on empty selected backend
Pieter Lexis [Tue, 7 Oct 2025 10:34:06 +0000 (12:34 +0200)] 
fix(dnsdist): fix crash on empty selected backend

3 months agofeat(OT): Remove `random` and `clear` functions for TraceID and SpanID
Pieter Lexis [Tue, 7 Oct 2025 10:14:34 +0000 (12:14 +0200)] 
feat(OT): Remove `random` and `clear` functions for TraceID and SpanID

Their classes now have a `clear` and `makeRandom` function. There are
also static functions to get a random ID.

3 months agotests(dnsdist): Add OpenTelemetry regression tests
Pieter Lexis [Fri, 3 Oct 2025 16:17:10 +0000 (18:17 +0200)] 
tests(dnsdist): Add OpenTelemetry regression tests

3 months agofeat(dnsdist): Add global config option for OpenTelemetry tracing
Pieter Lexis [Fri, 3 Oct 2025 14:51:29 +0000 (16:51 +0200)] 
feat(dnsdist): Add global config option for OpenTelemetry tracing

3 months agofeat(dnsdist): Wrap Spans in the Tracer in LockGuarded
Pieter Lexis [Thu, 2 Oct 2025 15:35:52 +0000 (17:35 +0200)] 
feat(dnsdist): Wrap Spans in the Tracer in LockGuarded

3 months agofeat(dnsdist): add getSpanID to DNSQuestion
Pieter Lexis [Tue, 30 Sep 2025 16:07:14 +0000 (18:07 +0200)] 
feat(dnsdist): add getSpanID to DNSQuestion

3 months agochore: ignore `ext/` files in coverage reports
Pieter Lexis [Tue, 30 Sep 2025 15:55:32 +0000 (17:55 +0200)] 
chore: ignore `ext/` files in coverage reports

3 months agochore: Add some OT related words to the allow list
Pieter Lexis [Tue, 30 Sep 2025 15:53:11 +0000 (17:53 +0200)] 
chore: Add some OT related words to the allow list

3 months agofix(dnsdist): Move Tracer to shared_ptr
Pieter Lexis [Thu, 2 Oct 2025 11:31:32 +0000 (13:31 +0200)] 
fix(dnsdist): Move Tracer to shared_ptr

This makes it impossible to create a Tracer object outside of a
shared_ptr as well. Thanks to Remi for the shared_from_this hint.

3 months agofix: correct name for ProtoZero::Message::setOpenTelemetryTraceID
Pieter Lexis [Mon, 29 Sep 2025 12:21:22 +0000 (14:21 +0200)] 
fix: correct name for ProtoZero::Message::setOpenTelemetryTraceID

3 months agodocs(dnsdist): add OT Tracing info
Pieter Lexis [Thu, 25 Sep 2025 12:58:45 +0000 (14:58 +0200)] 
docs(dnsdist): add OT Tracing info

3 months agotests(dnsdist): add OT Telemetry tests
Pieter Lexis [Thu, 25 Sep 2025 11:33:02 +0000 (13:33 +0200)] 
tests(dnsdist): add OT Telemetry tests

3 months agochore: keep SpanID and TraceID together in the file
Pieter Lexis [Thu, 25 Sep 2025 15:48:14 +0000 (17:48 +0200)] 
chore: keep SpanID and TraceID together in the file

3 months agofeat: implement ostream << operator for TraceID
Pieter Lexis [Thu, 25 Sep 2025 15:46:33 +0000 (17:46 +0200)] 
feat: implement ostream << operator for TraceID

3 months agofeat: implement ostream << operator for SpanID
Pieter Lexis [Thu, 25 Sep 2025 15:41:08 +0000 (17:41 +0200)] 
feat: implement ostream << operator for SpanID

3 months agofeat: implement ostream << operator for AnyValue
Pieter Lexis [Thu, 25 Sep 2025 15:40:16 +0000 (17:40 +0200)] 
feat: implement ostream << operator for AnyValue

3 months agofeat(dnsdist): add Lua method to dq to get TraceID
Pieter Lexis [Thu, 25 Sep 2025 15:39:31 +0000 (17:39 +0200)] 
feat(dnsdist): add Lua method to dq to get TraceID

3 months agofeat(dnsdist): add initial OpenTelemetry Tracing
Pieter Lexis [Thu, 25 Sep 2025 15:38:29 +0000 (17:38 +0200)] 
feat(dnsdist): add initial OpenTelemetry Tracing

3 months agochore(contrib): ignore generated files and documented OT checkouts
Pieter Lexis [Tue, 9 Sep 2025 07:14:22 +0000 (09:14 +0200)] 
chore(contrib): ignore generated files and documented OT checkouts

3 months agofix(dnsdist): improve error when YAML is unsupported
Pieter Lexis [Mon, 8 Sep 2025 09:53:37 +0000 (11:53 +0200)] 
fix(dnsdist): improve error when YAML is unsupported

3 months agoMerge pull request #16039 from rgacogne/ddist-skip-lb-policy-on-cache-hits
Remi Gacogne [Tue, 14 Oct 2025 15:26:56 +0000 (17:26 +0200)] 
Merge pull request #16039 from rgacogne/ddist-skip-lb-policy-on-cache-hits

dnsdist: Speed up cache hits by skipping the LB policy when possible

3 months agodnsdist: Test ECS/Zero Scope pool configuration from YAML 16039/head
Remi Gacogne [Tue, 14 Oct 2025 13:32:26 +0000 (15:32 +0200)] 
dnsdist: Test ECS/Zero Scope pool configuration from YAML

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months 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 months agodnsdist: Document the `enabled` parameter to `ServerPool:setZeroScope()`
Remi Gacogne [Tue, 14 Oct 2025 13:31:48 +0000 (15:31 +0200)] 
dnsdist: Document the `enabled` parameter to `ServerPool:setZeroScope()`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Apply the new ECS/zero-scope YAML configuration to pools
Remi Gacogne [Tue, 14 Oct 2025 13:31:15 +0000 (15:31 +0200)] 
dnsdist: Apply the new ECS/zero-scope YAML configuration to pools

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Also use the correct zero scope logic in the YAML configuration
Remi Gacogne [Tue, 14 Oct 2025 13:30:43 +0000 (15:30 +0200)] 
dnsdist: Also use the correct zero scope logic in the YAML configuration

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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

3 months 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

3 months 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>
3 months 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>
3 months 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

3 months 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>
3 months 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>
3 months 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

3 months 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>
3 months 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

3 months 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

3 months 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>
3 months 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>
3 months 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>
3 months 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

3 months 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

3 months 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

3 months 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"

3 months agodnsdist: Fix formatting, ignore complexity for now
Remi Gacogne [Thu, 9 Oct 2025 15:27:30 +0000 (17:27 +0200)] 
dnsdist: Fix formatting, ignore complexity for now

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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

3 months 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

3 months agodnsdist: Hopefully slightly reduce the complexity of `processQueryAfterRules`
Remi Gacogne [Thu, 9 Oct 2025 13:02:12 +0000 (15:02 +0200)] 
dnsdist: Hopefully slightly reduce the complexity of `processQueryAfterRules`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months 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>
3 months 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>
3 months 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>
3 months agodnsdist: Add regression tests for the pool's zero scope bindings
Remi Gacogne [Tue, 7 Oct 2025 09:26:46 +0000 (11:26 +0200)] 
dnsdist: Add regression tests for the pool's zero scope bindings

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Do not use inverted logic for the pool's zero scope state
Remi Gacogne [Tue, 7 Oct 2025 09:26:02 +0000 (11:26 +0200)] 
dnsdist: Do not use inverted logic for the pool's zero scope state

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Add unit tests for server consistency
Remi Gacogne [Tue, 23 Sep 2025 13:06:58 +0000 (15:06 +0200)] 
dnsdist: Add unit tests for server consistency

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Try to appease clang-tidy
Remi Gacogne [Tue, 26 Aug 2025 15:04:07 +0000 (17:04 +0200)] 
dnsdist: Try to appease clang-tidy

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Fix a caching bug when all servers are down and the query was received over TCP
Remi Gacogne [Tue, 26 Aug 2025 12:42:38 +0000 (14:42 +0200)] 
dnsdist: Fix a caching bug when all servers are down and the query was received over TCP

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Speed up cache hits by skipping the LB policy when possible
Remi Gacogne [Tue, 26 Aug 2025 12:00:26 +0000 (14:00 +0200)] 
dnsdist: Speed up cache hits by skipping the LB policy when possible

We use to execute the load-balancing policy to select a backend before
doing the cache lookup, because in some corner cases the selected
backend might have settings that impact our cache lookup. In practice
most configurations have a consistent set of settings for all servers
in a given pool, so it makes no sense to waste CPU cycles selecting a
backend if we are going to get a hit from the cache.
This PR adds a bit of code to check if a pool is in a consistent state,
and if it is it delays the execution of the load-balancing policy to
after the cache lookup, skipping it entirely for cache hits.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months 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

3 months 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