]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 months agorec: add a regresion test for defpol handling 16946/head
Otto Moerbeek [Thu, 5 Mar 2026 10:31:35 +0000 (11:31 +0100)] 
rec: add a regresion test for defpol handling

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #16936 from omoerbeek/rec-qr0-response
Otto Moerbeek [Mon, 2 Mar 2026 09:52:09 +0000 (10:52 +0100)] 
Merge pull request #16936 from omoerbeek/rec-qr0-response

rec: drop QR=0 responses from auths

3 months agoAdd tests 16936/head
Otto Moerbeek [Thu, 26 Feb 2026 10:43:11 +0000 (11:43 +0100)] 
Add tests

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #16920 from miodvallat/structured_recursion
Miod Vallat [Thu, 26 Feb 2026 14:04:36 +0000 (15:04 +0100)] 
Merge pull request #16920 from miodvallat/structured_recursion

plumbing: pass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet.

3 months agoPass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet. 16920/head
Miod Vallat [Fri, 20 Feb 2026 13:26:24 +0000 (14:26 +0100)] 
Pass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoRemove old backward compability cases for broken servers
Otto Moerbeek [Thu, 26 Feb 2026 10:42:27 +0000 (11:42 +0100)] 
Remove old backward compability cases for broken servers

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agorec: do not treat qr=0 responses lenient
Otto Moerbeek [Thu, 26 Feb 2026 09:06:09 +0000 (10:06 +0100)] 
rec: do not treat qr=0 responses lenient

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #16891 from omoerbeek/rec-aggr-cache-wrap
Otto Moerbeek [Wed, 25 Feb 2026 10:15:50 +0000 (11:15 +0100)] 
Merge pull request #16891 from omoerbeek/rec-aggr-cache-wrap

rec: handle NSEC3 records where hash(owner) > hash(next) in aggressive cache decision

3 months agoMerge pull request #16930 from omoerbeek/rec-tidy-main
Otto Moerbeek [Wed, 25 Feb 2026 09:32:12 +0000 (10:32 +0100)] 
Merge pull request #16930 from omoerbeek/rec-tidy-main

Tidy rec-main.??

3 months agoMerge pull request #16928 from miodvallat/trim
Miod Vallat [Tue, 24 Feb 2026 15:21:50 +0000 (16:21 +0100)] 
Merge pull request #16928 from miodvallat/trim

auth: trim labels faster

3 months agoAdd faster logic for trimToLabels(0) 16928/head
Miod Vallat [Mon, 23 Feb 2026 09:26:32 +0000 (10:26 +0100)] 
Add faster logic for trimToLabels(0)

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoTidy rec-main.?? 16930/head
Otto Moerbeek [Mon, 23 Feb 2026 14:08:42 +0000 (15:08 +0100)] 
Tidy rec-main.??

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #16927 from omoerbeek/rec-tidy-tcp
Otto Moerbeek [Mon, 23 Feb 2026 11:48:33 +0000 (12:48 +0100)] 
Merge pull request #16927 from omoerbeek/rec-tidy-tcp

rec: tidy rec-tcp.cc and fix a type

3 months agoMerge pull request #16926 from omoerbeek/rec-validate-tidy
Otto Moerbeek [Mon, 23 Feb 2026 11:47:44 +0000 (12:47 +0100)] 
Merge pull request #16926 from omoerbeek/rec-validate-tidy

Tidy and format valdidate.?? and validate-recursor.??

3 months agoMerge pull request #16905 from omoerbeek/rec-save-tls-context
Otto Moerbeek [Mon, 23 Feb 2026 11:03:57 +0000 (12:03 +0100)] 
Merge pull request #16905 from omoerbeek/rec-save-tls-context

rec: save outgoing TLSContext for later re-use

3 months agorec: tidy rec-txp.cc and fix a type 16927/head
Otto Moerbeek [Mon, 23 Feb 2026 09:45:26 +0000 (10:45 +0100)] 
rec: tidy rec-txp.cc and fix a type

