]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 days agofeat(dnsdist): Allow tracing code in custom Lua threads
Pieter Lexis [Thu, 2 Apr 2026 11:25:52 +0000 (13:25 +0200)] 
feat(dnsdist): Allow tracing code in custom Lua threads

5 days agofeat(dnsdist): centralize sending OT PB messages
Pieter Lexis [Thu, 2 Apr 2026 08:24:42 +0000 (10:24 +0200)] 
feat(dnsdist): centralize sending OT PB messages

5 days agofix(dnsdist): squelch unused varible warnings in minimal builds
Pieter Lexis [Wed, 1 Apr 2026 13:58:15 +0000 (15:58 +0200)] 
fix(dnsdist): squelch unused varible warnings in minimal builds

5 days agofeat(dnsdist): add named maintenance callbacks
Pieter Lexis [Wed, 1 Apr 2026 13:35:22 +0000 (15:35 +0200)] 
feat(dnsdist): add named maintenance callbacks

5 days agofeat(dnsdist): create pdns::trace::dnsdist::getCloserForInternalSpan function
Pieter Lexis [Wed, 1 Apr 2026 13:31:06 +0000 (15:31 +0200)] 
feat(dnsdist): create pdns::trace::dnsdist::getCloserForInternalSpan function

5 days agochore(dnsdist): Add Lua OT function registration benchmark
Pieter Lexis [Mon, 30 Mar 2026 10:07:04 +0000 (12:07 +0200)] 
chore(dnsdist): Add Lua OT function registration benchmark

5 days agofeat(dnsdist): register Lua OT functions on startup
Pieter Lexis [Mon, 30 Mar 2026 10:06:33 +0000 (12:06 +0200)] 
feat(dnsdist): register Lua OT functions on startup

5 days agofix(dnsdist): don't do work without a tracer
Pieter Lexis [Mon, 30 Mar 2026 10:04:34 +0000 (12:04 +0200)] 
fix(dnsdist): don't do work without a tracer

5 days agofeat(dnsdist): Add `withTraceSpan` to LuaFFI{,Response}Action
Pieter Lexis [Thu, 26 Mar 2026 16:17:36 +0000 (17:17 +0100)] 
feat(dnsdist): Add `withTraceSpan` to LuaFFI{,Response}Action

5 days agofeat(dnsdist): Add Lua Tracing to LuaResponseAction
Pieter Lexis [Thu, 26 Mar 2026 11:47:18 +0000 (12:47 +0100)] 
feat(dnsdist): Add Lua Tracing to LuaResponseAction

5 days agodocs(dnsdist): add Lua config for OT Trace
Pieter Lexis [Tue, 24 Mar 2026 11:39:07 +0000 (12:39 +0100)] 
docs(dnsdist): add Lua config for OT Trace

5 days agodocs(dnsdist): Add maintenance OT Lua docs
Pieter Lexis [Fri, 13 Mar 2026 11:18:30 +0000 (12:18 +0100)] 
docs(dnsdist): Add maintenance OT Lua docs

5 days agofeat(dnsdist): Add Lua Span function for maintenance
Pieter Lexis [Mon, 23 Mar 2026 16:03:53 +0000 (17:03 +0100)] 
feat(dnsdist): Add Lua Span function for maintenance

5 days agofeat(dnsdist): Add internal OT traces test
Pieter Lexis [Fri, 13 Mar 2026 08:39:33 +0000 (09:39 +0100)] 
feat(dnsdist): Add internal OT traces test

5 days agofeat(dnsdist): Add Lua config for internal traces
Pieter Lexis [Thu, 12 Mar 2026 19:31:28 +0000 (20:31 +0100)] 
feat(dnsdist): Add Lua config for internal traces

5 days agofeat(dnsdist): Trace the maintenance function
Pieter Lexis [Thu, 12 Mar 2026 18:55:33 +0000 (19:55 +0100)] 
feat(dnsdist): Trace the maintenance function

5 days agofeat(dnsdist): Allow setting the OT Trace Span Kind
Pieter Lexis [Thu, 12 Mar 2026 17:17:30 +0000 (18:17 +0100)] 
feat(dnsdist): Allow setting the OT Trace Span Kind

