]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 months agoUnderscores may appear in hostnames if RFC112-CONFORMANCE metadata is set to 0. 16151/head
Miod Vallat [Wed, 6 Aug 2025 10:01:14 +0000 (12:01 +0200)] 
Underscores may appear in hostnames if RFC112-CONFORMANCE metadata is set to 0.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16185 from miodvallat/endless_negative_trouble
Miod Vallat [Mon, 29 Sep 2025 11:55:18 +0000 (13:55 +0200)] 
Merge pull request #16185 from miodvallat/endless_negative_trouble

auth: handle ENT in pipe backend

4 months agoMerge pull request #16179 from miodvallat/pdnsutil_shaken_not_stirred
Miod Vallat [Mon, 29 Sep 2025 11:55:01 +0000 (13:55 +0200)] 
Merge pull request #16179 from miodvallat/pdnsutil_shaken_not_stirred

pdnsutil: add zone copy command

4 months agoMerge pull request #16113 from miodvallat/cmos
Miod Vallat [Mon, 29 Sep 2025 11:51:38 +0000 (13:51 +0200)] 
Merge pull request #16113 from miodvallat/cmos

auth: remove confusing message

4 months agoMerge pull request #16189 from miodvallat/nothing_to_see_here_move_along
Miod Vallat [Mon, 29 Sep 2025 09:49:53 +0000 (11:49 +0200)] 
Merge pull request #16189 from miodvallat/nothing_to_see_here_move_along

boring PR to move a single file

4 months agoMerge pull request #16188 from omoerbeek/rec-lib-version-followup
Otto Moerbeek [Mon, 29 Sep 2025 09:41:42 +0000 (11:41 +0200)] 
Merge pull request #16188 from omoerbeek/rec-lib-version-followup

rec: Fix release builds by updating the locked Rust lib version

4 months agoMerge pull request #16175 from omoerbeek/rec-help
Otto Moerbeek [Mon, 29 Sep 2025 09:11:50 +0000 (11:11 +0200)] 
Merge pull request #16175 from omoerbeek/rec-help

rec: move help text to a table so it's easier to maintain

4 months agoMerge pull request #16178 from rgacogne/ddist-pass-meta-keys-to-response
Remi Gacogne [Mon, 29 Sep 2025 09:09:56 +0000 (11:09 +0200)] 
Merge pull request #16178 from rgacogne/ddist-pass-meta-keys-to-response

dnsdist: Fix setting meta keys on response, pass them from question to response

4 months agoMove logr.hh to common directory. NFC 16189/head
Miod Vallat [Mon, 29 Sep 2025 08:53:17 +0000 (10:53 +0200)] 
Move logr.hh to common directory. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16070 from rgacogne/ddist-skip-padding-by-default
Remi Gacogne [Mon, 29 Sep 2025 08:37:33 +0000 (10:37 +0200)] 
Merge pull request #16070 from rgacogne/ddist-skip-padding-by-default

dnsdist: Skip EDNS padding content by default in the packet cache

4 months agorec: Fix release builds by updating the locked Rust lib version 16188/head
Otto Moerbeek [Mon, 29 Sep 2025 08:24:45 +0000 (10:24 +0200)] 
rec: Fix release builds by updating the locked Rust lib version

Compare #16180 for dnsdist

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoMerge pull request #16142 from pieterlexis/add-HHIT-BRID
Pieter Lexis [Mon, 29 Sep 2025 07:09:45 +0000 (09:09 +0200)] 
Merge pull request #16142 from pieterlexis/add-HHIT-BRID

feat: Add DRIP records (HHIT and BRID)

4 months agoHandle ENT records (with no content) in pipe backend protocol. 16185/head
Miod Vallat [Fri, 26 Sep 2025 14:59:25 +0000 (16:59 +0200)] 
Handle ENT records (with no content) in pipe backend protocol.

Fixes: #15027
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16184 from miodvallat/flush_your_domain's_teeth
Miod Vallat [Fri, 26 Sep 2025 12:41:05 +0000 (14:41 +0200)] 
Merge pull request #16184 from miodvallat/flush_your_domain's_teeth

