]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
38 hours 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>
39 hours 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>
41 hours 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

42 hours 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 days 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 days 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 days 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

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

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

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

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

3 days 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>
3 days agoFix clang-tidy issues 15946/head
Ensar Sarajčić [Mon, 15 Sep 2025 10:08:22 +0000 (12:08 +0200)] 
Fix clang-tidy issues

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

3 days 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>
3 days 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>
3 days 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>
5 days 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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 days agoUpdate cargos for rec and dnsdist
Otto Moerbeek [Wed, 10 Sep 2025 07:59:35 +0000 (09:59 +0200)] 
Update cargos for rec and dnsdist

While there, add Cargo.* as dependency

Fixes #16101

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 days agoTypo 16103/head
Otto Moerbeek [Wed, 10 Sep 2025 07:33:30 +0000 (09:33 +0200)] 
Typo

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 days agorec: warn on passwordless webserver startup and extends docs
Otto Moerbeek [Tue, 9 Sep 2025 08:57:35 +0000 (10:57 +0200)] 
rec: warn on passwordless webserver startup and extends docs

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 days agoAdd test for API access to zone with invalid record content. 16040/head
Miod Vallat [Thu, 4 Sep 2025 15:08:04 +0000 (17:08 +0200)] 
Add test for API access to zone with invalid record content.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 days agoWhen stumbling upon ill-formed records, return HTTP 422 rather than 500.
Miod Vallat [Wed, 27 Aug 2025 08:46:24 +0000 (10:46 +0200)] 
When stumbling upon ill-formed records, return HTTP 422 rather than 500.

This allows the user to get a hopefully helpful error message to help
figure out the cause of the problem.

Fixes: #6673
Fixes: #7203
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 days agoBe sure to blame the new record when two records conflict. 15386/head
Miod Vallat [Wed, 10 Sep 2025 08:11:02 +0000 (10:11 +0200)] 
Be sure to blame the new record when two records conflict.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 days agoMake DNSResourceRecord::operator==() const.
Miod Vallat [Wed, 10 Sep 2025 08:10:08 +0000 (10:10 +0200)] 
Make DNSResourceRecord::operator==() const.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 days agoReturn all RRSet validation errors in json result rather than only the first.
Miod Vallat [Fri, 8 Aug 2025 11:05:31 +0000 (13:05 +0200)] 
Return all RRSet validation errors in json result rather than only the first.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 days agoBetter error reporting interface for checkRRSet().
Miod Vallat [Thu, 3 Apr 2025 05:44:22 +0000 (07:44 +0200)] 
Better error reporting interface for checkRRSet().

8 days agoTry to give more helpful information in checkRRSet errors.
Miod Vallat [Wed, 2 Apr 2025 12:34:21 +0000 (14:34 +0200)] 
Try to give more helpful information in checkRRSet errors.

8 days agoMake pdnsutil add-record use the same checks as the API.
Miod Vallat [Wed, 2 Apr 2025 10:58:36 +0000 (12:58 +0200)] 
Make pdnsutil add-record use the same checks as the API.

8 days agoMerge pull request #16107 from miodvallat/fragile
Miod Vallat [Wed, 10 Sep 2025 09:58:09 +0000 (11:58 +0200)] 
Merge pull request #16107 from miodvallat/fragile

auth: unbreak tests

8 days agoUnbreak auth test after TXT record handling changes merge. 16107/head
Miod Vallat [Wed, 10 Sep 2025 09:12:03 +0000 (11:12 +0200)] 
Unbreak auth test after TXT record handling changes merge.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 days agoMerge pull request #16087 from miodvallat/thin_ice
Miod Vallat [Wed, 10 Sep 2025 05:42:14 +0000 (07:42 +0200)] 
Merge pull request #16087 from miodvallat/thin_ice

auth: record contents handling changes

8 days agoMerge pull request #15994 from miodvallat/argonauts
Miod Vallat [Wed, 10 Sep 2025 05:38:46 +0000 (07:38 +0200)] 
Merge pull request #15994 from miodvallat/argonauts

REST API: normalize record contents received

9 days agoMerge pull request #15996 from romeroalx/build-merge-images-arch
Alexis Romero [Tue, 9 Sep 2025 12:34:28 +0000 (14:34 +0200)] 
Merge pull request #15996 from romeroalx/build-merge-images-arch