Including a type fix: a negative return from parseProxyHeader() is
converted to an unsigned type. This is harmless in the sense that
such a return value will produce the wrong error message as the value
will be interpreted as a very big value, no out of bound access
or similar occurs. The type was wrong since this code was introduced in
95f851d662d5a35ff3fb74f427747f42dd857792.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoTidy and format valdidate.?? and validate-recursor.?? 16926/head
Otto Moerbeek [Mon, 23 Feb 2026 09:28:42 +0000 (10:28 +0100)] 
Tidy and format valdidate.?? and validate-recursor.??

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoDon't forget to clear saved TLS contexts on (re)load. 16905/head
Otto Moerbeek [Mon, 23 Feb 2026 09:13:45 +0000 (10:13 +0100)] 
Don't forget to clear saved TLS contexts on (re)load.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #16921 from rgacogne/ddist210-b1
Remi Gacogne [Mon, 23 Feb 2026 08:46:49 +0000 (09:46 +0100)] 
Merge pull request #16921 from rgacogne/ddist210-b1

dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1

3 months agoMerge pull request #16919 from miodvallat/obafgkm
Miod Vallat [Fri, 20 Feb 2026 15:37:11 +0000 (16:37 +0100)] 
Merge pull request #16919 from miodvallat/obafgkm

auth: remove configurable random generator leftovers, take 2

3 months agodnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1 16921/head
Remi Gacogne [Tue, 17 Feb 2026 10:10:35 +0000 (11:10 +0100)] 
dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoPDNS_ENABLE_KISS is no more. 16919/head
Miod Vallat [Fri, 20 Feb 2026 13:57:47 +0000 (14:57 +0100)] 
PDNS_ENABLE_KISS is no more.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoMerge pull request #16896 from romeroalx/move-upload-package-to-action dnsdist-2.1.0-beta1
Alexis Romero [Fri, 20 Feb 2026 12:31:20 +0000 (13:31 +0100)] 
Merge pull request #16896 from romeroalx/move-upload-package-to-action

build-packages.yml: move uploading and publishing packages to an external action

3 months agoMerge pull request #16830 from miodvallat/ragel_de_bois
Miod Vallat [Fri, 20 Feb 2026 10:58:11 +0000 (11:58 +0100)] 
Merge pull request #16830 from miodvallat/ragel_de_bois

auth: one less infinite loop

3 months agoMerge pull request #16917 from miodvallat/metaheadache
Miod Vallat [Fri, 20 Feb 2026 10:57:42 +0000 (11:57 +0100)] 
Merge pull request #16917 from miodvallat/metaheadache

More metaprogramming sugar

3 months agoMerge pull request #16870 from pieterlexis/dnsdist-ot-set-traceparent-on-send
Remi Gacogne [Fri, 20 Feb 2026 09:48:01 +0000 (10:48 +0100)] 
Merge pull request #16870 from pieterlexis/dnsdist-ot-set-traceparent-on-send

dnsdist: Correctly set Span ID to downstreams

3 months agoMerge pull request #16915 from rgacogne/coverity-20260220
Remi Gacogne [Fri, 20 Feb 2026 09:46:15 +0000 (10:46 +0100)] 
Merge pull request #16915 from rgacogne/coverity-20260220

Fix some performance inefficiencies reported by Coverity

3 months agoGive IterLoggable the same type flexibility as Loggable. 16917/head
Miod Vallat [Fri, 20 Feb 2026 09:22:43 +0000 (10:22 +0100)] 
Give IterLoggable the same type flexibility as Loggable.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoMerge pull request #16910 from miodvallat/chrp
Miod Vallat [Fri, 20 Feb 2026 09:03:21 +0000 (10:03 +0100)] 
Merge pull request #16910 from miodvallat/chrp

auth: prepare for 4.9.13 and 5.0.3 releases