auth: backend flush command

4 months agoAdd a pdns_control flush command, to instruct backends to write in-flight data. 16184/head
Miod Vallat [Fri, 26 Sep 2025 09:18:02 +0000 (11:18 +0200)] 
Add a pdns_control flush command, to instruct backends to write in-flight data.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16183 from miodvallat/error_message_obscurity
Miod Vallat [Fri, 26 Sep 2025 09:40:10 +0000 (11:40 +0200)] 
Merge pull request #16183 from miodvallat/error_message_obscurity

auth: Provide more context in GeoIPbackend YAML parsing failures

4 months agoSort registration of pdns_control actions. NFC
Miod Vallat [Fri, 26 Sep 2025 08:24:20 +0000 (10:24 +0200)] 
Sort registration of pdns_control actions. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoProvide more context in GeoIP YAML parsing failures. 16183/head
Miod Vallat [Fri, 26 Sep 2025 07:31:33 +0000 (09:31 +0200)] 
Provide more context in GeoIP YAML parsing failures.

Fixes: #13064
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16180 from rgacogne/ddist-fix-release-rust-update
Remi Gacogne [Fri, 26 Sep 2025 08:08:32 +0000 (10:08 +0200)] 
Merge pull request #16180 from rgacogne/ddist-fix-release-rust-update

dnsdist: Fix release builds by updating the locked Rust lib version

4 months agodnsdist: Fix release builds by updating the locked Rust lib version 16180/head
Remi Gacogne [Thu, 25 Sep 2025 13:14:40 +0000 (15:14 +0200)] 
dnsdist: Fix release builds by updating the locked Rust lib version

Since we are now dynamically setting the version of our internal Rust library
when generating the release tarball, `cargo` needs to update the `Cargo.lock`
file to reflect the new version, which is not possible if we are passing `--locked`:
```
error: the lock file /pdns/dnsdist-2.1.0-alpha0.870.master.gc64b979bc/dnsdist-rust-lib/rust/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.
```
This commit fixes that also updating the `Cargo.lock` file when generating the
release tarball so that `cargo` no longer needs to update the `Cargo.lock`.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoAdd a pdnsutil "zone copy" command, and suggest its use for views. 16179/head
Miod Vallat [Thu, 25 Sep 2025 13:44:43 +0000 (15:44 +0200)] 
Add a pdnsutil "zone copy" command, and suggest its use for views.

Fixes: #5798
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agodnsdist: Fix setting meta keys on response, pass them from question to response 16178/head
Remi Gacogne [Thu, 25 Sep 2025 10:01:52 +0000 (12:01 +0200)] 
dnsdist: Fix setting meta keys on response, pass them from question to response

This commit fixes setting Protocol Buffer meta keys on DNS response via Lua FFI:
the existing code was assuming it was possible to use the question methods on a
response object which is not true and would likely have ended in a crash at some
point.
It also propates meta keys set on a DNS question to the corresponding DNS response.
Before this commit the values were not passed along to the response which was quite
unexpected, especially for self-answered responses.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoMerge pull request #16176 from miodvallat/lmdb_polish
Miod Vallat [Thu, 25 Sep 2025 11:51:21 +0000 (13:51 +0200)] 
Merge pull request #16176 from miodvallat/lmdb_polish

auth: some more lmdb polish

4 months agoUse two-line format as pdnsutil does 16175/head
Otto Moerbeek [Thu, 25 Sep 2025 07:34:17 +0000 (09:34 +0200)] 
Use two-line format as pdnsutil does

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoSort includes.
Miod Vallat [Fri, 5 Sep 2025 06:06:08 +0000 (08:06 +0200)] 
Sort includes.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoAddress some coverity-reported warnings.
Miod Vallat [Fri, 5 Sep 2025 06:00:42 +0000 (08:00 +0200)] 
Address some coverity-reported warnings.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16140 from rgacogne/fix-tcp-downstream-freebsd
Remi Gacogne [Thu, 25 Sep 2025 08:47:08 +0000 (10:47 +0200)] 
Merge pull request #16140 from rgacogne/fix-tcp-downstream-freebsd

