]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
12 days 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>
12 days 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

13 days 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

13 days 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>
13 days 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

13 days 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

13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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

13 days 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>
13 days 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>
13 days 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>
13 days 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

13 days 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>
13 days 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>
13 days 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>
2 weeks 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

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

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

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

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

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

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

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

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

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

2 weeks 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>
2 weeks agoMerge pull request #16126 from rgacogne/ddist-coverity-490091-490094
Remi Gacogne [Tue, 16 Sep 2025 09:36:41 +0000 (11:36 +0200)] 
Merge pull request #16126 from rgacogne/ddist-coverity-490091-490094

dnsdist: Fix performance inefficiencies reported by Coverity

2 weeks agodnsdist: Fix performance inefficiencies reported by Coverity 16126/head
Remi Gacogne [Tue, 16 Sep 2025 07:17:47 +0000 (09:17 +0200)] 
dnsdist: Fix performance inefficiencies reported by Coverity

Fixes Coverity 490091, 490092, 490093 and 490094.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoMerge pull request #15613 from rgacogne/dco
Remi Gacogne [Tue, 16 Sep 2025 07:00:06 +0000 (09:00 +0200)] 
Merge pull request #15613 from rgacogne/dco

Require Developer Certificate of Origin in pull requests

2 weeks agoMerge pull request #15412 from omoerbeek/rec-cookies
Otto Moerbeek [Mon, 15 Sep 2025 15:11:58 +0000 (17:11 +0200)] 
Merge pull request #15412 from omoerbeek/rec-cookies

rec: implement DNS cookie support for outgoing requests

2 weeks agoCONTRIBUTING: More useful link descriptions 15613/head
Remi Gacogne [Mon, 15 Sep 2025 14:57:47 +0000 (16:57 +0200)] 
CONTRIBUTING: More useful link descriptions

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoPull request template: Apply Peter's suggestion
Remi Gacogne [Mon, 15 Sep 2025 13:54:28 +0000 (15:54 +0200)] 
Pull request template: Apply Peter's suggestion

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agospell-check: Allow aidarwinawards
Remi Gacogne [Mon, 15 Sep 2025 13:53:22 +0000 (15:53 +0200)] 
spell-check: Allow aidarwinawards

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoCONTRIBUTING: We now have a custom DCO
Remi Gacogne [Mon, 15 Sep 2025 13:53:04 +0000 (15:53 +0200)] 
CONTRIBUTING: We now have a custom DCO

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoAlso add PowerDNS' policy on the use of AI tools
Remi Gacogne [Mon, 15 Sep 2025 13:45:13 +0000 (15:45 +0200)] 
Also add PowerDNS' policy on the use of AI tools

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoMerge pull request #15946 from esensar/feature/rdata-parsers
Remi Gacogne [Mon, 15 Sep 2025 13:25:37 +0000 (15:25 +0200)] 
Merge pull request #15946 from esensar/feature/rdata-parsers

dnsdist: add Lua parsers for A, AAAA and CNAME records

2 weeks agoMerge pull request #16120 from miodvallat/space_is_the_key
Miod Vallat [Mon, 15 Sep 2025 12:10:19 +0000 (14:10 +0200)] 
Merge pull request #16120 from miodvallat/space_is_the_key

pdnsutil: allow spaces in EDITOR

2 weeks agoMerge pull request #16121 from miodvallat/psychedelik_kosmonaut
Miod Vallat [Mon, 15 Sep 2025 12:08:16 +0000 (14:08 +0200)] 
Merge pull request #16121 from miodvallat/psychedelik_kosmonaut

auth: handle early lua-records-exec-limit exception correctly

2 weeks agoWiden the try block in luaSynth to catch the lua_report() exception. 16121/head
Miod Vallat [Mon, 15 Sep 2025 07:18:33 +0000 (09:18 +0200)] 
Widen the try block in luaSynth to catch the lua_report() exception.

It may fire if the lua-records-exec-limit value is really, really, really
small.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoFix clang-tidy issues 15946/head
Ensar Sarajčić [Mon, 15 Sep 2025 10:08:22 +0000 (12:08 +0200)] 
Fix clang-tidy issues

2 weeks agoProcess review comments from @rgacogne 15412/head
Otto Moerbeek [Mon, 15 Sep 2025 09:48:23 +0000 (11:48 +0200)] 
Process review comments from @rgacogne

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 weeks agoMerge pull request #16119 from Habbie/lua-shared-exec-limit
Peter van Dijk [Mon, 15 Sep 2025 09:02:54 +0000 (11:02 +0200)] 
Merge pull request #16119 from Habbie/lua-shared-exec-limit

auth LUA shared exec: reset exec limit for every invocation