5 days agofeat(dnsdist): Allow setting the OT Trace scope name
Pieter Lexis [Thu, 12 Mar 2026 17:15:34 +0000 (18:15 +0100)] 
feat(dnsdist): Allow setting the OT Trace scope name

5 days agofeat(pb): Add an "Internal" message type
Pieter Lexis [Thu, 12 Mar 2026 17:13:26 +0000 (18:13 +0100)] 
feat(pb): Add an "Internal" message type

5 days agodocs(dnsdist): Update docs with the new Trace infra
Pieter Lexis [Wed, 18 Mar 2026 16:02:16 +0000 (17:02 +0100)] 
docs(dnsdist): Update docs with the new Trace infra

5 days agofeat(dnsdist): make withTraceSpan available globally
Pieter Lexis [Wed, 18 Mar 2026 16:01:05 +0000 (17:01 +0100)] 
feat(dnsdist): make withTraceSpan available globally

5 days agofeat: add `defer` and `deferFunc`
Pieter Lexis [Thu, 19 Mar 2026 10:24:36 +0000 (11:24 +0100)] 
feat: add `defer` and `deferFunc`

5 days agodocs(dnsdist): Update docs for OT Tracing from Lua
Pieter Lexis [Tue, 10 Mar 2026 16:44:29 +0000 (17:44 +0100)] 
docs(dnsdist): Update docs for OT Tracing from Lua

5 days agofeat(dnsdist): simplify DNSQuestion:withTraceSpan
Pieter Lexis [Tue, 10 Mar 2026 16:44:07 +0000 (17:44 +0100)] 
feat(dnsdist): simplify DNSQuestion:withTraceSpan

5 days agodocs(dnsdist): Add docs on Trace Spans from Lua
Pieter Lexis [Sat, 7 Mar 2026 17:49:03 +0000 (18:49 +0100)] 
docs(dnsdist): Add docs on Trace Spans from Lua

5 days agofeat(dnsdist): Add Trace spans from Lua
Pieter Lexis [Thu, 26 Feb 2026 18:58:58 +0000 (19:58 +0100)] 
feat(dnsdist): Add Trace spans from Lua

5 days agofix(dnsdist): Add TraceID to minimal PDNS Protobuf
Pieter Lexis [Mon, 9 Mar 2026 12:31:50 +0000 (13:31 +0100)] 
fix(dnsdist): Add TraceID to minimal PDNS Protobuf

5 days agoMerge pull request #17491 from miodvallat/summer_is_coming
Miod Vallat [Mon, 1 Jun 2026 10:30:11 +0000 (12:30 +0200)] 
Merge pull request #17491 from miodvallat/summer_is_coming

auth: hide serial numbers in test oracles

5 days agoMerge pull request #17490 from rgacogne/update-remotebackend-python-requirements
Remi Gacogne [Mon, 1 Jun 2026 10:06:20 +0000 (12:06 +0200)] 
Merge pull request #17490 from rgacogne/update-remotebackend-python-requirements

Update Python requirements in modules/remotebackend

5 days agoMerge pull request #17483 from Habbie/resolute-builds
Remi Gacogne [Mon, 1 Jun 2026 09:57:42 +0000 (11:57 +0200)] 
Merge pull request #17483 from Habbie/resolute-builds

github package building workflows: add ubuntu-resolute

5 days agoHide serial numbers in test oracles. 17491/head
Miod Vallat [Mon, 1 Jun 2026 09:55:14 +0000 (11:55 +0200)] 
Hide serial numbers in test oracles.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 days agoUpdate Python requirements in modules/remotebackend 17490/head
Remi Gacogne [Mon, 1 Jun 2026 09:16:42 +0000 (11:16 +0200)] 
Update Python requirements in modules/remotebackend

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 days agodnsdist: Remove autotool remants from Docker image build 17485/head
Pieter Lexis [Mon, 1 Jun 2026 08:56:59 +0000 (10:56 +0200)] 
dnsdist: Remove autotool remants from Docker image build