GH actions: Build images separately by architecture and then merge them. Use GH arm64 runners

9 days agodnsproxy: drop bogus endianness workaround 16105/head
Peter van Dijk [Tue, 9 Sep 2025 12:17:17 +0000 (14:17 +0200)] 
dnsproxy: drop bogus endianness workaround

9 days agobuild-docker-images.yml: cleanup generation of runner list. Thanks @habbie 15996/head
romeroalx [Tue, 9 Sep 2025 10:04:15 +0000 (12:04 +0200)] 
build-docker-images.yml: cleanup generation of runner list. Thanks @habbie

9 days agobuild-docker-images.yml: remove context variables from 'run:' sections. Thanks @jsoref
romeroalx [Mon, 25 Aug 2025 14:22:08 +0000 (16:22 +0200)] 
build-docker-images.yml: remove context variables from 'run:' sections. Thanks @jsoref

9 days agogh actions: build images separately by arch. Use gh arm64 runners
romeroalx [Wed, 20 Aug 2025 09:28:22 +0000 (11:28 +0200)] 
gh actions: build images separately by arch. Use gh arm64 runners

9 days agoMerge pull request #16100 from grinapo/lua-example
Peter van Dijk [Tue, 9 Sep 2025 09:00:38 +0000 (11:00 +0200)] 
Merge pull request #16100 from grinapo/lua-example

Add server lua example

9 days agoMerge pull request #16098 from omoerbeek/rec-skip-hash-ottraceid
Otto Moerbeek [Tue, 9 Sep 2025 06:25:03 +0000 (08:25 +0200)] 
Merge pull request #16098 from omoerbeek/rec-skip-hash-ottraceid

rec: do not hash (or compare) OpenTelemetry Trace EDNS value for packetcache

10 days agoAdd configuration example in comment to help the reader. 16100/head
Peter Gervai [Mon, 8 Sep 2025 17:57:25 +0000 (19:57 +0200)] 
Add configuration example in comment to help the reader.

10 days agoAdd pdns_server lua2 backend example.
Peter Gervai [Mon, 8 Sep 2025 17:53:33 +0000 (19:53 +0200)] 
Add pdns_server lua2 backend example.

10 days agoUpdate lua2.rst: dns_get_all_domains() args and notes update
Peter Gervai [Mon, 8 Sep 2025 16:10:20 +0000 (18:10 +0200)] 
Update lua2.rst: dns_get_all_domains() args and notes update

1. It requires `DNSName, domaininfo` pair instead of `string, domaininfo`
2. The function is definitely not optimal if one uses lua2 backend to serve a zone, since without it pdns will ignore the zone and requets will never reach this backend. Figuring this out __was__ painful.

Signed-off-by: Peter Gervai <grin@grin.hu>
10 days agoMerge pull request #16065 from rgacogne/ddist-test-configuration-reload
Remi Gacogne [Mon, 8 Sep 2025 14:53:53 +0000 (16:53 +0200)] 
Merge pull request #16065 from rgacogne/ddist-test-configuration-reload

dnsdist: Test that the configuration is correctly reloaded in various cases

10 days agoMerge pull request #16092 from pieterlexis/auth-meson-tests
Pieter Lexis [Mon, 8 Sep 2025 14:43:38 +0000 (16:43 +0200)] 
Merge pull request #16092 from pieterlexis/auth-meson-tests

auth: small meson improvements for testing

10 days agorec: do not hash (or compare) OpenTelemetry Trace EDNS value for packetcache 16098/head
Otto Moerbeek [Mon, 8 Sep 2025 14:24:06 +0000 (16:24 +0200)] 
rec: do not hash (or compare) OpenTelemetry Trace EDNS value for packetcache

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 days agoMerge pull request #16082 from rgacogne/ddist-fix-outgoing-doh-io-reentry-guard
Remi Gacogne [Mon, 8 Sep 2025 13:48:10 +0000 (15:48 +0200)] 
Merge pull request #16082 from rgacogne/ddist-fix-outgoing-doh-io-reentry-guard

dnsdist: Fix the IO reentry guard in outgoing DoH

10 days agoAllow quoted words to immediately follow non-quoted in text record contents. 16087/head
Miod Vallat [Mon, 8 Sep 2025 13:36:20 +0000 (15:36 +0200)] 
Allow quoted words to immediately follow non-quoted in text record contents.