3 months agodnsdist: Fix performance ineffiency reported by Coverity as CID 501593 16915/head
Remi Gacogne [Fri, 20 Feb 2026 08:28:45 +0000 (09:28 +0100)] 
dnsdist: Fix performance ineffiency reported by Coverity as CID 501593

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agotcpiohandler: Fix performance inefficiency reported by Coverity
Remi Gacogne [Fri, 20 Feb 2026 08:25:17 +0000 (09:25 +0100)] 
tcpiohandler: Fix performance inefficiency reported by Coverity

CID 501583 and 501584

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoauth: Fix performance inefficiency reported by Coverity (CID 1645140)
Remi Gacogne [Fri, 20 Feb 2026 08:23:59 +0000 (09:23 +0100)] 
auth: Fix performance inefficiency reported by Coverity (CID 1645140)

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #16889 from rgacogne/ddist-add-health-check-validation-callback
Remi Gacogne [Fri, 20 Feb 2026 08:19:39 +0000 (09:19 +0100)] 
Merge pull request #16889 from rgacogne/ddist-add-health-check-validation-callback

dnsdist: Add a Lua callback to validate health-check responses

3 months agoDo not attempt to normalize LUA records. 16830/head
Miod Vallat [Fri, 20 Feb 2026 05:39:39 +0000 (06:39 +0100)] 
Do not attempt to normalize LUA records.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoMerge pull request #16626 from romeroalx/keyroller-remove-pipfile
Pieter Lexis [Thu, 19 Feb 2026 16:32:11 +0000 (17:32 +0100)] 
Merge pull request #16626 from romeroalx/keyroller-remove-pipfile

Keyroller: simplify package dependencies and remove pipfile

3 months agoMerge pull request #16904 from romeroalx/fix-verify-pip-pulls-workflow
Pieter Lexis [Thu, 19 Feb 2026 16:29:26 +0000 (17:29 +0100)] 
Merge pull request #16904 from romeroalx/fix-verify-pip-pulls-workflow

GH actions - verify-pinned-python-packages.yml: set a name for the service container

3 months agoMerge pull request #16899 from rgacogne/ddist-fix-flaky-proxy-protocol-regression...
Remi Gacogne [Thu, 19 Feb 2026 16:21:20 +0000 (17:21 +0100)] 
Merge pull request #16899 from rgacogne/ddist-fix-flaky-proxy-protocol-regression-test

dnsdist: Fix flaky Proxy Protocol regression test

3 months agochore(dnsdist): Add tests for addTraceparentEdnsOptionToPacketBuffer 16870/head
Pieter Lexis [Thu, 19 Feb 2026 12:18:41 +0000 (13:18 +0100)] 
chore(dnsdist): Add tests for addTraceparentEdnsOptionToPacketBuffer

3 months agochore(dnsdist): use uint16_t for TRACEPARENT option code
Pieter Lexis [Wed, 18 Feb 2026 10:42:49 +0000 (11:42 +0100)] 
chore(dnsdist): use uint16_t for TRACEPARENT option code

3 months agochore(ci): traceparent is a word
Pieter Lexis [Thu, 12 Feb 2026 15:45:26 +0000 (16:45 +0100)] 
chore(ci): traceparent is a word

3 months agofeat(dnsdist): Use only one TRACEPARENT option code for in and out
Pieter Lexis [Thu, 12 Feb 2026 15:17:37 +0000 (16:17 +0100)] 
feat(dnsdist): Use only one TRACEPARENT option code for in and out

3 months agodocs(dnsdist): update OpenTelemetry trace docs
Pieter Lexis [Thu, 12 Feb 2026 14:40:43 +0000 (15:40 +0100)] 
docs(dnsdist): update OpenTelemetry trace docs

3 months agotests(dnsdist): add TRACEPARENT to proxy protocol tests
Pieter Lexis [Wed, 11 Feb 2026 17:17:09 +0000 (18:17 +0100)] 
tests(dnsdist): add TRACEPARENT to proxy protocol tests

3 months agofeat(dnsdist): centralize the TRACEPARENT packet mangling
Pieter Lexis [Thu, 12 Feb 2026 14:08:04 +0000 (15:08 +0100)] 
feat(dnsdist): centralize the TRACEPARENT packet mangling