5 days agoMerge pull request #17099 from Annih/issue17036_dnsdist_optin_fatal_bind_failures
Remi Gacogne [Mon, 1 Jun 2026 08:42:48 +0000 (10:42 +0200)] 
Merge pull request #17099 from Annih/issue17036_dnsdist_optin_fatal_bind_failures

dnsdist: add opt-in fatal bind failures for console and webserver

5 days agoMerge pull request #17479 from rgacogne/ddist-update-quiche-0.29.1
Remi Gacogne [Mon, 1 Jun 2026 07:46:57 +0000 (09:46 +0200)] 
Merge pull request #17479 from rgacogne/ddist-update-quiche-0.29.1

dnsdist: Update Quiche to 0.29.1 in our packages

7 days agoMerge pull request #17355 from miodvallat/porcupine_tree
Miod Vallat [Sat, 30 May 2026 20:57:49 +0000 (22:57 +0200)] 
Merge pull request #17355 from miodvallat/porcupine_tree

auth: skip zone cache refresh logic if disabled

7 days agoMerge pull request #16389 from miodvallat/vigil
Peter van Dijk [Sat, 30 May 2026 19:41:30 +0000 (21:41 +0200)] 
Merge pull request #16389 from miodvallat/vigil

auth Lua health checks: more responsiveness

7 days agoMerge pull request #17304 from miodvallat/ersandman
Peter van Dijk [Sat, 30 May 2026 19:32:52 +0000 (21:32 +0200)] 
Merge pull request #17304 from miodvallat/ersandman

auth lmdb: yet another NSEC bug

8 days agogithub package building workflows: add ubuntu-resolute 17483/head
Peter van Dijk [Fri, 29 May 2026 12:23:51 +0000 (14:23 +0200)] 
github package building workflows: add ubuntu-resolute

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
8 days agoMerge pull request #16986 from Habbie/ubuntu-resolute
Peter van Dijk [Fri, 29 May 2026 12:20:58 +0000 (14:20 +0200)] 
Merge pull request #16986 from Habbie/ubuntu-resolute

add ubuntu-resolute build target

8 days agoMerge pull request #17482 from Habbie/alpine-3.23
Peter van Dijk [Fri, 29 May 2026 12:07:15 +0000 (14:07 +0200)] 
Merge pull request #17482 from Habbie/alpine-3.23

bump alpine version for sdist stage to 3.23

8 days agoMerge pull request #17481 from Habbie/meson-1.11.1
Peter van Dijk [Fri, 29 May 2026 12:06:55 +0000 (14:06 +0200)] 
Merge pull request #17481 from Habbie/meson-1.11.1

bump meson to 1.11.1

8 days agobump alpine version for sdist stage to 3.23 17482/head
Peter van Dijk [Fri, 29 May 2026 10:52:28 +0000 (12:52 +0200)] 
bump alpine version for sdist stage to 3.23

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
8 days agobump meson to 1.11.1 17481/head
Peter van Dijk [Fri, 29 May 2026 10:50:31 +0000 (12:50 +0200)] 
bump meson to 1.11.1

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
8 days agoadd ubuntu-resolute build target 16986/head
Peter van Dijk [Mon, 16 Mar 2026 13:08:30 +0000 (14:08 +0100)] 
add ubuntu-resolute build target

drop usrmerge

8 days agodnsdist debian deps: replace boost-all with more specific list
Peter van Dijk [Mon, 16 Mar 2026 14:34:02 +0000 (15:34 +0100)] 
dnsdist debian deps: replace boost-all with more specific list

* on ubuntu 26.04 and (currently) debian sid, pulling libboost-all-dev
  pulls in, a few dependencies deeper, via mpi and fortran, gcc-16,
  but not libstdc++-16-dev
* clang then no longer can find libstdc++

fix: stop using boost-all-dev

* for meson to detect the boost dynamic libraries correctly, a boost
  dynamic library with a name that sorts before 'exception' needs to
  be present on the system.

hack: add libboost-container-dev (could also have picked chrono)

Discussion in https://github.com/mesonbuild/meson/issues/15858