Also reject \DDD escapes with a value larger than 8 bits.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
10 days agoMerge pull request #16083 from miodvallat/exoskeleton
Miod Vallat [Mon, 8 Sep 2025 13:13:51 +0000 (15:13 +0200)] 
Merge pull request #16083 from miodvallat/exoskeleton

LMDB: try to reduce the cost of the LS header

10 days agoMerge pull request #16094 from omoerbeek/rec-no-thread0
Otto Moerbeek [Mon, 8 Sep 2025 13:13:22 +0000 (15:13 +0200)] 
Merge pull request #16094 from omoerbeek/rec-no-thread0

rec: some error paths do no create thread 0 so don't join it

10 days agoMerge pull request #16090 from rgacogne/ddist-fix-frontend-access-in-client
Remi Gacogne [Mon, 8 Sep 2025 12:32:05 +0000 (14:32 +0200)] 
Merge pull request #16090 from rgacogne/ddist-fix-frontend-access-in-client

dnsdist: Fix access to frontends while in client mode

10 days agoSwitch to a slightly less confusing name. 16083/head
Miod Vallat [Mon, 8 Sep 2025 12:28:15 +0000 (14:28 +0200)] 
Switch to a slightly less confusing name.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
10 days agorec: some error paths do no create thread 0 so don't join it 16094/head
Otto Moerbeek [Mon, 8 Sep 2025 09:47:17 +0000 (11:47 +0200)] 
rec: some error paths do no create thread 0 so don't join it

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 days agoMerge pull request #16078 from rgacogne/add-exotic-distros-packages-dispatch
Remi Gacogne [Mon, 8 Sep 2025 09:37:27 +0000 (11:37 +0200)] 
Merge pull request #16078 from rgacogne/add-exotic-distros-packages-dispatch

Add a dispatch workflow to test package building for exotic distributions

10 days agofix(auth): set PDNS_BUILD_PATH when running tests 16092/head
Pieter Lexis [Fri, 5 Sep 2025 14:37:34 +0000 (16:37 +0200)] 
fix(auth): set PDNS_BUILD_PATH when running tests

10 days agofix(auth): Ensure socat is installed when enabling tests
Pieter Lexis [Fri, 5 Sep 2025 14:37:12 +0000 (16:37 +0200)] 
fix(auth): Ensure socat is installed when enabling tests

10 days agoMerge pull request #16085 from karelbilek/kb/test_lua_proxyprotocol
Remi Gacogne [Mon, 8 Sep 2025 08:18:32 +0000 (10:18 +0200)] 
Merge pull request #16085 from karelbilek/kb/test_lua_proxyprotocol

dnsdist: fix luaFFI proxy protocol regression test

10 days agoMerge pull request #16063 from jeremmfr/fix-case-sensitive-ixfrdist
Miod Vallat [Mon, 8 Sep 2025 05:52:47 +0000 (07:52 +0200)] 
Merge pull request #16063 from jeremmfr/fix-case-sensitive-ixfrdist

fix case sensitivity handling for IXFR requests in ixfrdist

13 days agoMerge pull request #16088 from rgacogne/ddist-add-regression-test-for-ede-without...
Remi Gacogne [Fri, 5 Sep 2025 14:49:57 +0000 (16:49 +0200)] 
Merge pull request #16088 from rgacogne/ddist-add-regression-test-for-ede-without-extra-text

dnsdist: Add a test for synthesizing EDE without text from Lua FFI

13 days agodnsdist: Fix access to frontends while in client mode 16090/head
Remi Gacogne [Fri, 5 Sep 2025 14:38:49 +0000 (16:38 +0200)] 
dnsdist: Fix access to frontends while in client mode

Since 2.0 we return `nil` instead of an object containing a `NULL`
pointer when the requested object does not exist, to make it possible
to check the validity of the returned object from `Lua`. It makes
sense in all contexts except when we are in client mode, because
then accessing the object in the remaining parts of the configuration
will trigger an error. Our DNS over HTTPS documentation itself contains
such a Lua configuration snippet, which is now broken.
This commit reverts back to sending an object containg a `NULL`
pointer when accessing the frontends in the client mode case.

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