dnsdist: Fix reentry issue in TCP downstream I/O on macOS/BSD

4 months agoMerge pull request #16162 from rgacogne/documentation-remove-netlify
Remi Gacogne [Thu, 25 Sep 2025 08:44:31 +0000 (10:44 +0200)] 
Merge pull request #16162 from rgacogne/documentation-remove-netlify

documentation: Stop pushing to netlify

4 months agoRemove .netlify from .gitignore 16162/head
Remi Gacogne [Thu, 25 Sep 2025 07:34:02 +0000 (09:34 +0200)] 
Remove .netlify from .gitignore

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agodnsdist: Remove redundant assignment noticed by Otto 16140/head
Remi Gacogne [Thu, 25 Sep 2025 07:32:37 +0000 (09:32 +0200)] 
dnsdist: Remove redundant assignment noticed by Otto

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoFree more resources at the end of a lookup operation. 16176/head
Miod Vallat [Thu, 25 Sep 2025 06:41:04 +0000 (08:41 +0200)] 
Free more resources at the end of a lookup operation.

In particular, lookupEnd() could keep unprocessed record data in memory
until the next lookup operation, for no good reason.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoGroup the various fields used for lookups in their own struct. NFC
Miod Vallat [Thu, 25 Sep 2025 06:35:54 +0000 (08:35 +0200)] 
Group the various fields used for lookups in their own struct. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agorec: move help text to a table so it's easier to maintain
Otto Moerbeek [Wed, 24 Sep 2025 14:22:30 +0000 (16:22 +0200)] 
rec: move help text to a table so it's easier to maintain

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agochore: clang-tidy does not like boilerplate_conv 16142/head
Pieter Lexis [Mon, 22 Sep 2025 07:40:16 +0000 (09:40 +0200)] 
chore: clang-tidy does not like boilerplate_conv

4 months agofeat: Add DRIP records (HHIT and BRID)
Pieter Lexis [Fri, 19 Sep 2025 09:16:42 +0000 (11:16 +0200)] 
feat: Add DRIP records (HHIT and BRID)

These are defined in draft-ietf-drip-registries-33.

4 months agoMerge pull request #16168 from Habbie/auth-4.9.9-docs
Miod Vallat [Wed, 24 Sep 2025 08:57:25 +0000 (10:57 +0200)] 
Merge pull request #16168 from Habbie/auth-4.9.9-docs

auth-4.9.9: docs & secpoll

4 months agoMerge pull request #16167 from omoerbeek/rec-update-rust-version-on-dist
Otto Moerbeek [Wed, 24 Sep 2025 05:25:03 +0000 (07:25 +0200)] 
Merge pull request #16167 from omoerbeek/rec-update-rust-version-on-dist

rec: Update the Rust library version when generating a tarball

4 months agoMerge pull request #16169 from rgacogne/build-docker-images-tags-perms
Peter van Dijk [Tue, 23 Sep 2025 15:13:42 +0000 (17:13 +0200)] 
Merge pull request #16169 from rgacogne/build-docker-images-tags-perms

build-docker-images-tags: Grant enough permissions to sign images

4 months agodocker: Grant enough permissions to sign images 16169/head
Remi Gacogne [Tue, 23 Sep 2025 14:19:53 +0000 (16:19 +0200)] 
docker: Grant enough permissions to sign images

4 months agobuild-docker-images-tags: Grant enough permissions to sign images
Remi Gacogne [Tue, 23 Sep 2025 14:15:13 +0000 (16:15 +0200)] 
build-docker-images-tags: Grant enough permissions to sign images

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoauth-4.9.9: docs & secpoll 16168/head
Peter van Dijk [Tue, 23 Sep 2025 13:59:46 +0000 (15:59 +0200)] 
auth-4.9.9: docs & secpoll

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
4 months agorec: Update the Rust library version when generating a tarball 16167/head
Otto Moerbeek [Tue, 23 Sep 2025 12:54:43 +0000 (14:54 +0200)] 
rec: Update the Rust library version when generating a tarball

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoMerge pull request #16155 from rgacogne/ddist-update-rust-version-on-dist
Remi Gacogne [Tue, 23 Sep 2025 12:48:25 +0000 (14:48 +0200)] 
Merge pull request #16155 from rgacogne/ddist-update-rust-version-on-dist

