]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
7 weeks agoSort endpoints by name. NFCI
Miod Vallat [Fri, 12 Jun 2026 13:14:22 +0000 (15:14 +0200)] 
Sort endpoints by name. NFCI

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoAllow zone edit to work in non-interactive mode (!isatty(0)). 17567/head
Miod Vallat [Fri, 12 Jun 2026 12:50:02 +0000 (14:50 +0200)] 
Allow zone edit to work in non-interactive mode (!isatty(0)).

In this case, we will trust EDITOR to point to something able to edit
the zone file, and assume "no" to all prompts in case of warnings or errors.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoauth: set version in meson.build in autoconf make dist path 17563/head
Chris Hofstaedtler [Thu, 11 Jun 2026 12:36:18 +0000 (14:36 +0200)] 
auth: set version in meson.build in autoconf make dist path

Stopgap until auth switches to meson dist.

Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
7 weeks agoMerge pull request #17560 from rgacogne/ddist-action-by-name
Remi Gacogne [Thu, 11 Jun 2026 13:21:40 +0000 (15:21 +0200)] 
Merge pull request #17560 from rgacogne/ddist-action-by-name

dnsdist: Add "ByName" support for YAML actions

7 weeks agoMerge pull request #17559 from rgacogne/ddist-fix-named-and-or-not-selectors
Remi Gacogne [Thu, 11 Jun 2026 12:58:31 +0000 (14:58 +0200)] 
Merge pull request #17559 from rgacogne/ddist-fix-named-and-or-not-selectors

dnsdist: Fix naming And, Or and Not selectors, Continue action from YAML

7 weeks agoMerge pull request #17387 from esensar/feature/mmdbkvstore
Remi Gacogne [Thu, 11 Jun 2026 12:57:50 +0000 (14:57 +0200)] 
Merge pull request #17387 from esensar/feature/mmdbkvstore

dnsdist: add MMDB KV store

7 weeks agoPut LOC default values in member initializers.
Miod Vallat [Thu, 11 Jun 2026 12:34:28 +0000 (14:34 +0200)] 
Put LOC default values in member initializers.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoRewrite the LOC parser with something more strict and more readable.
Miod Vallat [Thu, 11 Jun 2026 11:06:51 +0000 (13:06 +0200)] 
Rewrite the LOC parser with something more strict and more readable.

The existing code was copied from the LOC RFC.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agodnsdist: Tell ruff to shup up 17560/head
Remi Gacogne [Thu, 11 Jun 2026 09:45:44 +0000 (11:45 +0200)] 
dnsdist: Tell ruff to shup up

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: Add "ByName" support for YAML actions
Remi Gacogne [Thu, 11 Jun 2026 09:10:15 +0000 (11:10 +0200)] 
dnsdist: Add "ByName" support for YAML actions

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoMerge pull request #17549 from karelbilek/kb/doh-fix-dohtobackend
Remi Gacogne [Thu, 11 Jun 2026 08:35:27 +0000 (10:35 +0200)] 
Merge pull request #17549 from karelbilek/kb/doh-fix-dohtobackend

dnsdist: don't close DoH on timeout, do on release

7 weeks agodnsdist: Fix naming Continue action from YAML 17559/head
Remi Gacogne [Thu, 11 Jun 2026 08:13:24 +0000 (10:13 +0200)] 
dnsdist: Fix naming Continue action from YAML

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: Fix naming And, Or and Not selectors from YAML
Remi Gacogne [Thu, 11 Jun 2026 08:12:55 +0000 (10:12 +0200)] 
dnsdist: Fix naming And, Or and Not selectors from YAML

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoMerge pull request #17535 from omoerbeek/rec-priv-ywh-250-ws-rust-origin
Otto Moerbeek [Thu, 11 Jun 2026 05:27:17 +0000 (07:27 +0200)] 
Merge pull request #17535 from omoerbeek/rec-priv-ywh-250-ws-rust-origin