2 weeks agoApply suggestions from code review
Ensar Sarajčić [Mon, 15 Sep 2025 09:01:43 +0000 (11:01 +0200)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Ensar Sarajčić <es.ensar@gmail.com>
2 weeks agodco: Exempt PowerDNS staff
Remi Gacogne [Mon, 15 Sep 2025 08:41:02 +0000 (10:41 +0200)] 
dco: Exempt PowerDNS staff

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoSplit EDITOR in space-separated parts so that it may arguments to the editor. 16120/head
Miod Vallat [Mon, 15 Sep 2025 06:11:25 +0000 (08:11 +0200)] 
Split EDITOR in space-separated parts so that it may arguments to the editor.

Fixes: #16117
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoauth LUA shared exec: reset exec limit for every invocation 16119/head
Peter van Dijk [Sat, 13 Sep 2025 20:37:42 +0000 (22:37 +0200)] 
auth LUA shared exec: reset exec limit for every invocation

fixes #16118

3 weeks agoMerge pull request #16112 from jellekaufmann/master
Peter van Dijk [Fri, 12 Sep 2025 11:55:21 +0000 (13:55 +0200)] 
Merge pull request #16112 from jellekaufmann/master

auth: Fix EDNS Cookie & Proxy protocol

3 weeks agoMerge pull request #16114 from miodvallat/better_foster_parent
Miod Vallat [Fri, 12 Sep 2025 10:52:36 +0000 (12:52 +0200)] 
Merge pull request #16114 from miodvallat/better_foster_parent

fix interaction between "pdnsutil zone edit" and pipe backend

3 weeks agoMerge pull request #16116 from miodvallat/primary_faulpelz
Miod Vallat [Fri, 12 Sep 2025 09:20:11 +0000 (11:20 +0200)] 
Merge pull request #16116 from miodvallat/primary_faulpelz

auth: one more configuration sanity check

3 weeks agoMerge pull request #16115 from miodvallat/odbcafety
Miod Vallat [Fri, 12 Sep 2025 09:08:48 +0000 (11:08 +0200)] 
Merge pull request #16115 from miodvallat/odbcafety

auth: automatize godbc_sqlite3 test configuration setup

3 weeks agoSwitch to a custom DCO to mention the LICENSE file
Remi Gacogne [Fri, 12 Sep 2025 08:57:39 +0000 (10:57 +0200)] 
Switch to a custom DCO to mention the LICENSE file

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoSwitch to KineticCafe/actions-dco
Remi Gacogne [Fri, 12 Sep 2025 08:35:46 +0000 (10:35 +0200)] 
Switch to KineticCafe/actions-dco

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoSigned-off -> Signed-off-by, as suggested by Habbie
Remi Gacogne [Mon, 2 Jun 2025 10:41:17 +0000 (12:41 +0200)] 
Signed-off -> Signed-off-by, as suggested by Habbie

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodco: Expect a sign-off from the committer, not the author
Remi Gacogne [Mon, 2 Jun 2025 10:11:11 +0000 (12:11 +0200)] 
dco: Expect a sign-off from the committer, not the author

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoAdd the DCO to the list of pull request checkboxes
Remi Gacogne [Mon, 2 Jun 2025 09:41:43 +0000 (11:41 +0200)] 
Add the DCO to the list of pull request checkboxes

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoAdd version 1.1 of the DCO in our repository, link to it
Remi Gacogne [Mon, 2 Jun 2025 09:41:20 +0000 (11:41 +0200)] 
Add version 1.1 of the DCO in our repository, link to it

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoAlso mention `git commit --amend --signoff`
Remi Gacogne [Mon, 2 Jun 2025 09:13:53 +0000 (11:13 +0200)] 
Also mention `git commit --amend --signoff`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoRequire Developer Certificate of Origin in pull requests
Remi Gacogne [Fri, 30 May 2025 15:20:40 +0000 (17:20 +0200)] 
Require Developer Certificate of Origin in pull requests

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoRefuse to start with retrieval-threads=0 if configuration needs any. 16116/head
Miod Vallat [Fri, 12 Sep 2025 08:32:28 +0000 (10:32 +0200)] 
Refuse to start with retrieval-threads=0 if configuration needs any.

Fixes: #5343
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoBuild the query configuration at runtime. 16115/head
Miod Vallat [Fri, 12 Sep 2025 07:49:27 +0000 (09:49 +0200)] 
Build the query configuration at runtime.

Fixes: #4033
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoDo not make SIGCHLD ignored when the pipe backend launches. 16114/head
Miod Vallat [Fri, 12 Sep 2025 07:28:00 +0000 (09:28 +0200)] 
Do not make SIGCHLD ignored when the pipe backend launches.

The pipe code makes sure to properly invoke waitpid() to reap its child
process, if any. And ignoring SIGCHLD would prevent other legitimate
waitpid() calls from working, such the editor spawned by pdnsutil zone edit.

Fixes: #3680
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoImprove comment wording.
Miod Vallat [Fri, 12 Sep 2025 07:27:08 +0000 (09:27 +0200)] 
Improve comment wording.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoMerge pull request #16106 from omoerbeek/update-cargo
Otto Moerbeek [Thu, 11 Sep 2025 14:14:14 +0000 (16:14 +0200)] 
Merge pull request #16106 from omoerbeek/update-cargo

Update cargos for rec and dnsdist

3 weeks agoMerge pull request #16040 from miodvallat/dentist
Miod Vallat [Thu, 11 Sep 2025 12:09:12 +0000 (14:09 +0200)] 
Merge pull request #16040 from miodvallat/dentist

rest api: better report ill-formed zone data

3 weeks agoMerge pull request #15873 from miodvallat/tsigsegv
Miod Vallat [Thu, 11 Sep 2025 12:03:36 +0000 (14:03 +0200)] 
Merge pull request #15873 from miodvallat/tsigsegv

TSIG metadata tweaks

3 weeks agoMerge pull request #16111 from miodvallat/error_with_style
Miod Vallat [Thu, 11 Sep 2025 12:01:33 +0000 (14:01 +0200)] 
Merge pull request #16111 from miodvallat/error_with_style

auth: try to improve some error messages

3 weeks agoAvoid the uuid crate, use the C++ code already available 16106/head
Otto Moerbeek [Thu, 11 Sep 2025 09:59:38 +0000 (11:59 +0200)] 
Avoid the uuid crate, use the C++ code already available

uuid pulls in some questionable deps

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoGive more details in error messages for invalid record contents. 16111/head
Miod Vallat [Thu, 11 Sep 2025 08:31:52 +0000 (10:31 +0200)] 
Give more details in error messages for invalid record contents.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoUpdate pdnsutil syntax in error/warning messages.
Miod Vallat [Thu, 11 Sep 2025 07:39:43 +0000 (09:39 +0200)] 
Update pdnsutil syntax in error/warning messages.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoUse getInnerRemote() to fix EDNS Cookie & Proxy protocol 16112/head
Jelle Kaufmann [Thu, 11 Sep 2025 11:07:09 +0000 (13:07 +0200)] 
Use getInnerRemote() to fix EDNS Cookie & Proxy protocol

3 weeks agoMerge pull request #16105 from Habbie/dnsproxy-big-endian
Peter van Dijk [Thu, 11 Sep 2025 09:07:38 +0000 (11:07 +0200)] 
Merge pull request #16105 from Habbie/dnsproxy-big-endian

dnsproxy: drop bogus endianness workaround

3 weeks agoMerge pull request #15386 from miodvallat/soap_opera
Miod Vallat [Thu, 11 Sep 2025 08:59:48 +0000 (10:59 +0200)] 
Merge pull request #15386 from miodvallat/soap_opera

[auth] make pdnsutil add-record perform the same checks as the REST API

3 weeks agoPrint port if != 53
Otto Moerbeek [Thu, 11 Sep 2025 07:08:28 +0000 (09:08 +0200)] 
Print port if != 53

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoMerge pull request #16109 from miodvallat/olways_delete_bugs_carefully
Miod Vallat [Wed, 10 Sep 2025 14:49:04 +0000 (16:49 +0200)] 
Merge pull request #16109 from miodvallat/olways_delete_bugs_carefully

auth: memory corruption in ODBC

3 weeks agoMake sure the type used for delete matches the type used for new. 16109/head
Miod Vallat [Wed, 10 Sep 2025 13:13:00 +0000 (15:13 +0200)] 
Make sure the type used for delete matches the type used for new.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoProcess comments from pieterlexis wrt tests
Otto Moerbeek [Wed, 10 Sep 2025 12:55:55 +0000 (14:55 +0200)] 
Process comments from pieterlexis wrt tests

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoMove timestamp() function to misc.cc
Otto Moerbeek [Wed, 10 Sep 2025 12:44:13 +0000 (14:44 +0200)] 
Move timestamp() function to misc.cc

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoProcess another set of review comments from pieterlexis
Otto Moerbeek [Wed, 10 Sep 2025 12:20:10 +0000 (14:20 +0200)] 
Process another set of review comments from pieterlexis

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoProcess review comment from pieterlexis: upgrade guide additions
Otto Moerbeek [Wed, 10 Sep 2025 12:03:13 +0000 (14:03 +0200)] 
Process review comment from pieterlexis: upgrade guide additions

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoMerge pull request #16103 from omoerbeek/rec-elaborate-passwordless
Otto Moerbeek [Wed, 10 Sep 2025 11:49:11 +0000 (13:49 +0200)] 
Merge pull request #16103 from omoerbeek/rec-elaborate-passwordless

rec: warn on passwordless webserver startup and extends docs