8 days agodnsdist: Update Quiche to 0.29.1 in our packages 17479/head
Remi Gacogne [Fri, 29 May 2026 09:11:31 +0000 (11:11 +0200)] 
dnsdist: Update Quiche to 0.29.1 in our packages

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 days agoMerge pull request #17010 from pieterlexis/dnsdist-rm-autotool
Remi Gacogne [Fri, 29 May 2026 07:00:52 +0000 (09:00 +0200)] 
Merge pull request #17010 from pieterlexis/dnsdist-rm-autotool

dnsdist: Remove autotools

9 days agodnsdist: add opt-in fatal bind failures for console and webserver 17099/head
b.courtois [Tue, 31 Mar 2026 20:06:01 +0000 (22:06 +0200)] 
dnsdist: add opt-in fatal bind failures for console and webserver

Introduce opt-in fatal behavior when binding the webserver socket or
the control socket fails, to make startup failures visible to service
managers like systemd.
Expose the feature in both configuration styles:
- Lua: setConsoleBindFatal(bool), setWebserverBindFatal(bool)
- YAML: console.bind_fatal, webserver.bind_fatal

When enabled, dnsdist now exits with failure on bind exceptions for:
- control socket listeners
- webserver listeners

Wire the new settings through runtime configuration loading, Lua
configuration items, and YAML parsing, and add console completion
entries for both setters.
Update documentation with new config functions and behavior notes.

Add regression tests in test_BindFatal.py for Lua and YAML, validating:
- default/not set: bind failures are non-fatal
- explicit false: bind failures are non-fatal
- explicit true: bind failures are fatal at startup

Signed-off-by: b.courtois <b.courtois@criteo.com>
9 days agodocs(dnsdist): update autotools/make info 17010/head
Pieter Lexis [Thu, 28 May 2026 11:40:40 +0000 (13:40 +0200)] 
docs(dnsdist): update autotools/make info

9 days agoci: don't build benchmarks in CI
Pieter Lexis [Wed, 27 May 2026 13:12:07 +0000 (15:12 +0200)] 
ci: don't build benchmarks in CI

Catch2 >= 3 is not available in 22.04.

9 days agodnsdist: Simplify handling of fuzzing targets
Remi Gacogne [Tue, 26 May 2026 11:52:09 +0000 (13:52 +0200)] 
dnsdist: Simplify handling of fuzzing targets

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 days agoci: Set BUILDER_VERSION during codeql
Pieter Lexis [Mon, 23 Mar 2026 08:59:58 +0000 (09:59 +0100)] 
ci: Set BUILDER_VERSION during codeql

9 days agochore(dnsdist): Add custom target for fuzz-targets
Pieter Lexis [Thu, 19 Mar 2026 13:48:32 +0000 (14:48 +0100)] 
chore(dnsdist): Add custom target for fuzz-targets

9 days agochore(dnsdist): run coverity with meson
Pieter Lexis [Thu, 19 Mar 2026 11:52:08 +0000 (12:52 +0100)] 
chore(dnsdist): run coverity with meson

9 days agochore(dnsdist): remove autotools things from tasks.py
Pieter Lexis [Thu, 19 Mar 2026 11:27:43 +0000 (12:27 +0100)] 
chore(dnsdist): remove autotools things from tasks.py

9 days agochore(dnsdist): no autoreconf during meson dist
Pieter Lexis [Thu, 19 Mar 2026 11:20:23 +0000 (12:20 +0100)] 
chore(dnsdist): no autoreconf during meson dist

9 days agochore(dnsdist): rename dnsdist.service.meson.in to dnsdist.service.in
Pieter Lexis [Thu, 19 Mar 2026 11:18:27 +0000 (12:18 +0100)] 
chore(dnsdist): rename dnsdist.service.meson.in to dnsdist.service.in

9 days agochore(dnsdist): Remove autotools-related files
Pieter Lexis [Thu, 19 Mar 2026 11:17:20 +0000 (12:17 +0100)] 
chore(dnsdist): Remove autotools-related files