rec: only set ACCESS_CONTROL_ALLOW_ORIGIN if auth succeeded (#YWH-PGM-6095-250)

7 weeks agoMerge pull request #17554 from omoerbeek/protozero-order
Otto Moerbeek [Wed, 10 Jun 2026 14:03:47 +0000 (16:03 +0200)] 
Merge pull request #17554 from omoerbeek/protozero-order

protozero: extend test to determine endianess

7 weeks agodnsdist: remove unused iostatehandler add function 17556/head
Karel Bilek [Wed, 10 Jun 2026 14:01:08 +0000 (16:01 +0200)] 
dnsdist: remove unused iostatehandler add function

Signed-off-by: Karel Bilek <kb@karelbilek.com>
7 weeks agodnsdist: TCP multiplexer: update should reset ttd
Karel Bilek [Wed, 10 Jun 2026 12:59:21 +0000 (14:59 +0200)] 
dnsdist: TCP multiplexer: update should reset ttd

Fixes #17555

Signed-off-by: Karel Bilek <kb@karelbilek.com>
7 weeks agoMerge pull request #17547 from arthurscchan/add-new-fuzzer
Pieter Lexis [Wed, 10 Jun 2026 09:38:45 +0000 (11:38 +0200)] 
Merge pull request #17547 from arthurscchan/add-new-fuzzer

OSS-Fuzz: Add new fuzzer targets record handling

7 weeks agodnsdist: don't close DoH on timeout, do on release 17549/head
Karel Bilek [Tue, 9 Jun 2026 10:17:24 +0000 (12:17 +0200)] 
dnsdist: don't close DoH on timeout, do on release

Currently, dnsdist closes outgoing DoH on receive
timeout, instead of keeping TCP connection alive.

On the other hand, when DoH max idle time is
reached, the connection is not closed properly and
the filedescriptor is not properly closed.

The second issue was hard to reach before, as
cleanup interval would need to be lower than TCP
read timeout.

There is a new testcase for this, which needed
slight refactor of test DoH threads.

Signed-off-by: Karel Bilek <kb@karelbilek.com>
7 weeks agoprotozero: extend test to determine endianess 17554/head
Otto Moerbeek [Wed, 10 Jun 2026 08:39:38 +0000 (10:39 +0200)] 
protozero: extend test to determine endianess

By using symbols defined by modern compilers

7 weeks agoMerge pull request #17550 from rgacogne/auth-fix-meson-build_root-warning
Remi Gacogne [Wed, 10 Jun 2026 06:18:11 +0000 (08:18 +0200)] 
Merge pull request #17550 from rgacogne/auth-fix-meson-build_root-warning

auth: Fix deprecated "meson.build_root" warning

7 weeks agoMerge pull request #17553 from zeha/auth-meson-test
Miod Vallat [Wed, 10 Jun 2026 05:59:31 +0000 (07:59 +0200)] 
Merge pull request #17553 from zeha/auth-meson-test

auth: meson: avoid having boost_test_framework in all programs

7 weeks agoauth: meson: avoid having boost_test_framework in all programs 17553/head
Chris Hofstaedtler [Tue, 9 Jun 2026 20:28:31 +0000 (22:28 +0200)] 
auth: meson: avoid having boost_test_framework in all programs

Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
7 weeks agoMerge pull request #17551 from manuelm/master
Miod Vallat [Tue, 9 Jun 2026 20:00:42 +0000 (22:00 +0200)] 
Merge pull request #17551 from manuelm/master

auth: declare enable-lua-record-updates unconditionally

7 weeks agoUpdate pdns/auth-main.cc 17551/head
Manuel Mausz [Tue, 9 Jun 2026 12:51:11 +0000 (12:51 +0000)] 
Update pdns/auth-main.cc

fix comment.

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Signed-off-by: Manuel Mausz <manuel@mausz.at>
7 weeks agoauth: declare enable-lua-record-updates unconditionally
Manuel Mausz [Tue, 9 Jun 2026 12:40:41 +0000 (14:40 +0200)] 
auth: declare enable-lua-record-updates unconditionally

The Lua record update restrictions added in #17131 rely on the
enable-lua-record-updates setting. When built without Lua record support,
this setting is not defined, causing errors like:

Undefined but needed argument: 'enable-lua-record-updates'

Add the setting unconditionally.

Signed-off-by: Manuel Mausz <manuel@mausz.at>
7 weeks agofuzzing: Silence clang-tidy warning about a global variable we don't control 17547/head
Remi Gacogne [Tue, 9 Jun 2026 12:22:27 +0000 (14:22 +0200)] 
fuzzing: Silence clang-tidy warning about a global variable we don't control

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoauth: Fix deprecated "meson.build_root" warning 17550/head
Remi Gacogne [Tue, 9 Jun 2026 11:54:55 +0000 (13:54 +0200)] 
auth: Fix deprecated "meson.build_root" warning

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agofuzzing: Fix formatting of the recordcontent target
Remi Gacogne [Tue, 9 Jun 2026 11:50:37 +0000 (13:50 +0200)] 
fuzzing: Fix formatting of the recordcontent target

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agofuzzing: Fix clang-tidy warnings in the recordcontent target
Remi Gacogne [Tue, 9 Jun 2026 11:45:38 +0000 (13:45 +0200)] 
fuzzing: Fix clang-tidy warnings in the recordcontent target

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agofuzzing: Build the new recordcontent target with meson
Remi Gacogne [Tue, 9 Jun 2026 11:45:14 +0000 (13:45 +0200)] 
fuzzing: Build the new recordcontent target with meson

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: add a wrapper type for `MMDBQueryParams` to prevent misuse 17387/head
Ensar Sarajčić [Wed, 3 Jun 2026 12:49:26 +0000 (14:49 +0200)] 
dnsdist: add a wrapper type for `MMDBQueryParams` to prevent misuse

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: simplify MMDB functions to always accept vector
Ensar Sarajčić [Wed, 3 Jun 2026 07:23:52 +0000 (09:23 +0200)] 
dnsdist: simplify MMDB functions to always accept vector

The variant with just string is really just to make for an easier user
interface, but MMDB is not used directly, only through Lua functions or
KVS, so this keeps the same interface, but less branching in MMDB code.

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add more types in mmdb tests
Ensar Sarajčić [Tue, 2 Jun 2026 09:23:41 +0000 (11:23 +0200)] 
dnsdist: add more types in mmdb tests

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add top level access test for MMDB
Ensar Sarajčić [Tue, 2 Jun 2026 08:33:12 +0000 (10:33 +0200)] 
dnsdist: add top level access test for MMDB

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add MMDB regression tests with complex object access
Ensar Sarajčić [Mon, 1 Jun 2026 14:18:26 +0000 (16:18 +0200)] 
dnsdist: add MMDB regression tests with complex object access

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: Fix one more clang-tidy warning
Remi Gacogne [Thu, 28 May 2026 13:01:22 +0000 (15:01 +0200)] 
dnsdist: Fix one more clang-tidy warning

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: Fix clang-tidy warnings for the new MMDB code
Remi Gacogne [Thu, 28 May 2026 10:00:02 +0000 (12:00 +0200)] 
dnsdist: Fix clang-tidy warnings for the new MMDB code

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: add basic MMDB guide in docs
Ensar Sarajčić [Tue, 26 May 2026 13:08:38 +0000 (15:08 +0200)] 
dnsdist: add basic MMDB guide in docs

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: move MMDB feature flag to `mmdb.hh`
Ensar Sarajčić [Tue, 26 May 2026 08:51:00 +0000 (10:51 +0200)] 
dnsdist: move MMDB feature flag to `mmdb.hh`

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: feature flag "mmdb.hh" include in YAML conf
Ensar Sarajčić [Tue, 26 May 2026 07:37:30 +0000 (09:37 +0200)] 
dnsdist: feature flag "mmdb.hh" include in YAML conf

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add MMDB Lua and YAML variant tests
Ensar Sarajčić [Fri, 22 May 2026 09:52:42 +0000 (11:52 +0200)] 
dnsdist: add MMDB Lua and YAML variant tests

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: fix ordering of MMDB related imports
Ensar Sarajčić [Thu, 21 May 2026 14:58:54 +0000 (16:58 +0200)] 
dnsdist: fix ordering of MMDB related imports

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: expect MMDBKV in spell checker
Ensar Sarajčić [Wed, 20 May 2026 14:43:55 +0000 (16:43 +0200)] 
dnsdist: expect MMDBKV in spell checker

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: accept strings in `MMDB:query` and `MMDB:exists` for easier use
Ensar Sarajčić [Wed, 20 May 2026 13:56:31 +0000 (15:56 +0200)] 
dnsdist: accept strings in `MMDB:query` and `MMDB:exists` for easier use

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add MMDB docs
Ensar Sarajčić [Wed, 20 May 2026 13:22:05 +0000 (15:22 +0200)] 
dnsdist: add MMDB docs

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add basic MMDB regression tests
Ensar Sarajčić [Tue, 19 May 2026 16:52:58 +0000 (18:52 +0200)] 
dnsdist: add basic MMDB regression tests

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add mmdb to YAML configuration
Ensar Sarajčić [Tue, 19 May 2026 08:53:21 +0000 (10:53 +0200)] 
dnsdist: add mmdb to YAML configuration

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add mmdb functions to console completion
Ensar Sarajčić [Tue, 19 May 2026 07:37:49 +0000 (09:37 +0200)] 
dnsdist: add mmdb functions to console completion

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: replace specific MMDB queries with a single generic query
Ensar Sarajčić [Mon, 22 Dec 2025 13:33:58 +0000 (14:33 +0100)] 
dnsdist: replace specific MMDB queries with a single generic query

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add lua bindings for MMDB
Ensar Sarajčić [Fri, 19 Dec 2025 13:18:41 +0000 (14:18 +0100)] 
dnsdist: add lua bindings for MMDB

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add MMDBKVStore lua bindings
Ensar Sarajčić [Thu, 18 Dec 2025 17:44:53 +0000 (18:44 +0100)] 
dnsdist: add MMDBKVStore lua bindings

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add MMDBKVStore impl
Ensar Sarajčić [Thu, 18 Dec 2025 17:36:02 +0000 (18:36 +0100)] 
dnsdist: add MMDBKVStore impl

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agodnsdist: add MMDB class impl
Ensar Sarajčić [Thu, 18 Dec 2025 17:35:16 +0000 (18:35 +0100)] 
dnsdist: add MMDB class impl

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
7 weeks agoMerge pull request #17543 from rgacogne/ddist-parse-cname-exception-ywh-258
Remi Gacogne [Tue, 9 Jun 2026 07:39:54 +0000 (09:39 +0200)] 
Merge pull request #17543 from rgacogne/ddist-parse-cname-exception-ywh-258

dnsdist: Catch exceptions when parsing CNAME via the Lua FFI API

7 weeks agoMerge pull request #17548 from romeroalx/update-ci-auth-51
Remi Gacogne [Tue, 9 Jun 2026 07:17:35 +0000 (09:17 +0200)] 
Merge pull request #17548 from romeroalx/update-ci-auth-51

gh actions: added rel/auth-5.1.x and rel/dnsdist-2.1.x to scheduled tests

7 weeks agoMerge pull request #17546 from miodvallat/computerswereamistake
Remi Gacogne [Tue, 9 Jun 2026 07:12:01 +0000 (09:12 +0200)] 
Merge pull request #17546 from miodvallat/computerswereamistake

auth: give even more slack to the IfurlupMinimumFailures test

7 weeks agogh actions: added rel/auth-5.1.x and rel/dnsdist-2.1.x. Removed old ones 17548/head
romeroalx [Tue, 9 Jun 2026 05:53:11 +0000 (07:53 +0200)] 
gh actions: added rel/auth-5.1.x and rel/dnsdist-2.1.x. Removed old ones

8 weeks agodnsdist: add mmdb feature flag
Ensar Sarajčić [Thu, 18 Dec 2025 11:22:54 +0000 (12:22 +0100)] 
dnsdist: add mmdb feature flag

Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
8 weeks agoOSS-Fuzz: Add new fuzzer targets record handling
Arthur Chan [Mon, 8 Jun 2026 20:29:10 +0000 (21:29 +0100)] 
OSS-Fuzz: Add new fuzzer targets record handling

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
8 weeks agoauth docs lmdb: footnote about 5.1.x schema usage
Peter van Dijk [Mon, 8 Jun 2026 17:56:52 +0000 (19:56 +0200)] 
auth docs lmdb: footnote about 5.1.x schema usage

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
8 weeks agoauth meson: add html-docs target
Peter van Dijk [Mon, 8 Jun 2026 17:56:42 +0000 (19:56 +0200)] 
auth meson: add html-docs target

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
8 weeks agoMerge pull request #17544 from rgacogne/ddist-more-ffi-exception-hardening
Remi Gacogne [Mon, 8 Jun 2026 14:38:29 +0000 (16:38 +0200)] 
Merge pull request #17544 from rgacogne/ddist-more-ffi-exception-hardening

dnsdist: Do not let exceptions cross the FFI boundary

8 weeks agoGive even more slack to the IfurlupMinimumFailures test. 17546/head
Miod Vallat [Mon, 8 Jun 2026 13:54:40 +0000 (15:54 +0200)] 
Give even more slack to the IfurlupMinimumFailures test.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agodnsdist: Do not let exceptions cross the FFI boundary 17544/head
Remi Gacogne [Tue, 5 May 2026 13:08:36 +0000 (15:08 +0200)] 
dnsdist: Do not let exceptions cross the FFI boundary

As we learned that on at least some ARM platforms "External frame unwinding"
is not available / working well.
None of these changes should be a security issue as they should not be triggerable
via attacker-controlled data, but they will make debugging of flawed Lua code easier.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Log packet bytes after failing to parse a CNAME from them 17543/head
Remi Gacogne [Mon, 8 Jun 2026 13:54:29 +0000 (15:54 +0200)] 
dnsdist: Log packet bytes after failing to parse a CNAME from them

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17536 from miodvallat/axfrdam
Miod Vallat [Mon, 8 Jun 2026 12:55:12 +0000 (14:55 +0200)] 
Merge pull request #17536 from miodvallat/axfrdam

auth: stricter lmdb AXFR checks

8 weeks agoMerge pull request #17538 from karelbilek/kb/fix-udp
Pieter Lexis [Mon, 8 Jun 2026 12:37:36 +0000 (14:37 +0200)] 
Merge pull request #17538 from karelbilek/kb/fix-udp

fix: dnsdist drops responses without HAVE_DNSCRYPT

8 weeks agoMerge pull request #17537 from miodvallat/911
Peter van Dijk [Mon, 8 Jun 2026 10:59:40 +0000 (12:59 +0200)] 
Merge pull request #17537 from miodvallat/911

auth: documentation and secpoll bits for 5.1.1

8 weeks agodnsdist: Clear DoH3 buffers when processing a stream triggered an exception 17601/head
Remi Gacogne [Fri, 10 Apr 2026 12:05:30 +0000 (14:05 +0200)] 
dnsdist: Clear DoH3 buffers when processing a stream triggered an exception

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Properly handle exceptions when decoding DoH paths
Remi Gacogne [Fri, 10 Apr 2026 12:04:37 +0000 (14:04 +0200)] 
dnsdist: Properly handle exceptions when decoding DoH paths

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Fix handling of trailing whitespaces in base64 content
Remi Gacogne [Fri, 10 Apr 2026 12:03:56 +0000 (14:03 +0200)] 
dnsdist: Fix handling of trailing whitespaces in base64 content

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agofix: dnsdist drops responses without HAVE_DNSCRYPT 17538/head
Karel Bilek [Mon, 8 Jun 2026 10:01:10 +0000 (12:01 +0200)] 
fix: dnsdist drops responses without HAVE_DNSCRYPT

Signed-off-by: Karel Bilek <kb@karelbilek.com>
8 weeks agoauth: meson: fix missing symbols for backend dylibs 16702/head
Chris Hofstaedtler [Tue, 6 Jan 2026 22:23:10 +0000 (23:23 +0100)] 
auth: meson: fix missing symbols for backend dylibs

Auth backends can be built as dynamic libraries. In the autoconf build,
such backends expect pdns_server to provide all symbols they need
(including sqlite3 for gsqlite3, gsqlbackend* for the gsql*backends,
bindlexer for the bindbackend).

Previously gsqlbackend.cc was in common_sources, thus libpdns-common.
While pdns_server and pdnsutil link libpdns-common, they do so using
link_with. This commit moves gsqlbackend.cc into a libpdns-sqlbackend,
which gets linked using link_whole. Thus the symbols appear in
pdns_server and pdnsutil and are not discarded.

Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
8 weeks agoDocumentation and secpoll bits for 5.1.1 17537/head
Miod Vallat [Mon, 8 Jun 2026 09:31:01 +0000 (11:31 +0200)] 
Documentation and secpoll bits for 5.1.1

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoIf EDNS is mandatory, do it always in the first iteration (#YWH-PGM6095-290) 17609/head
Otto Moerbeek [Wed, 6 May 2026 08:09:13 +0000 (10:09 +0200)] 
If EDNS is mandatory, do it always in the first iteration (#YWH-PGM6095-290)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoCheck that all secondary zones have their timestamp updated after AXFR. 17536/head
Miod Vallat [Mon, 8 Jun 2026 08:24:38 +0000 (10:24 +0200)] 
Check that all secondary zones have their timestamp updated after AXFR.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agorec: only set ACCESS_CONTROL_ALLOW_ORIGIN if auth succeeded (#YWH-PGM6095-250) 17535/head
Otto Moerbeek [Thu, 23 Apr 2026 08:28:25 +0000 (10:28 +0200)] 
rec: only set ACCESS_CONTROL_ALLOW_ORIGIN if auth succeeded (#YWH-PGM6095-250)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMake some test failures more visible in stdout.
Miod Vallat [Mon, 8 Jun 2026 07:02:42 +0000 (09:02 +0200)] 
Make some test failures more visible in stdout.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoMerge pull request #17503 from rgacogne/ddist-tls-ecdhe-curves
Remi Gacogne [Mon, 8 Jun 2026 07:02:11 +0000 (09:02 +0200)] 
Merge pull request #17503 from rgacogne/ddist-tls-ecdhe-curves

dnsdist: Add support for setting TLS ECHDE curves

8 weeks agoAdd a defense against invalid input, which should not trigger anymore.
Miod Vallat [Mon, 8 Jun 2026 06:21:12 +0000 (08:21 +0200)] 
Add a defense against invalid input, which should not trigger anymore.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoAnnotate cases where we build DNSZoneRecord with domain_id not known.
Miod Vallat [Wed, 18 Feb 2026 11:59:35 +0000 (12:59 +0100)] 
Annotate cases where we build DNSZoneRecord with domain_id not known.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoInitialize domain_id fields of synthesized records whenever possible.
Miod Vallat [Wed, 18 Feb 2026 11:58:55 +0000 (12:58 +0100)] 
Initialize domain_id fields of synthesized records whenever possible.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoFactor code responsible for the NSEC{,3} QType bitmap computation.
Miod Vallat [Mon, 16 Feb 2026 14:27:55 +0000 (15:27 +0100)] 
Factor code responsible for the NSEC{,3} QType bitmap computation.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoRemove deceased, long dead code which is not alive.
Miod Vallat [Mon, 16 Feb 2026 16:00:05 +0000 (17:00 +0100)] 
Remove deceased, long dead code which is not alive.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoMerge pull request #17533 from zeha/auth-meson-doc
Miod Vallat [Mon, 8 Jun 2026 06:11:18 +0000 (08:11 +0200)] 
Merge pull request #17533 from zeha/auth-meson-doc

auth: meson: install module_resources into /usr/share/doc/pdns

8 weeks agoauth: meson: install module_resources into /usr/share/doc/pdns 17533/head
Chris Hofstaedtler [Sun, 7 Jun 2026 21:58:12 +0000 (23:58 +0200)] 
auth: meson: install module_resources into /usr/share/doc/pdns

This mirrors what the autoconf build does.

Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
8 weeks agoMerge pull request #17523 from miodvallat/morebrainless
Peter van Dijk [Sat, 6 Jun 2026 19:15:32 +0000 (21:15 +0200)] 
Merge pull request #17523 from miodvallat/morebrainless

auth lmdb: correctly update timestamps in non-split domain table mode

8 weeks agoremote logger: Reconnect if writes have been stalled for too long
Remi Gacogne [Fri, 5 Jun 2026 09:33:22 +0000 (11:33 +0200)] 
remote logger: Reconnect if writes have been stalled for too long

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17521 from rgacogne/ddist-fix-statnode-fullname-ffi
Remi Gacogne [Fri, 5 Jun 2026 06:49:16 +0000 (08:49 +0200)] 
Merge pull request #17521 from rgacogne/ddist-fix-statnode-fullname-ffi

dnsdist: Prevent an exception when accessing an empty StatNode

8 weeks agoMerge pull request #17525 from Habbie/ednsoptions-string
Miod Vallat [Fri, 5 Jun 2026 06:04:47 +0000 (08:04 +0200)] 
Merge pull request #17525 from Habbie/ednsoptions-string

ednsoptions.hh: #include <string>

8 weeks agoednsoptions.hh: #include <string> 17525/head
Peter van Dijk [Thu, 4 Jun 2026 20:14:19 +0000 (22:14 +0200)] 
ednsoptions.hh: #include <string>

gcc-17 (or its libstdc++) is stricter about includes and needs this

closes #17524

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
8 weeks agodnsdist: Fix inconsistent quoting in the documentation 17503/head
Remi Gacogne [Thu, 4 Jun 2026 14:50:39 +0000 (16:50 +0200)] 
dnsdist: Fix inconsistent quoting in the documentation

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agolibssl: Use `SSL_CTX_set1_groups_list` instead of `SSL_CTX_set1_curves_list`
Remi Gacogne [Thu, 4 Jun 2026 14:50:14 +0000 (16:50 +0200)] 
libssl: Use `SSL_CTX_set1_groups_list` instead of `SSL_CTX_set1_curves_list`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17502 from omoerbeek/rec-zap-autotools
Otto Moerbeek [Thu, 4 Jun 2026 14:44:21 +0000 (16:44 +0200)] 
Merge pull request #17502 from omoerbeek/rec-zap-autotools

rec: zap autotools as build system

8 weeks agodnsdist: Fix compilation of the FFI unit tests when dynblock support is off 17521/head
Remi Gacogne [Thu, 4 Jun 2026 13:08:11 +0000 (15:08 +0200)] 
dnsdist: Fix compilation of the FFI unit tests when dynblock support is off

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Add unit tests for the FFI inspection API
Remi Gacogne [Thu, 4 Jun 2026 11:15:07 +0000 (13:15 +0200)] 
dnsdist: Add unit tests for the FFI inspection API

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Prevent an exception when accessing an empty StatName
Remi Gacogne [Thu, 4 Jun 2026 10:18:38 +0000 (12:18 +0200)] 
dnsdist: Prevent an exception when accessing an empty StatName

We fixed it for the regular interface in bd21d60 but overlooked
the FFI one.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #17520 from romeroalx/bump-requests-dependabot
Otto Moerbeek [Thu, 4 Jun 2026 14:06:53 +0000 (16:06 +0200)] 
Merge pull request #17520 from romeroalx/bump-requests-dependabot

dependabot/195: bump version of python3 requests to >=2.33.0 in `builder-support/requirements.txt`

8 weeks agoCrude test to check notification timestamp is updated after initial AXFR 17523/head
Miod Vallat [Thu, 4 Jun 2026 13:28:07 +0000 (15:28 +0200)] 
Crude test to check notification timestamp is updated after initial AXFR

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>