]>
git.ipfire.org Git - thirdparty/pdns.git/log
Miod Vallat [Thu, 5 Mar 2026 12:55:25 +0000 (13:55 +0100)]
Grammar.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
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>
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
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>
Pieter Lexis [Thu, 5 Mar 2026 10:39:40 +0000 (11:39 +0100)]
fix(auth): check LUA record weights are > 0
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}`.
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>
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>
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>
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
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>
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
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
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
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>
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.
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>
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>
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>
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>
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
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.??
Miod Vallat [Tue, 24 Feb 2026 15:21:50 +0000 (16:21 +0100)]
Merge pull request #16928 from miodvallat/trim
auth: trim labels faster
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>
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>
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
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.??
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
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>
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>
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>
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
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
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>
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>
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
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
Miod Vallat [Fri, 20 Feb 2026 10:57:42 +0000 (11:57 +0100)]
Merge pull request #16917 from miodvallat/metaheadache
More metaprogramming sugar
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
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
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>
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
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>
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>
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>
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
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>
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
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
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
Pieter Lexis [Thu, 19 Feb 2026 12:18:41 +0000 (13:18 +0100)]
chore(dnsdist): Add tests for addTraceparentEdnsOptionToPacketBuffer
Pieter Lexis [Wed, 18 Feb 2026 10:42:49 +0000 (11:42 +0100)]
chore(dnsdist): use uint16_t for TRACEPARENT option code
Pieter Lexis [Thu, 12 Feb 2026 15:45:26 +0000 (16:45 +0100)]
chore(ci): traceparent is a word
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
Pieter Lexis [Thu, 12 Feb 2026 14:40:43 +0000 (15:40 +0100)]
docs(dnsdist): update OpenTelemetry trace docs
Pieter Lexis [Wed, 11 Feb 2026 17:17:09 +0000 (18:17 +0100)]
tests(dnsdist): add TRACEPARENT to proxy protocol tests
Pieter Lexis [Thu, 12 Feb 2026 14:08:04 +0000 (15:08 +0100)]
feat(dnsdist): centralize the TRACEPARENT packet mangling
Pieter Lexis [Thu, 12 Feb 2026 14:06:58 +0000 (15:06 +0100)]
tests(dnsdist): Send queries for testing downstream TRACEPARENT without said option
Pieter Lexis [Thu, 12 Feb 2026 15:35:42 +0000 (16:35 +0100)]
tests(dnsdist): Test TRACEPARENT with downstream TLS
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
Pieter Lexis [Wed, 11 Feb 2026 18:02:20 +0000 (19:02 +0100)]
feat(dnsdist): Lua SetTraceAction now accepts an option table
Pieter Lexis [Thu, 5 Feb 2026 17:25:43 +0000 (18:25 +0100)]
chore(dnsdist): use makeEDNSTraceParentOption for UDP as well
Pieter Lexis [Thu, 5 Feb 2026 17:13:27 +0000 (18:13 +0100)]
feat(dnsdist): Send correct (last) SpanID to TCP downstreams
Pieter Lexis [Thu, 5 Feb 2026 10:54:23 +0000 (11:54 +0100)]
chore(dnsdist): Use TRACEPARENT nomenclature consistently
Pieter Lexis [Mon, 26 Jan 2026 16:44:11 +0000 (17:44 +0100)]
feat(dnsdist): set correct spanid in downstream TRACEPARENT
Pieter Lexis [Mon, 26 Jan 2026 10:52:37 +0000 (11:52 +0100)]
chore(dnsdist): Pack the TraceConfig struct
romeroalx [Thu, 19 Feb 2026 05:41:15 +0000 (06:41 +0100)]
verify-pinned-python-packages.yml: set a name for service container
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
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>
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
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>
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>
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`
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
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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)
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>
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
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>
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>
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
Francisco Laguna [Tue, 17 Feb 2026 14:11:42 +0000 (15:11 +0100)]
chore(docs site): add single pane of glass
romeroalx [Fri, 6 Feb 2026 07:30:59 +0000 (08:30 +0100)]
build-packages: move uploading and publishing packages to an action
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
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