dnsdist: Update the Rust library version when generating a tarball

4 months agoMerge pull request #16166 from rgacogne/ddist-fix-unused-rust-struct
Remi Gacogne [Tue, 23 Sep 2025 12:39:20 +0000 (14:39 +0200)] 
Merge pull request #16166 from rgacogne/ddist-fix-unused-rust-struct

dnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning

4 months agodnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning 16166/head
Remi Gacogne [Tue, 23 Sep 2025 10:18:30 +0000 (12:18 +0200)] 
dnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning

```
warning: struct `UnusedStruct` is never constructed
  --> src/lib.rs:10:8
   |
10 | struct UnusedStruct {}
   |        ^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
```

The warning that this struct was introduced to fix seems to be gone
anyway.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoMerge pull request #16163 from omoerbeek/link-ai-policy
Otto Moerbeek [Tue, 23 Sep 2025 09:42:09 +0000 (11:42 +0200)] 
Merge pull request #16163 from omoerbeek/link-ai-policy

PR template: Make the mention of the AI policy a link

4 months agodnsdist: Error out in meson-sdist-script.sh when BUILDER_VERSION is unset 16155/head
Remi Gacogne [Mon, 22 Sep 2025 15:02:24 +0000 (17:02 +0200)] 
dnsdist: Error out in meson-sdist-script.sh when BUILDER_VERSION is unset

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agodnsdist: Add comment about the Rust library version being automatically updated
Remi Gacogne [Mon, 22 Sep 2025 15:01:28 +0000 (17:01 +0200)] 
dnsdist: Add comment about the Rust library version being automatically updated

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoupdate-rust-library-version: Not DNSdist-specific
Remi Gacogne [Mon, 22 Sep 2025 10:15:03 +0000 (12:15 +0200)] 
update-rust-library-version: Not DNSdist-specific

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agodnsdist: Update the Rust library version when generating a tarball
Remi Gacogne [Mon, 22 Sep 2025 09:43:11 +0000 (11:43 +0200)] 
dnsdist: Update the Rust library version when generating a tarball

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoPR template: Make the mention of the AI policy a link 16163/head
Otto Moerbeek [Tue, 23 Sep 2025 08:23:03 +0000 (10:23 +0200)] 
PR template: Make the mention of the AI policy a link

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agodocumentation: Stop pushing to netlify
Remi Gacogne [Tue, 23 Sep 2025 08:14:12 +0000 (10:14 +0200)] 
documentation: Stop pushing to netlify

We are currently not using it, so no need to waste CPU cycles on it.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoMerge pull request #16159 from rgacogne/add-signature-to-images
Remi Gacogne [Tue, 23 Sep 2025 07:18:26 +0000 (09:18 +0200)] 
Merge pull request #16159 from rgacogne/add-signature-to-images

build-docker-images: Sign our Docker images via OIDC

4 months agoMerge pull request #16149 from MaxHearnden/patch-1
Remi Gacogne [Mon, 22 Sep 2025 15:55:47 +0000 (17:55 +0200)] 
Merge pull request #16149 from MaxHearnden/patch-1

Use RDRule in dnsdist example

4 months agoReorder rules in dnsdist recursive/authoritative example 16149/head
MaxHearnden [Mon, 22 Sep 2025 14:59:23 +0000 (15:59 +0100)] 
Reorder rules in dnsdist recursive/authoritative example

RDRule is likely to be cheaper to evaluate than a NetmaskGroupRule and so evaluating RDRule first will allow NetmaskGroupRule to sometimes be shortcutted.

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: MaxHearnden <MaxHearnden@users.noreply.github.com>
4 months agoMerge pull request #16138 from omoerbeek/rec-more-protobuf
Otto Moerbeek [Mon, 22 Sep 2025 14:49:25 +0000 (16:49 +0200)] 
Merge pull request #16138 from omoerbeek/rec-more-protobuf