9 days agoMerge pull request #16165 from rgacogne/ci-test-release-tarballs-with-meson
Pieter Lexis [Thu, 28 May 2026 12:00:17 +0000 (14:00 +0200)] 
Merge pull request #16165 from rgacogne/ci-test-release-tarballs-with-meson

dnsdist and rec: Prevent generating release tarballs via autotools

9 days agoMerge pull request #17464 from ralight/link-multiple-instances
Pieter Lexis [Thu, 28 May 2026 11:43:02 +0000 (13:43 +0200)] 
Merge pull request #17464 from ralight/link-multiple-instances

Docs: Link backend docs to launch setting

9 days agoMerge pull request #17469 from rgacogne/ddist-pb-tests-timeout
Remi Gacogne [Thu, 28 May 2026 09:56:25 +0000 (11:56 +0200)] 
Merge pull request #17469 from rgacogne/ddist-pb-tests-timeout

dnsdist: Consistently handle slow protobuf messages in our tests

9 days agoMerge pull request #17462 from rgacogne/ddist-make-ot-cheaper
Remi Gacogne [Thu, 28 May 2026 08:55:58 +0000 (10:55 +0200)] 
Merge pull request #17462 from rgacogne/ddist-make-ot-cheaper

dnsdist: Reduce the cost of disabled OpenTelemetry tracing

9 days agodnsdist: Use different ports for custom OT responders 17469/head
Remi Gacogne [Thu, 28 May 2026 08:31:54 +0000 (10:31 +0200)] 
dnsdist: Use different ports for custom OT responders

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
10 days agoMerge pull request #17358 from miodvallat/verboseview
Peter van Dijk [Wed, 27 May 2026 12:04:17 +0000 (14:04 +0200)] 
Merge pull request #17358 from miodvallat/verboseview

auth: some views traces

11 days agosigh-tidy 17358/head
Miod Vallat [Fri, 15 May 2026 06:04:35 +0000 (08:04 +0200)] 
sigh-tidy

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
11 days agoTweak non-structured logs a bit.
Miod Vallat [Wed, 13 May 2026 12:16:13 +0000 (14:16 +0200)] 
Tweak non-structured logs a bit.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
11 days agoTrace view selection if log-dns-queries.
Miod Vallat [Wed, 13 May 2026 08:06:26 +0000 (10:06 +0200)] 
Trace view selection if log-dns-queries.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
11 days agoauth: allow the zone cache to get a structured logger
Miod Vallat [Wed, 13 May 2026 07:56:55 +0000 (09:56 +0200)] 
auth: allow the zone cache to get a structured logger

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
11 days agodnsdist: Consistently handle slow protobuf messages in our tests
Remi Gacogne [Tue, 26 May 2026 14:19:57 +0000 (16:19 +0200)] 
dnsdist: Consistently handle slow protobuf messages in our tests

It was not an issue before, but GH actions runners are so bad these
days that we are now encountering these errors quite often.
In any case we should have been more consistent to begin with.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
11 days agoMerge pull request #17460 from rgacogne/nmt-empty
Remi Gacogne [Tue, 26 May 2026 19:11:18 +0000 (21:11 +0200)] 
Merge pull request #17460 from rgacogne/nmt-empty

iputils: Return early when the tree is empty

11 days agoMerge pull request #17468 from rgacogne/ddist-fix-cache-bench
Remi Gacogne [Tue, 26 May 2026 14:56:44 +0000 (16:56 +0200)] 
Merge pull request #17468 from rgacogne/ddist-fix-cache-bench

dnsdist: Fix the packet cache micro-benchmarks

11 days agoMerge pull request #17461 from rgacogne/ddist-fix-muted-frontend
Remi Gacogne [Tue, 26 May 2026 14:07:10 +0000 (16:07 +0200)] 
Merge pull request #17461 from rgacogne/ddist-fix-muted-frontend

dnsdist: Do not send UDP responses when the frontend is muted

