]>
git.ipfire.org Git - thirdparty/pdns.git/log
Miod Vallat [Wed, 22 Jul 2026 12:30:27 +0000 (14:30 +0200)]
Merge pull request #17749 from miodvallat/vector_like_a_pirate
Prefer std::array to std::vector for const values
Otto Moerbeek [Wed, 22 Jul 2026 10:10:57 +0000 (12:10 +0200)]
Merge pull request #17758 from omoerbeek/rec-prep-
20260722
rec: prep for 2026-07-22 security release
Otto Moerbeek [Tue, 21 Jul 2026 13:40:12 +0000 (15:40 +0200)]
rec: prep for 2026-07-22 security release
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 20 Jul 2026 13:48:01 +0000 (15:48 +0200)]
Merge pull request #17750 from omoerbeek/ddist-fix-compilation
dnsdist: fix compilation on platforms lacking quiche_conn_set_qlog_path()
Miod Vallat [Mon, 20 Jul 2026 13:29:50 +0000 (15:29 +0200)]
constexpr'r'us
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 20 Jul 2026 13:03:13 +0000 (15:03 +0200)]
Use std::array instead of std::vector for const values whenever possible.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 20 Jul 2026 13:00:11 +0000 (15:00 +0200)]
dnsdist: avoid a few compiler warnings about unused args/vars
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 20 Jul 2026 12:59:48 +0000 (14:59 +0200)]
dnsdist: quiche_conn_set_qlog_path() is not available always
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 20 Jul 2026 12:31:09 +0000 (14:31 +0200)]
Merge pull request #17748 from omoerbeek/rec-ghost-refresh
rec: do not attempt to refresh NS records in refresh-almost-expired.
Otto Moerbeek [Mon, 20 Jul 2026 11:27:22 +0000 (13:27 +0200)]
rec: do not attempt to refresh NS records in refresh-almost-expired.
If the auth responds *very* slowly and the records expire in between,
the capping of TTLs is not enforced for lack of data.
This does not happen on regular resolve as then then the child
records are used immediately if not expired and thus valid, or the
records *are* expired, and in that case not used. So this case can
only happen if almost expired records are used to refresh the
authoritative NS records.
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 20 Jul 2026 09:50:30 +0000 (11:50 +0200)]
Merge pull request #17747 from rgacogne/ddist-handle-error-dynamic-rule-suffix-match
dnsdist: Gracefully handle errors in DynBlock's suffix match policy
Otto Moerbeek [Mon, 20 Jul 2026 08:40:17 +0000 (10:40 +0200)]
Merge pull request #17746 from omoerbeek/rec-named-bind-fixes
rec: SO_BINDTODEVICE is not available everywhere
Otto Moerbeek [Mon, 20 Jul 2026 07:46:59 +0000 (09:46 +0200)]
rec: SO_BINDTODEVICE is not available everywhere
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Fri, 17 Jul 2026 07:55:10 +0000 (09:55 +0200)]
Merge pull request #17740 from rgacogne/ddist-yaml-exceptions
dnsdist: Improve exception handling when parsing our YAML configuration
Miod Vallat [Fri, 17 Jul 2026 07:33:30 +0000 (09:33 +0200)]
Merge pull request #17728 from miodvallat/bounce
do not use str{n,}casecmp for DNS names
Miod Vallat [Fri, 17 Jul 2026 06:51:34 +0000 (08:51 +0200)]
Extra const
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Thu, 16 Jul 2026 13:26:54 +0000 (15:26 +0200)]
ruff
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 16 Jul 2026 12:51:55 +0000 (14:51 +0200)]
dnsdist: Add a regression test for PDNSException raised from C++ while parsing a YAML configuration file
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 16 Jul 2026 11:10:00 +0000 (13:10 +0200)]
dnsdist: Gracefully handle errors in DynBlock's suffix match policy
There is no need to stop the whole processing if we choked on one entry,
or even could not properly insert one new rule.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 16 Jul 2026 07:18:14 +0000 (09:18 +0200)]
dnsdist: Fix formatting in the Rust bridge
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 16 Jul 2026 07:13:39 +0000 (09:13 +0200)]
dnsdist: Rebuild the Rust library when the Rust bridge is modified
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 16 Jul 2026 07:13:03 +0000 (09:13 +0200)]
dnsdist: Properly handle PDNSException in our Rust library
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 16 Jul 2026 07:12:34 +0000 (09:12 +0200)]
pdnsexception: Stop importing various namespaces
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Wed, 15 Jul 2026 13:37:23 +0000 (15:37 +0200)]
Merge pull request #17738 from miodvallat/lortnocenoz
auth tests: more scrutinization
Miod Vallat [Wed, 15 Jul 2026 12:50:48 +0000 (14:50 +0200)]
Perform more thorough zone contents checks.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 15 Jul 2026 12:27:25 +0000 (14:27 +0200)]
When there is a single rrset, we can perform an equality check.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Tue, 14 Jul 2026 12:29:22 +0000 (14:29 +0200)]
Merge pull request #17721 from miodvallat/some_enchanted_afternoon
auth: ignore the closing SOA record in IXFR-turned-AXFR
Miod Vallat [Tue, 14 Jul 2026 12:27:57 +0000 (14:27 +0200)]
Merge pull request #17722 from miodvallat/swallow
pdnsutil b2b-migrate: also copy zone options and catalog membership
Pieter Lexis [Tue, 14 Jul 2026 11:27:06 +0000 (13:27 +0200)]
Merge pull request #17729 from pieterlexis/ywh-ixfrdist
fix(ixfrdist): Allow 64K AXFR chunks
Pieter Lexis [Fri, 10 Jul 2026 08:54:31 +0000 (10:54 +0200)]
fix(ixfrdist): Allow 64K AXFR chunks
This was changed in #8051 for performance (compression) reasons. But
this would limit each AXFR chunk to 16K, so *large* TXT records (over
16K) could not be transferred out by ixfrdist.
This commit uses a 64K limit once when a chunk was truncated twice (once
can happen after any number of records, the second time would mean
truncation on a single record, when the second happens, we error).
Discovered by Haruto Kimura (Stella), thanks!
Miod Vallat [Mon, 13 Jul 2026 20:07:38 +0000 (22:07 +0200)]
Merge pull request #17731 from miodvallat/luampire
auth: Lua2 backend: more robust script results parsing
Miod Vallat [Mon, 13 Jul 2026 14:44:15 +0000 (16:44 +0200)]
Pay more attention to boost::variant types.
This allows record contents made of digits only to be correctly handled as
strings.
Fixes: #10657
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 14:27:49 +0000 (16:27 +0200)]
Wrap boost::get checks into exception guards.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 14:15:12 +0000 (16:15 +0200)]
clang-tidize
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 13:56:01 +0000 (15:56 +0200)]
Move Lua2BackendAPIv2 method bodies from .hh to .cc. NFC
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Fri, 29 May 2026 08:00:09 +0000 (10:00 +0200)]
dnsdist: Properly deal with exceptions when registering objects from YAML
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 10:19:22 +0000 (12:19 +0200)]
clang-tidize.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 09:33:28 +0000 (11:33 +0200)]
Look, ma, no more strncasecmp!
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 09:04:49 +0000 (11:04 +0200)]
Replace the use of strncasecmp with pdns_ilexicographical_compare_three_way.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 08:45:06 +0000 (10:45 +0200)]
Replace the use of strncasecmp with pdns_ilexicographical_compare_three_way.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Mon, 13 Jul 2026 08:04:12 +0000 (10:04 +0200)]
Merge pull request #17719 from rgacogne/ddist-fix-drop-response-quic
dnsdist: Fix the dropping of responses for DoQ and DoH3 queries
Miod Vallat [Mon, 13 Jul 2026 07:48:36 +0000 (09:48 +0200)]
Explain why we can't have nice things.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 13 Jul 2026 07:14:22 +0000 (09:14 +0200)]
Replace the use of str{n,}casecmp with pdns_ilexicographical_compare_three_way.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Mon, 13 Jul 2026 07:16:36 +0000 (09:16 +0200)]
Merge pull request #17727 from romeroalx/fix-verify-pkg-137
requirements.txt: update version of pinned packages
Miod Vallat [Mon, 13 Jul 2026 07:03:56 +0000 (09:03 +0200)]
Move pdns_i*() from misc.hh to dnsname.hh. NFCI
This will avoid future chicken-and-egg problems.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
romeroalx [Mon, 13 Jul 2026 06:11:58 +0000 (08:11 +0200)]
requirements.txt: update version of pinned packages
Miod Vallat [Fri, 10 Jul 2026 18:28:25 +0000 (20:28 +0200)]
Merge pull request #17723 from miodvallat/shaolin_satellite
auth: report remote in "unable to get SOA" messages
Miod Vallat [Fri, 10 Jul 2026 14:30:30 +0000 (16:30 +0200)]
Report the remote queried in "Unable to retrieve SOA" messages.
Fixes: #12564
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 10 Jul 2026 14:15:34 +0000 (16:15 +0200)]
Pour some syntactic sugar. NFC
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Fri, 10 Jul 2026 12:30:16 +0000 (14:30 +0200)]
dnsdist: Fix awful typo
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 10 Jul 2026 12:24:36 +0000 (14:24 +0200)]
Merge pull request #17701 from pieterlexis/dnsdist-spoof-ttl
feat(dnsdist): Allow setting TTL in DNSQuestion:spoof
Remi Gacogne [Fri, 10 Jul 2026 12:22:47 +0000 (14:22 +0200)]
dnsdist: Document the return values of some process* functions
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 10 Jul 2026 12:03:07 +0000 (14:03 +0200)]
Merge pull request #17720 from rgacogne/ddist-add-response-consistency-check-quic
dnsdist: Add the same basic response consistency check for DoQ/DoH3-originated queries
Miod Vallat [Fri, 10 Jul 2026 11:11:57 +0000 (13:11 +0200)]
Copy zone options and catalog in pdnsutil b2b-migrate.
Fixes: #12879
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Pieter Lexis [Fri, 10 Jul 2026 11:06:58 +0000 (13:06 +0200)]
Merge pull request #17618 from pieterlexis/dnsdist-otlp-remote-logger
dnsdist: Implement OTLP RemoteLogger
Pieter Lexis [Tue, 7 Jul 2026 13:22:14 +0000 (15:22 +0200)]
feat(dnsdist): Allow setting TTL in DNSQuestion:spoof
Closes: #16470
Pieter Lexis [Fri, 10 Jul 2026 11:03:30 +0000 (13:03 +0200)]
Merge pull request #17700 from pieterlexis/dnsdist-trace-traceid-in-slog
dnsdist: Log TraceID in structured logs (when available)
Miod Vallat [Fri, 10 Jul 2026 10:54:49 +0000 (12:54 +0200)]
Document that pdnsutil zone copy does not copy options and catalog.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 10 Jul 2026 10:22:07 +0000 (12:22 +0200)]
Ignore the closing SOA record in IXFR-turned-AXFR.
Fixes: #12984
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Fri, 10 Jul 2026 10:15:24 +0000 (12:15 +0200)]
dnsdist: Add the same basic response consistency check for DoQ/DoH3 queries
This check is only useful when the response has been received from the backend
over UDP, which is currently not supported for DoQ/DoH3 queries, and only to prevent
collisions as we otherwise do not validate the content of the response before forwarding
it to the client, but AI tools keep reporting this as a critical security issue. In any
case it will make sense to have this check once we support using UDP to the backend
for DoQ/DoH3-originated queries.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 10 Jul 2026 10:01:00 +0000 (12:01 +0200)]
dnsdist: Fix the dropping of responses for DoQ and DoH queries
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Fri, 10 Jul 2026 07:18:25 +0000 (09:18 +0200)]
Merge pull request #17716 from miodvallat/overoptimism
auth: stop being an optimist
Miod Vallat [Fri, 10 Jul 2026 07:17:57 +0000 (09:17 +0200)]
Merge pull request #17711 from miodvallat/vertbaudet
pdnsutil: more checks in set-catalog
Remi Gacogne [Fri, 10 Jul 2026 07:17:45 +0000 (09:17 +0200)]
Merge pull request #17708 from omoerbeek/rec-named-interface
rec: allow explicitly named interface for source address
Miod Vallat [Fri, 10 Jul 2026 07:17:07 +0000 (09:17 +0200)]
Merge pull request #17706 from miodvallat/qtypemismatch
auth: minor zone parsing tweaks
Remi Gacogne [Fri, 10 Jul 2026 07:16:27 +0000 (09:16 +0200)]
Merge pull request #17713 from esensar/feature/qlogdir
dnsdist: add qlogdir support for DoH3 and DOQ
Remi Gacogne [Fri, 10 Jul 2026 07:10:19 +0000 (09:10 +0200)]
Merge pull request #17692 from rgacogne/ddist-always-log-which-configuration-file-was-loaded
dnsdist: Always log which configuration file has been loaded
Miod Vallat [Thu, 9 Jul 2026 14:32:15 +0000 (16:32 +0200)]
Pass the packet length to submitResponse() to avoid recomputing it.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 9 Jul 2026 14:05:26 +0000 (16:05 +0200)]
Only update network statistics if we could actually send the packets.
Fixes: #15101
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Ensar Sarajčić [Thu, 9 Jul 2026 13:54:39 +0000 (15:54 +0200)]
dnsdist: use a helper function for qlog configuration
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Ensar Sarajčić [Thu, 9 Jul 2026 13:21:26 +0000 (15:21 +0200)]
Update pdns/dnsdistdist/dnsdist-settings-definitions.yml
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Otto Moerbeek [Thu, 9 Jul 2026 12:21:17 +0000 (14:21 +0200)]
Add logging
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 9 Jul 2026 12:06:59 +0000 (14:06 +0200)]
Add universal ref ct
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Ensar Sarajčić [Sat, 2 May 2026 13:34:20 +0000 (15:34 +0200)]
dnsdist: add qlogdir support for DoH3 and DOQ
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
Otto Moerbeek [Thu, 9 Jul 2026 11:30:42 +0000 (13:30 +0200)]
Separate out expected.hh
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 9 Jul 2026 11:20:58 +0000 (13:20 +0200)]
Process review comments from @rgacogne
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 9 Jul 2026 06:51:15 +0000 (08:51 +0200)]
Check that the catalog zone actually is a catalog zone in set-catalog.
Fixes: #16772
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Wed, 8 Jul 2026 13:59:04 +0000 (15:59 +0200)]
Merge pull request #17695 from PowerDNS/dependabot/github_actions/astral-sh/ruff-action-4.1.0
build(deps): bump astral-sh/ruff-action from 4.0.0 to 4.1.0
Otto Moerbeek [Wed, 8 Jul 2026 12:04:49 +0000 (14:04 +0200)]
Apply suggestions from code review
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Pieter Lexis [Tue, 7 Jul 2026 12:14:49 +0000 (14:14 +0200)]
feat(dnsdist): Log TraceID in maintenance logs
Pieter Lexis [Tue, 7 Jul 2026 12:06:08 +0000 (14:06 +0200)]
feat(dnsdist): Log TraceID in structured logs
When a traced query generates a log message, log the TraceID as well fo
easier correlation.
Otto Moerbeek [Tue, 7 Jul 2026 09:11:55 +0000 (11:11 +0200)]
Add a poor man's "std:expected" and use it in sendMsgwithOptions
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Pieter Lexis [Wed, 8 Jul 2026 07:55:39 +0000 (09:55 +0200)]
Merge pull request #17697 from pieterlexis/meson-test-timeouts
chore: Increase testrunner timeouts
Miod Vallat [Wed, 8 Jul 2026 07:52:43 +0000 (09:52 +0200)]
Honour upgrade-unknown-types for zone load and zone edit.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 8 Jul 2026 07:52:02 +0000 (09:52 +0200)]
Skip record content checks when provided as TYPE### and raw binary data.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Tue, 7 Jul 2026 20:13:42 +0000 (22:13 +0200)]
Merge pull request #17671 from miodvallat/like,duh
auth, SQL: stricter listSubZones operation
Miod Vallat [Tue, 7 Jul 2026 20:11:29 +0000 (22:11 +0200)]
Merge pull request #17666 from miodvallat/statoholic
Better reporting of filesystem errors
Miod Vallat [Tue, 7 Jul 2026 20:06:36 +0000 (22:06 +0200)]
Merge pull request #17694 from miodvallat/waketr
Allow NAPTR additional processing to be disabled
Otto Moerbeek [Tue, 7 Jul 2026 14:48:10 +0000 (16:48 +0200)]
Merge pull request #17693 from omoerbeek/rec-protobuf-stalled-config
rec: add handling of new protobuf logging parameter: stalledWriteTimeout
Pieter Lexis [Tue, 7 Jul 2026 14:23:37 +0000 (16:23 +0200)]
Merge pull request #17702 from pieterlexis/dnsdist-docs-rm-quote
docs(dnsdist): remove quoted lists
Pieter Lexis [Tue, 7 Jul 2026 13:38:43 +0000 (15:38 +0200)]
docs(dnsdist): remove quoted lists
These lists were accidentally quoted because they had a space prefixed.
This commit also fixes a few other, related rendering issues.
Remi Gacogne [Tue, 7 Jul 2026 12:02:35 +0000 (14:02 +0200)]
Merge pull request #17699 from PowerDNS/chore-add-pf-to-frontpage
Add platform-filter to frontpage
Johan [Tue, 7 Jul 2026 11:22:17 +0000 (13:22 +0200)]
Add platform-filter to frontpage
Pieter Lexis [Fri, 3 Jul 2026 13:09:14 +0000 (15:09 +0200)]
feat(dnsdist): Add OTLP-related unit-tests
Pieter Lexis [Fri, 3 Jul 2026 13:07:52 +0000 (15:07 +0200)]
feat: add `operator==` to all ProtoZero Trace structs
Pieter Lexis [Fri, 3 Jul 2026 13:06:43 +0000 (15:06 +0200)]
feat(dnsdist): Create protozero-otlp.cc
Pieter Lexis [Thu, 25 Jun 2026 14:41:21 +0000 (16:41 +0200)]
feat: Add OTLP logger test
Pieter Lexis [Fri, 12 Jun 2026 14:56:11 +0000 (16:56 +0200)]
feat(dnsdist): More options and config for the OTLP Logger
Pieter Lexis [Fri, 12 Jun 2026 14:01:28 +0000 (16:01 +0200)]
feat(dnsdist): queue OTLP messages in the logger
Otto Moerbeek [Tue, 7 Jul 2026 07:50:51 +0000 (09:50 +0200)]
Use config value if available
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>