rec: add a few fields in protobuf logs: ede, edeText and OpenTelemetryTraceID

4 months agoMerge pull request #16152 from miodvallat/romani_ite_domum
Miod Vallat [Mon, 22 Sep 2025 14:48:03 +0000 (16:48 +0200)] 
Merge pull request #16152 from miodvallat/romani_ite_domum

auth views: perform character set validation of view names

4 months agoPerform character set validation of view names. 16152/head
Miod Vallat [Mon, 22 Sep 2025 08:42:47 +0000 (10:42 +0200)] 
Perform character set validation of view names.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agobuild-docker-images: Remove trailing whitespace 16159/head
Remi Gacogne [Mon, 22 Sep 2025 13:56:26 +0000 (15:56 +0200)] 
build-docker-images: Remove trailing whitespace

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agobuild-docker-images: Fix access to id-token to sign images
Remi Gacogne [Mon, 22 Sep 2025 12:57:14 +0000 (14:57 +0200)] 
build-docker-images: Fix access to id-token to sign images

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoProtobuf regression test tweaks 16138/head
Otto Moerbeek [Mon, 22 Sep 2025 12:34:01 +0000 (14:34 +0200)] 
Protobuf regression test tweaks

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoMerge pull request #16156 from miodvallat/not_levis_after_all
Miod Vallat [Mon, 22 Sep 2025 13:44:35 +0000 (15:44 +0200)] 
Merge pull request #16156 from miodvallat/not_levis_after_all

auth: rewrite history

4 months agoFix documentation build warnings. 16156/head
Miod Vallat [Mon, 22 Sep 2025 12:48:17 +0000 (14:48 +0200)] 
Fix documentation build warnings.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agolmdb-write-notification-update also available in 4.9.9.
Miod Vallat [Mon, 22 Sep 2025 12:36:46 +0000 (14:36 +0200)] 
lmdb-write-notification-update also available in 4.9.9.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agobuild-docker-images: Sign our Docker images via OIDC
Remi Gacogne [Tue, 9 Sep 2025 10:38:03 +0000 (12:38 +0200)] 
build-docker-images: Sign our Docker images via OIDC

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoMerge pull request #16150 from miodvallat/obey_dns_but_carefully
Miod Vallat [Mon, 22 Sep 2025 08:56:21 +0000 (10:56 +0200)] 
Merge pull request #16150 from miodvallat/obey_dns_but_carefully

auth: odbc tweaks to appease coverity

4 months agosilence clang-tidy 16150/head
Miod Vallat [Mon, 22 Sep 2025 07:22:45 +0000 (09:22 +0200)] 
silence clang-tidy

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoRemove extra field added in e9755ed87f1d11453e08c23404f11ac1883b27f4...
Miod Vallat [Mon, 22 Sep 2025 06:30:09 +0000 (08:30 +0200)] 
Remove extra field added in e9755ed87f1d11453e08c23404f11ac1883b27f4...

...and use LenPtr for that purpose instead. Gets rid of Coverity
complaining about structs no longer being fully initialized.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoUse RDRule in dnsdist example
MaxHearnden [Mon, 22 Sep 2025 00:21:18 +0000 (01:21 +0100)] 
Use RDRule in dnsdist example

This would allow IP addresses with access to the recursive DNS server to also access the authoritative DNS server to e.g. perform zone transfers.

Signed-off-by: MaxHearnden <MaxHearnden@users.noreply.github.com>
4 months agoMerge pull request #16134 from rgacogne/ddist-fix-yaml_function_code-doc
Remi Gacogne [Sat, 20 Sep 2025 15:56:17 +0000 (17:56 +0200)] 
Merge pull request #16134 from rgacogne/ddist-fix-yaml_function_code-doc

dnsdist: Fix doc for Lua `function_code` from YAML configuration

4 months agoMerge pull request #16148 from jsoref/remove-the
Miod Vallat [Fri, 19 Sep 2025 14:51:09 +0000 (16:51 +0200)] 
Merge pull request #16148 from jsoref/remove-the