11 days agodnsdist: Add a micro-benchmark for the empty NetmaskTree case 17460/head
Remi Gacogne [Tue, 26 May 2026 14:03:05 +0000 (16:03 +0200)] 
dnsdist: Add a micro-benchmark for the empty NetmaskTree case

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
11 days agodnsdist: Fix the packet cache micro-benchmarks 17468/head
Remi Gacogne [Tue, 26 May 2026 13:58:49 +0000 (15:58 +0200)] 
dnsdist: Fix the packet cache micro-benchmarks

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
11 days agoauth: keep the state of log-dns-queries in a global.
Miod Vallat [Wed, 13 May 2026 07:49:26 +0000 (09:49 +0200)] 
auth: keep the state of log-dns-queries in a global.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
11 days agodnsdist: Fix weird comment 17462/head
Remi Gacogne [Tue, 26 May 2026 09:57:20 +0000 (11:57 +0200)] 
dnsdist: Fix weird comment

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
11 days agodnsdist: Use a optional to distinguish between "not tested" and "not enabled"
Remi Gacogne [Tue, 26 May 2026 09:44:55 +0000 (11:44 +0200)] 
dnsdist: Use a optional to distinguish between "not tested" and "not enabled"

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
11 days agoMerge pull request #17463 from rgacogne/ddist-lua-offsetof-warnings
Remi Gacogne [Tue, 26 May 2026 08:27:04 +0000 (10:27 +0200)] 
Merge pull request #17463 from rgacogne/ddist-lua-offsetof-warnings

dnsdist: Fix warnings about the use of `offsetof` on non-POD types

11 days agoMerge pull request #17430 from pieterlexis/rec-doc-nearmiss
Pieter Lexis [Tue, 26 May 2026 08:24:35 +0000 (10:24 +0200)] 
Merge pull request #17430 from pieterlexis/rec-doc-nearmiss

docs(rec): describe result of hitting spoof-nearmiss-max in more places

11 days agodnsdist: Move from `d_OTTracingDisabled` to `d_OTTracingEnabled`
Remi Gacogne [Tue, 26 May 2026 08:23:53 +0000 (10:23 +0200)] 
dnsdist: Move from `d_OTTracingDisabled` to `d_OTTracingEnabled`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoDocs: Link backend docs to launch setting 17464/head
Roger A. Light [Fri, 22 May 2026 20:26:40 +0000 (21:26 +0100)] 
Docs: Link backend docs to launch setting

For a user who has not read the documentation in detail, if they decide
they want to run more multiple pipe backends, for example, then they
will probably go to the pipe backend documentation to discover how to do
this. The docs list the backend as having support for Multiple
Instances, but no information on how to achieve this. Adding a link to
the launch option immediately provides the information that is required.

Signed-off-by: Roger A. Light <roger@atchoo.org>
2 weeks agodnsdist: Fix clang-tidy warnings in dnsdist-opentelemetry.cc
Remi Gacogne [Fri, 22 May 2026 14:24:24 +0000 (16:24 +0200)] 
dnsdist: Fix clang-tidy warnings in dnsdist-opentelemetry.cc

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agodnsdist: Fix warnings about the use of `offsetof` on non-POD types 17463/head
Remi Gacogne [Fri, 22 May 2026 13:33:21 +0000 (15:33 +0200)] 
dnsdist: Fix warnings about the use of `offsetof` on non-POD types

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agodnsdist: Fix warnings about unused parameters when protobuf support is disabled
Remi Gacogne [Fri, 22 May 2026 13:28:30 +0000 (15:28 +0200)] 
dnsdist: Fix warnings about unused parameters when protobuf support is disabled

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agodnsdist: Reduce the cost of disabled OpenTelemetry tracing
Remi Gacogne [Fri, 22 May 2026 12:39:47 +0000 (14:39 +0200)] 
dnsdist: Reduce the cost of disabled OpenTelemetry tracing

This commit:
- prevents the copy of a shared pointer by passing a reference to the tracer
  instead, a copy (incrementing the reference count, then decrementing it later)
  can still be done when needed
- skip checking the runtime configuration to check if OT is enabled if we already
  have a tracer
- adds a boolean to the InternalQueryState to remember whether OT is disabled,
  preventing the need to check the runtime configuration every time we create
  a (most of the time empty) closer

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoiputils: Return early when the tree is empty
Remi Gacogne [Fri, 22 May 2026 13:08:09 +0000 (15:08 +0200)] 
iputils: Return early when the tree is empty

