]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 weeks agoGrammar. 16950/head
Miod Vallat [Thu, 5 Mar 2026 12:55:25 +0000 (13:55 +0100)] 
Grammar.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoTake suggestion from Miod 16949/head
Otto Moerbeek [Thu, 5 Mar 2026 12:54:20 +0000 (13:54 +0100)] 
Take suggestion from Miod

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoMerge pull request #16831 from miodvallat/dnsnotupdate
Miod Vallat [Thu, 5 Mar 2026 12:50:41 +0000 (13:50 +0100)] 
Merge pull request #16831 from miodvallat/dnsnotupdate

auth: stricter handing of the Lua DNS update policy

5 weeks agorec: Add axample for rzpPrimary with defpol=Policy.Custom
Otto Moerbeek [Thu, 5 Mar 2026 12:26:42 +0000 (13:26 +0100)] 
rec: Add axample for rzpPrimary with defpol=Policy.Custom

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agofix(auth): check LUA record weights are > 0 16948/head
Pieter Lexis [Thu, 5 Mar 2026 10:39:40 +0000 (11:39 +0100)] 
fix(auth): check LUA record weights are > 0

5 weeks agofeat: add `pdns::checked_conv_nonzero`
Pieter Lexis [Thu, 5 Mar 2026 10:38:21 +0000 (11:38 +0100)] 
feat: add `pdns::checked_conv_nonzero`

This function just calls `pdns::checked_conv` and verifies the result is
not `0`.

This commit also adds some basic tests for
`pdns::checked_conv{,nonzero}`.

5 weeks 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>
5 weeks agoUpdate pgsql set-tsig-key query to handle conflicts.
Miod Vallat [Thu, 5 Mar 2026 10:28:00 +0000 (11:28 +0100)] 
Update pgsql set-tsig-key query to handle conflicts.

This relies upon a feature introduced in PostgreSQL 9.5, 10 years ago.
We can reasonably assume that distributions people use to run
PowerDNS on those days carry at least that version (which is EOL since
five years now).

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoClarify comment documenting set-tsig-key limitations.
Miod Vallat [Thu, 5 Mar 2026 10:27:30 +0000 (11:27 +0100)] 
Clarify comment documenting set-tsig-key limitations.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMerge pull request #16942 from omoerbeek/rec-pc-ttl-docs
Otto Moerbeek [Wed, 4 Mar 2026 15:30:34 +0000 (16:30 +0100)] 
Merge pull request #16942 from omoerbeek/rec-pc-ttl-docs

rec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl

5 weeks agorec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl 16942/head
Otto Moerbeek [Wed, 4 Mar 2026 09:54:19 +0000 (10:54 +0100)] 
rec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl

Currently there is a quoting issue in packetcache.servfail_ttl, making it render badly.
Also remove the ref to 4.0.0, it's *way* too old.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMerge pull request #16939 from pieterlexis/dnsdist-rcoderatio-16934
Pieter Lexis [Tue, 3 Mar 2026 10:29:08 +0000 (11:29 +0100)] 
Merge pull request #16939 from pieterlexis/dnsdist-rcoderatio-16934

dnsdist: fix AllowedRCodeRatio with Lua config

6 weeks agofix(dnsdist): Lua config DBR w/ AllowedRCodeRatio 16939/head
Pieter Lexis [Mon, 2 Mar 2026 18:18:25 +0000 (19:18 +0100)] 
fix(dnsdist): Lua config DBR w/ AllowedRCodeRatio

@omoerbeek wrote the fix, I added a test.

Closes: #16934
6 weeks 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

6 weeks 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>
6 weeks 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.

6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks agorec: continue processing response Policies if a discared policy is hit 17005/head
Otto Moerbeek [Wed, 25 Feb 2026 12:12:07 +0000 (13:12 +0100)] 
rec: continue processing response Policies if a discared policy is hit

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks 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

6 weeks 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.??

7 weeks 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

7 weeks 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>
7 weeks 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>
7 weeks 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

7 weeks 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.??

7 weeks 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

7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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

7 weeks 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

7 weeks 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>
7 weeks 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>
7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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>
7 weeks 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

7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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

7 weeks 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>
7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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>
7 weeks 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

7 weeks 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>
7 weeks 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>
7 weeks 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`

7 weeks 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

7 weeks 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>
7 weeks 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

7 weeks 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

7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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

7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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)

8 weeks 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>
8 weeks 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

8 weeks 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>
8 weeks 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>
8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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