Remove superfluous `the`

4 months agoMerge pull request #16145 from miodvallat/sicilian_defense
Miod Vallat [Fri, 19 Sep 2025 14:17:56 +0000 (16:17 +0200)] 
Merge pull request #16145 from miodvallat/sicilian_defense

Mention the AI policy in the "new issue" template

4 months agoRemove superfluous `the` 16148/head
Josh Soref [Fri, 19 Sep 2025 14:07:24 +0000 (10:07 -0400)] 
Remove superfluous `the`

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoMerge pull request #16141 from miodvallat/notify_in_your_head
Miod Vallat [Fri, 19 Sep 2025 13:48:10 +0000 (15:48 +0200)] 
Merge pull request #16141 from miodvallat/notify_in_your_head

lmdb: optional memory-only notification timestamps

4 months agoMention the AI policy in the new issue template 16145/head
Miod Vallat [Fri, 19 Sep 2025 13:26:43 +0000 (15:26 +0200)] 
Mention the AI policy in the new issue template

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16144 from rgacogne/ddist-fix-hash-perturbation-yaml
Remi Gacogne [Fri, 19 Sep 2025 13:03:54 +0000 (15:03 +0200)] 
Merge pull request #16144 from rgacogne/ddist-fix-hash-perturbation-yaml

dnsdist: Initialize hash perturbation later, and only if needed

4 months agoReverse polarity 16141/head
Miod Vallat [Fri, 19 Sep 2025 12:42:21 +0000 (14:42 +0200)] 
Reverse polarity

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agodnsdist: Document that the hash perturbation is only used for chashed 16144/head
Remi Gacogne [Fri, 19 Sep 2025 12:15:09 +0000 (14:15 +0200)] 
dnsdist: Document that the hash perturbation is only used for chashed

As suggested by Robert Edmonds (thank you!).

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agodnsdist: Initialize hash perturbation later, and only if needed
Remi Gacogne [Fri, 19 Sep 2025 12:14:23 +0000 (14:14 +0200)] 
dnsdist: Initialize hash perturbation later, and only if needed

As suggested by Robert Edmonds (many thanks!).

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agodnsdist: Add the current hash perturbation setting to verbose logging
Remi Gacogne [Fri, 19 Sep 2025 12:13:32 +0000 (14:13 +0200)] 
dnsdist: Add the current hash perturbation setting to verbose logging

As suggested by Robert Edmonds (thanks!).

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agolmdb: allow domain notification timestamps to be kept in memory only.
Miod Vallat [Mon, 15 Sep 2025 13:56:20 +0000 (15:56 +0200)] 
lmdb: allow domain notification timestamps to be kept in memory only.

They will get synchronized on disk only when another DomainInfo field
gets modified.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoFactor code responsible for filling DomainInfo. NFC yet.
Miod Vallat [Mon, 15 Sep 2025 10:09:00 +0000 (12:09 +0200)] 
Factor code responsible for filling DomainInfo. NFC yet.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agodnsdist: Appease clang-tidy
Remi Gacogne [Fri, 19 Sep 2025 09:37:37 +0000 (11:37 +0200)] 
dnsdist: Appease clang-tidy

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoProcess review comments
Otto Moerbeek [Thu, 18 Sep 2025 14:29:57 +0000 (16:29 +0200)] 
Process review comments

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agodnsdist: Reduce complexity of `TCPConnectionToBackend::handleIO`
Remi Gacogne [Thu, 18 Sep 2025 13:12:04 +0000 (15:12 +0200)] 
dnsdist: Reduce complexity of `TCPConnectionToBackend::handleIO`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoAdd tests for ede, edeText and OT data in protobuf
Otto Moerbeek [Thu, 18 Sep 2025 08:45:22 +0000 (10:45 +0200)] 
Add tests for ede, edeText and OT data in protobuf

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoMerge pull request #16135 from rgacogne/ddist-1.9.11-changelog-secpoll
Remi Gacogne [Thu, 18 Sep 2025 09:05:19 +0000 (11:05 +0200)] 
Merge pull request #16135 from rgacogne/ddist-1.9.11-changelog-secpoll