This brings a small speed-up when the proxy protocol ACL is empty,
for example.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agodnsdist: Do not send UDP responses when the frontend is muted 17461/head
Remi Gacogne [Fri, 22 May 2026 12:44:00 +0000 (14:44 +0200)] 
dnsdist: Do not send UDP responses when the frontend is muted

We were not checking in various places (cache hits, self-answered responses).

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoMerge pull request #17453 from rgacogne/changelog-from-pr-improvements
Remi Gacogne [Fri, 22 May 2026 12:25:57 +0000 (14:25 +0200)] 
Merge pull request #17453 from rgacogne/changelog-from-pr-improvements

changelog-from-pr: Reuse HTTP connections, fix PR/issue confusion for tickets

2 weeks agoMerge pull request #17458 from Habbie/faketime-pin
Remi Gacogne [Fri, 22 May 2026 12:25:46 +0000 (14:25 +0200)] 
Merge pull request #17458 from Habbie/faketime-pin

tasks.py faketime build: pin git commit

2 weeks agoMerge pull request #17457 from rgacogne/ddist-flaky-ebpf-test
Remi Gacogne [Fri, 22 May 2026 12:25:02 +0000 (14:25 +0200)] 
Merge pull request #17457 from rgacogne/ddist-flaky-ebpf-test

dnsdist: Do not check the counters in eBPF's regression test

2 weeks agoMerge pull request #17459 from miodvallat/1001nights
Remi Gacogne [Fri, 22 May 2026 07:10:22 +0000 (09:10 +0200)] 
Merge pull request #17459 from miodvallat/1001nights

auth: stricter proxy protocol size limit enforcement

2 weeks agoEnforce proxy protocol size limit earlier. 17459/head
Miod Vallat [Thu, 21 May 2026 14:33:39 +0000 (16:33 +0200)] 
Enforce proxy protocol size limit earlier.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoMerge pull request #17456 from rgacogne/ddist-backend-latency-tsan
Remi Gacogne [Thu, 21 May 2026 14:36:32 +0000 (16:36 +0200)] 
Merge pull request #17456 from rgacogne/ddist-backend-latency-tsan

dnsdist: Add a TSAN suppression for DownstreamState::setUpStatus

2 weeks agoMerge pull request #17367 from miodvallat/xfrdam
Miod Vallat [Thu, 21 May 2026 14:00:32 +0000 (16:00 +0200)] 
Merge pull request #17367 from miodvallat/xfrdam

Correctly display APL DNS records with IPv4 addresses ending in .0

2 weeks agoMerge pull request #17373 from miodvallat/hemicolon
Miod Vallat [Thu, 21 May 2026 13:59:33 +0000 (15:59 +0200)] 
Merge pull request #17373 from miodvallat/hemicolon

auth: once again, relax JSON normalization code for record contents

2 weeks agoMerge pull request #17447 from miodvallat/lmdbound
Miod Vallat [Thu, 21 May 2026 13:59:00 +0000 (15:59 +0200)] 
Merge pull request #17447 from miodvallat/lmdbound

auth lmdb: do not serialize records over 64K in length

2 weeks agoMerge pull request #17455 from miodvallat/blob_me_like_a_hurricane
Miod Vallat [Thu, 21 May 2026 13:57:45 +0000 (15:57 +0200)] 
Merge pull request #17455 from miodvallat/blob_me_like_a_hurricane

Yet more xfr* hardening

2 weeks agotasks.py faketime build: pin git commit 17458/head
Peter van Dijk [Thu, 21 May 2026 13:45:45 +0000 (15:45 +0200)] 
tasks.py faketime build: pin git commit

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 weeks agodnsdist: Do not check the counters in eBPF's regression test 17457/head
Remi Gacogne [Thu, 21 May 2026 13:42:14 +0000 (15:42 +0200)] 
dnsdist: Do not check the counters in eBPF's regression test

We might have already been blocked by the dynamic block regression
tests, if we are unlucky.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>