3 months agotests(dnsdist): Send queries for testing downstream TRACEPARENT without said option
Pieter Lexis [Thu, 12 Feb 2026 14:06:58 +0000 (15:06 +0100)] 
tests(dnsdist): Send queries for testing downstream TRACEPARENT without said option

3 months agotests(dnsdist): Test TRACEPARENT with downstream TLS
Pieter Lexis [Thu, 12 Feb 2026 15:35:42 +0000 (16:35 +0100)] 
tests(dnsdist): Test TRACEPARENT with downstream TLS

3 months agofix(dnsdist): correctly add TRACEPARENT to downstreams when PROXY protocol is in use
Pieter Lexis [Wed, 11 Feb 2026 19:14:27 +0000 (20:14 +0100)] 
fix(dnsdist): correctly add TRACEPARENT to downstreams when PROXY protocol is in use

3 months agofeat(dnsdist): Lua SetTraceAction now accepts an option table
Pieter Lexis [Wed, 11 Feb 2026 18:02:20 +0000 (19:02 +0100)] 
feat(dnsdist): Lua SetTraceAction now accepts an option table

3 months agochore(dnsdist): use makeEDNSTraceParentOption for UDP as well
Pieter Lexis [Thu, 5 Feb 2026 17:25:43 +0000 (18:25 +0100)] 
chore(dnsdist): use makeEDNSTraceParentOption for UDP as well

3 months agofeat(dnsdist): Send correct (last) SpanID to TCP downstreams
Pieter Lexis [Thu, 5 Feb 2026 17:13:27 +0000 (18:13 +0100)] 
feat(dnsdist): Send correct (last) SpanID to TCP downstreams

3 months agochore(dnsdist): Use TRACEPARENT nomenclature consistently
Pieter Lexis [Thu, 5 Feb 2026 10:54:23 +0000 (11:54 +0100)] 
chore(dnsdist): Use TRACEPARENT nomenclature consistently

3 months agofeat(dnsdist): set correct spanid in downstream TRACEPARENT
Pieter Lexis [Mon, 26 Jan 2026 16:44:11 +0000 (17:44 +0100)] 
feat(dnsdist): set correct spanid in downstream TRACEPARENT

3 months agochore(dnsdist): Pack the TraceConfig struct
Pieter Lexis [Mon, 26 Jan 2026 10:52:37 +0000 (11:52 +0100)] 
chore(dnsdist): Pack the TraceConfig struct

3 months agoverify-pinned-python-packages.yml: set a name for service container 16904/head
romeroalx [Thu, 19 Feb 2026 05:41:15 +0000 (06:41 +0100)] 
verify-pinned-python-packages.yml: set a name for service container

3 months agoMerge pull request #16909 from rgacogne/ddist-doc-fixes-20260219
Remi Gacogne [Thu, 19 Feb 2026 15:35:29 +0000 (16:35 +0100)] 
Merge pull request #16909 from rgacogne/ddist-doc-fixes-20260219

dnsdist: Fix two documentation nits

3 months agosecpoll and documentation updates for Auth 4.9.13 & 5.0.3 16910/head
Miod Vallat [Thu, 19 Feb 2026 14:39:28 +0000 (15:39 +0100)] 
secpoll and documentation updates for Auth 4.9.13 & 5.0.3

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoMerge pull request #16880 from rgacogne/ddist-dbrg-allowed-rcodes-ratio
Remi Gacogne [Thu, 19 Feb 2026 14:11:42 +0000 (15:11 +0100)] 
Merge pull request #16880 from rgacogne/ddist-dbrg-allowed-rcodes-ratio

dnsdist: Implement "allowed rcodes/total" ratio dynamic rule

3 months agodnsdist: Fix two documentation nits 16909/head
Remi Gacogne [Thu, 19 Feb 2026 14:08:36 +0000 (15:08 +0100)] 
dnsdist: Fix two documentation nits

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Apply suggestions from code review 16889/head
Remi Gacogne [Thu, 19 Feb 2026 14:07:32 +0000 (15:07 +0100)] 
dnsdist: Apply suggestions from code review

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #16907 from rgacogne/meson-missing-crypto-funcs
Remi Gacogne [Thu, 19 Feb 2026 11:07:34 +0000 (12:07 +0100)] 
Merge pull request #16907 from rgacogne/meson-missing-crypto-funcs