dnsdist: Update security polling and changelog for 1.9.11, 2.0.1

4 months agodnsdist: Clarify that versions < 1.9.0 are not affected 16135/head
Remi Gacogne [Fri, 12 Sep 2025 08:21:17 +0000 (10:21 +0200)] 
dnsdist: Clarify that versions < 1.9.0 are not affected

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agodnsdist: Update security polling and changelog for 1.9.11, 2.0.1
Remi Gacogne [Tue, 9 Sep 2025 08:53:18 +0000 (10:53 +0200)] 
dnsdist: Update security polling and changelog for 1.9.11, 2.0.1

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agodnsdist: Fix doc for Lua `function_code` from YAML configuration 16134/head
Remi Gacogne [Thu, 18 Sep 2025 07:31:41 +0000 (09:31 +0200)] 
dnsdist: Fix doc for Lua `function_code` from YAML configuration

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoMerge pull request #16130 from omoerbeek/rec-docs-CA-equal
Otto Moerbeek [Wed, 17 Sep 2025 14:14:17 +0000 (16:14 +0200)] 
Merge pull request #16130 from omoerbeek/rec-docs-CA-equal

rec docs: ComboAddress has no == operator, don't suggest it has

4 months agorec: add EDE and OT TraceID to protobuf
Otto Moerbeek [Wed, 17 Sep 2025 13:32:06 +0000 (15:32 +0200)] 
rec: add EDE and OT TraceID to protobuf

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoMerge pull request #16131 from omoerbeek/rec-cookies-dot
Otto Moerbeek [Wed, 17 Sep 2025 12:15:29 +0000 (14:15 +0200)] 
Merge pull request #16131 from omoerbeek/rec-cookies-dot

rec: only store IP (and no port) as local address in cookie store

4 months agoMerge pull request #16104 from omoerbeek/rec-reload-fail-msg
Otto Moerbeek [Wed, 17 Sep 2025 11:11:05 +0000 (13:11 +0200)] 
Merge pull request #16104 from omoerbeek/rec-reload-fail-msg

rec: better error message when reload-yaml fails

4 months agorec: only store IP (and no port) as local address in cookie store 16131/head
Otto Moerbeek [Wed, 17 Sep 2025 11:00:02 +0000 (13:00 +0200)] 
rec: only store IP (and no port) as local address in cookie store

Otherwise binding a local TCP port will fail, as the stored port
is likely still in use do to connections lingering.

Observed when forcing DoT to specific nameservers that support
cookies.  In many cases the effect was: see the bind call failing and
go to the next nameserver, that's likely why it was noticed before.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoProcess review comments from @pieterlexis 16130/head
Otto Moerbeek [Wed, 17 Sep 2025 10:25:19 +0000 (12:25 +0200)] 
Process review comments from @pieterlexis

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agorec docs: ComboAddress has no == operator, don't suggest it has
Otto Moerbeek [Wed, 17 Sep 2025 09:24:59 +0000 (11:24 +0200)] 
rec docs: ComboAddress has no == operator, don't suggest it has

Fixes #16128
Plus some general improvements.
One day we should make the Lua classes docs for all three products (more) consistent.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoMerge pull request #16099 from grinapo/patch-1
Miod Vallat [Wed, 17 Sep 2025 07:09:33 +0000 (09:09 +0200)] 
Merge pull request #16099 from grinapo/patch-1

Update lua2.rst: dns_get_all_domains() args and notes update

4 months agoUpdate docs/backends/lua2.rst 16099/head
Miod Vallat [Wed, 17 Sep 2025 06:23:51 +0000 (08:23 +0200)] 
Update docs/backends/lua2.rst

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agodnsdist: Fix reentry issue in TCP downstream I/O on macOS/BSD
Remi Gacogne [Tue, 16 Sep 2025 15:24:50 +0000 (17:24 +0200)] 
dnsdist: Fix reentry issue in TCP downstream I/O on macOS/BSD

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