meson: Add missing checks for `TLS_client_method`, `gnutls_transport_set_fastopen`

3 months agoMerge pull request #16903 from omoerbeek/rec-test-faster
Otto Moerbeek [Thu, 19 Feb 2026 10:29:40 +0000 (11:29 +0100)] 
Merge pull request #16903 from omoerbeek/rec-test-faster

rec: test faster

3 months agoTypo in comment
Otto Moerbeek [Thu, 19 Feb 2026 10:05:13 +0000 (11:05 +0100)] 
Typo in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #16731 from miodvallat/statbag_of_tricks
Miod Vallat [Thu, 19 Feb 2026 10:01:41 +0000 (11:01 +0100)] 
Merge pull request #16731 from miodvallat/statbag_of_tricks

auth web: stricter control of statistics rings changes

3 months agoMerge pull request #16884 from miodvallat/alias_not_aliases
Miod Vallat [Thu, 19 Feb 2026 10:00:51 +0000 (11:00 +0100)] 
Merge pull request #16884 from miodvallat/alias_not_aliases

auth: fix and document behaviour when multiple ALIAS records in an RRset

3 months agoDrop autouse, it's redundant, zap a few print() calls 16903/head
Otto Moerbeek [Thu, 19 Feb 2026 09:34:40 +0000 (10:34 +0100)] 
Drop autouse, it's redundant, zap a few print() calls

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agotcpiohandler: Some versions of GnuTLS require `gnutls/socket.h` for `gnutls_transport... 16907/head
Remi Gacogne [Thu, 19 Feb 2026 09:33:49 +0000 (10:33 +0100)] 
tcpiohandler: Some versions of GnuTLS require `gnutls/socket.h` for `gnutls_transport_set_fastopen`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agomeson: Add missing checks for `TLS_client_method`, `gnutls_transport_set_fastopen`
Remi Gacogne [Thu, 19 Feb 2026 09:17:22 +0000 (10:17 +0100)] 
meson: Add missing checks for `TLS_client_method`, `gnutls_transport_set_fastopen`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Fix typo in description reported by Mio 16880/head
Remi Gacogne [Fri, 13 Feb 2026 13:21:35 +0000 (14:21 +0100)] 
dnsdist: Fix typo in description reported by Mio

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Fix indentation
Remi Gacogne [Fri, 13 Feb 2026 13:18:45 +0000 (14:18 +0100)] 
dnsdist: Fix indentation

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Implement "allowed rcodes/total" ratio dynamic rule
Remi Gacogne [Fri, 13 Feb 2026 13:12:50 +0000 (14:12 +0100)] 
dnsdist: Implement "allowed rcodes/total" ratio dynamic rule

The existing rcode ratio rules required listing all the response codes
that were not allowed, and to compute the ratio for each rcode.
That's useful, but what we want in most cases is to set a ratio of
"unexpected"/"invalid" response codes over "allowed"/"expected" response
codes.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agorec: save outgoing TLSContext for later re-use
Otto Moerbeek [Tue, 17 Feb 2026 14:08:05 +0000 (15:08 +0100)] 
rec: save outgoing TLSContext for later re-use

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoApply suggestions from code review
Otto Moerbeek [Thu, 19 Feb 2026 07:51:20 +0000 (08:51 +0100)] 
Apply suggestions from code review

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoMerge pull request #16902 from miodvallat/removeelse
Miod Vallat [Thu, 19 Feb 2026 05:48:24 +0000 (06:48 +0100)] 
Merge pull request #16902 from miodvallat/removeelse

auth: loosen check in NotificationQueue::removeIf

3 months agoCommit forgotten file
Otto Moerbeek [Wed, 18 Feb 2026 14:13:05 +0000 (15:13 +0100)] 
Commit forgotten file

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoTests with special auth working now
Otto Moerbeek [Wed, 18 Feb 2026 13:00:48 +0000 (14:00 +0100)] 
Tests with special auth working now

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoFixture to start en stop auths per session is working
Otto Moerbeek [Wed, 18 Feb 2026 11:53:19 +0000 (12:53 +0100)] 
Fixture to start en stop auths per session is working

A few tests that modify auth config are skipped. Next commit should fix that.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoIgnore port numbers in removeIf() if either ComboAddress lacks one. 16902/head
Miod Vallat [Wed, 18 Feb 2026 07:13:22 +0000 (08:13 +0100)] 
Ignore port numbers in removeIf() if either ComboAddress lacks one.

Fixes: #13576
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoMerge pull request #16890 from rgacogne/ddist-fix-latency-again
Remi Gacogne [Wed, 18 Feb 2026 08:45:39 +0000 (09:45 +0100)] 
Merge pull request #16890 from rgacogne/ddist-fix-latency-again

dnsdist: Clean up the type mess around latency metrics (again)

3 months agodnsdist: Fix flaky Proxy Protocol regression test 16899/head
Remi Gacogne [Tue, 17 Feb 2026 15:47:03 +0000 (16:47 +0100)] 
dnsdist: Fix flaky Proxy Protocol regression test

We can only check that we did not open more than one new connection
compared to the connections that existed before, because connections
triggered by a different test can still be around.
This seems to be happening on a regular basis on slow runners with
few CPU cores.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #16898 from rgacogne/ddist-do-no-start-network-listener-in-config...
Remi Gacogne [Tue, 17 Feb 2026 15:45:22 +0000 (16:45 +0100)] 
Merge pull request #16898 from rgacogne/ddist-do-no-start-network-listener-in-config-check

dnsdist: Don't start the NetworkListener thread in config check mode

3 months agoMake status polls faster
Otto Moerbeek [Tue, 17 Feb 2026 15:40:59 +0000 (16:40 +0100)] 
Make status polls faster

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agodnsdist: Don't start the NetworkListener thread in config check mode 16898/head
Remi Gacogne [Tue, 17 Feb 2026 15:04:34 +0000 (16:04 +0100)] 
dnsdist: Don't start the NetworkListener thread in config check mode

Not only is this useless, there is a risk of race if the thread is not
created quickly enough, so when the main thread reaches the end of the
configuration and exits the new thread tries to access an object that
has been freed.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #16897 from milzi234/chore/docs_spog_section
Francisco Laguna [Tue, 17 Feb 2026 14:46:48 +0000 (15:46 +0100)] 
Merge pull request #16897 from milzi234/chore/docs_spog_section

chore(docs site): add single pane of glass

3 months agochore(docs site): add single pane of glass 16897/head
Francisco Laguna [Tue, 17 Feb 2026 14:11:42 +0000 (15:11 +0100)] 
chore(docs site): add single pane of glass

3 months agobuild-packages: move uploading and publishing packages to an action 16896/head
romeroalx [Fri, 6 Feb 2026 07:30:59 +0000 (08:30 +0100)] 
build-packages: move uploading and publishing packages to an action

3 months agoMerge pull request #16879 from rgacogne/ddist-unset-tag
Remi Gacogne [Tue, 17 Feb 2026 13:02:19 +0000 (14:02 +0100)] 
Merge pull request #16879 from rgacogne/ddist-unset-tag

dnsdist: Add actions, methods and FFI functions to unset a tag

3 months agoMerge pull request #16881 from rgacogne/ddist-excluded-entries-should-not-count-towar...
Remi Gacogne [Tue, 17 Feb 2026 13:01:59 +0000 (14:01 +0100)] 
Merge pull request #16881 from rgacogne/ddist-excluded-entries-should-not-count-toward-super-subnet-limit

dnsdist: Subnets excluded from dynamic rules should not count towards thresholds

3 months agoMerge pull request #16893 from omoerbeek/rec-prep-5.4.0-rc1
Otto Moerbeek [Tue, 17 Feb 2026 12:43:20 +0000 (13:43 +0100)] 
Merge pull request #16893 from omoerbeek/rec-prep-5.4.0-rc1

rec: Prep for rec-5.4.0-rc1 release

3 months agoMerge pull request #16887 from rgacogne/ddist-fix-invalid-substr-use-dnsparser
Remi Gacogne [Tue, 17 Feb 2026 11:42:33 +0000 (12:42 +0100)] 
Merge pull request #16887 from rgacogne/ddist-fix-invalid-substr-use-dnsparser

dnsdist: Fix invalid `substr()` use in the DNS overlay parser

3 months agoPrep for rec-5.4.0-rc1 release 16893/head
Otto Moerbeek [Tue, 17 Feb 2026 10:43:08 +0000 (11:43 +0100)] 
Prep for rec-5.4.0-rc1 release

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agoIf a single NSEC3 recordset should be cached, cache all of them 16891/head
Otto Moerbeek [Mon, 16 Feb 2026 13:14:35 +0000 (14:14 +0100)] 
If a single NSEC3 recordset should be cached, cache all of them

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agodnsdist: Fix a typo in the documentation
Remi Gacogne [Mon, 16 Feb 2026 15:16:46 +0000 (16:16 +0100)] 
dnsdist: Fix a typo in the documentation

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agodnsdist: Add a Lua callback to validate health-check responses
Remi Gacogne [Mon, 16 Feb 2026 15:10:11 +0000 (16:10 +0100)] 
dnsdist: Add a Lua callback to validate health-check responses

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoIgnore extra ALIAS records and warn about them. 16884/head
Miod Vallat [Mon, 16 Feb 2026 10:03:19 +0000 (11:03 +0100)] 
Ignore extra ALIAS records and warn about them.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agoTest ANY requests on ALIAS records.
Miod Vallat [Fri, 13 Feb 2026 13:34:09 +0000 (14:34 +0100)] 
Test ANY requests on ALIAS records.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 months agodnsdist: Clean up the type mess around latency metrics (again) 16890/head
Remi Gacogne [Mon, 16 Feb 2026 13:26:19 +0000 (14:26 +0100)] 
dnsdist: Clean up the type mess around latency metrics (again)

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agorec: take into account that NSEC3 can be reversed
Otto Moerbeek [Wed, 1 Oct 2025 09:55:40 +0000 (11:55 +0200)] 
rec: take into account that NSEC3 can be reversed

In that case a short common prefix signifies a large range

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 months agodnsdist: Fix invalid `substr()` use in the DNS overlay parser 16887/head
Remi Gacogne [Mon, 16 Feb 2026 11:32:43 +0000 (12:32 +0100)] 
dnsdist: Fix invalid `substr()` use in the DNS overlay parser

`std::basic_string_view<CharT,Traits>::substr`'s second parameter is a length,
not an iterator or a position, so the existing code was misusing it and
creating a view that potentially expanded outside of the packet.
However currently the view is never used to read more than
`record.d_contentOffset` (we are passing it immediately to `makeComboAddressFromRaw`
with `record.d_contentLength` as the length) and `record.d_contentOffset`
has been validated right before to be either `4` or `16`, so
there is no out-of-bounds read.
This issue has been introduced in b6f9a21db93ee25ec665dc5f65e87eb7adebd102 and
is not included in any stable release, so no need to backport
the fix.

Reported by Nyaz360 in YWH-PGM6095-85, thanks a lot!

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 months agoMerge pull request #16858 from omoerbeek/rec-dot-client-cert rec-5.5.0-alpha0
Otto Moerbeek [Mon, 16 Feb 2026 10:36:53 +0000 (11:36 +0100)] 
Merge pull request #16858 from omoerbeek/rec-dot-client-cert

re: add feature to optionally use a client certificate for outgoing DoT

3 months agoBetter python formatting from @rgacogne 16858/head
Otto Moerbeek [Mon, 16 Feb 2026 07:50:31 +0000 (08:50 +0100)] 
Better python formatting from @rgacogne

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>