]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
76 min agoMerge pull request #17578 from rgacogne/fix-clang-tidy-newly-created-files master
Remi Gacogne [Fri, 19 Jun 2026 09:25:40 +0000 (11:25 +0200)] 
Merge pull request #17578 from rgacogne/fix-clang-tidy-newly-created-files

clang-tidy: Properly process newly created files

20 hours agoMerge pull request #17576 from karelbilek/kb/readmes
Remi Gacogne [Thu, 18 Jun 2026 13:44:06 +0000 (15:44 +0200)] 
Merge pull request #17576 from karelbilek/kb/readmes

dnsdist: Fix build readme - link, meson, mac brew

23 hours agoMerge pull request #17556 from karelbilek/kb/doh-fix-doh
Remi Gacogne [Thu, 18 Jun 2026 11:28:25 +0000 (13:28 +0200)] 
Merge pull request #17556 from karelbilek/kb/doh-fix-doh

dnsdist: TCP multiplexer: update should reset ttd

23 hours agoMerge pull request #17575 from hector-cao/fix-armhf-build
Remi Gacogne [Thu, 18 Jun 2026 11:19:33 +0000 (13:19 +0200)] 
Merge pull request #17575 from hector-cao/fix-armhf-build

dnsdist: fix build error on 32 bits systems (armhf, ...)

25 hours agoMerge pull request #17577 from arthurscchan/new-fuzzer-3
Remi Gacogne [Thu, 18 Jun 2026 08:47:57 +0000 (10:47 +0200)] 
Merge pull request #17577 from arthurscchan/new-fuzzer-3

OSS-Fuzz: Add fuzzer targets dnsdist logic

26 hours agoci: Fix `ValueError: I/O operation on closed file` in clang-tidy.py 17578/head
Remi Gacogne [Tue, 16 Jun 2026 15:02:38 +0000 (17:02 +0200)] 
ci: Fix `ValueError: I/O operation on closed file` in clang-tidy.py

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
26 hours agoclang-tidy: Properly process newly created files
Remi Gacogne [Mon, 15 Jun 2026 07:38:40 +0000 (09:38 +0200)] 
clang-tidy: Properly process newly created files

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
40 hours agoOSS-Fuzz: Add fuzzer targets dnsdist logic 17577/head
Arthur Chan [Wed, 17 Jun 2026 17:47:54 +0000 (18:47 +0100)] 
OSS-Fuzz: Add fuzzer targets dnsdist logic

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
47 hours agodnsdist: Fix build readme - link, meson, mac brew 17576/head
Karel Bilek [Wed, 17 Jun 2026 10:57:02 +0000 (12:57 +0200)] 
dnsdist: Fix build readme - link, meson, mac brew

I have tested mac brew instructions on a fresh Mac VM.

Signed-off-by: Karel Bilek <kb@karelbilek.com>
2 days agodnsdist: fix build error on 32 bits systems (armhf, ...) 17575/head
Hector Cao [Tue, 16 Jun 2026 13:56:25 +0000 (15:56 +0200)] 
dnsdist: fix build error on 32 bits systems (armhf, ...)

The YAML configuration field cache.size is a uint64_t, while
DNSDistPacketCache::CacheSettings::d_maxEntries is a size_t. On 32-bit
architectures (e.g. armhf) size_t is 32-bit, so the designated-initializer
assignment is a narrowing conversion, which clang rejects with
-Wc++11-narrowing. Cast explicitly to size_t.

Signed-off-by: Hector Cao <hector.cao@canonical.com>
3 days agoMerge pull request #17572 from arthurscchan/new-fuzzer-2
Remi Gacogne [Tue, 16 Jun 2026 10:30:46 +0000 (12:30 +0200)] 
Merge pull request #17572 from arthurscchan/new-fuzzer-2

OSS-Fuzz: Add new fuzzer for dns packet processing

3 days agofuzz_dnspacketroundtrip: Fix clang-tidy warnings 17572/head
Remi Gacogne [Tue, 16 Jun 2026 09:57:22 +0000 (11:57 +0200)] 
fuzz_dnspacketroundtrip: Fix clang-tidy warnings

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 days agofuzz: Build the new dnspacketroundtrip target with meson
Remi Gacogne [Tue, 16 Jun 2026 09:33:20 +0000 (11:33 +0200)] 
fuzz: Build the new dnspacketroundtrip target with meson

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 days agoMerge pull request #16518 from jsoref/codeql-pep8-first-argument-should-be-self
Pieter Lexis [Tue, 16 Jun 2026 05:48:33 +0000 (07:48 +0200)] 
Merge pull request #16518 from jsoref/codeql-pep8-first-argument-should-be-self

codeql PEP8 first argument should be self

3 days agoMerge pull request #17569 from zeha/meson-dist
Remi Gacogne [Mon, 15 Jun 2026 12:27:03 +0000 (14:27 +0200)] 
Merge pull request #17569 from zeha/meson-dist

auth: initial meson dist script

3 days agoMerge pull request #16702 from zeha/dynamic-mods
Remi Gacogne [Mon, 15 Jun 2026 12:26:10 +0000 (14:26 +0200)] 
Merge pull request #16702 from zeha/dynamic-mods

auth: meson: fix missing symbols for dynamic backends

3 days agoMerge pull request #17571 from jsoref/use-ubuntu-keyserver
Miod Vallat [Mon, 15 Jun 2026 11:39:11 +0000 (13:39 +0200)] 
Merge pull request #17571 from jsoref/use-ubuntu-keyserver

docs: replace mit keyserver with ubuntu

4 days agoMerge pull request #17573 from miodvallat/rcpeit
Miod Vallat [Mon, 15 Jun 2026 09:36:51 +0000 (11:36 +0200)] 
Merge pull request #17573 from miodvallat/rcpeit

auth: minor SVCB record parsing fixes

4 days agoMerge pull request #17562 from miodvallat/whereami
Miod Vallat [Mon, 15 Jun 2026 09:36:39 +0000 (11:36 +0200)] 
Merge pull request #17562 from miodvallat/whereami

auth: stricter LOC record parsing

4 days agoDo not assume char is unsigned when parsing SVCB records off the wire. 17573/head
Miod Vallat [Mon, 15 Jun 2026 07:59:05 +0000 (09:59 +0200)] 
Do not assume char is unsigned when parsing SVCB records off the wire.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 days agoci: Add action to check for "self" 16518/head
Pieter Lexis [Wed, 3 Jun 2026 09:11:19 +0000 (11:11 +0200)] 
ci: Add action to check for "self"

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `classmethod` ClientSubnetOption.from_wire
Josh Soref [Mon, 17 Nov 2025 13:30:59 +0000 (08:30 -0500)] 
Mark `classmethod` ClientSubnetOption.from_wire

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `classmethod` ClientSubnetOption.from_wire
Josh Soref [Mon, 17 Nov 2025 13:30:33 +0000 (08:30 -0500)] 
Mark `classmethod` ClientSubnetOption.from_wire

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `classmethod` CookiesOption.from_wire
Josh Soref [Mon, 17 Nov 2025 13:30:06 +0000 (08:30 -0500)] 
Mark `classmethod` CookiesOption.from_wire

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `classmethod` ExtendedErrorOption.from_wire
Josh Soref [Mon, 17 Nov 2025 13:29:47 +0000 (08:29 -0500)] 
Mark `classmethod` ExtendedErrorOption.from_wire

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `classmethod` PaddingOption.from_wire
Josh Soref [Mon, 17 Nov 2025 13:29:15 +0000 (08:29 -0500)] 
Mark `classmethod` PaddingOption.from_wire

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.NoSVCCallback
Josh Soref [Mon, 17 Nov 2025 13:28:25 +0000 (08:28 -0500)] 
Mark `staticmethod` TestBackendDiscovery.NoSVCCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.NoUpgradePathCallback
Josh Soref [Mon, 17 Nov 2025 13:28:09 +0000 (08:28 -0500)] 
Mark `staticmethod` TestBackendDiscovery.NoUpgradePathCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoTCallback
Josh Soref [Mon, 17 Nov 2025 13:27:51 +0000 (08:27 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoTCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoHCallback
Josh Soref [Mon, 17 Nov 2025 13:27:28 +0000 (08:27 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoHCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoTDifferentAddr1Callback
Josh Soref [Mon, 17 Nov 2025 13:27:06 +0000 (08:27 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoTDifferentAddr1Callback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoTDifferentAddr2Callback
Josh Soref [Mon, 17 Nov 2025 13:26:31 +0000 (08:26 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoTDifferentAddr2Callback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoTUnreachableCallback
Josh Soref [Mon, 17 Nov 2025 13:26:09 +0000 (08:26 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoTUnreachableCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.BrokenResponseCallback
Josh Soref [Mon, 17 Nov 2025 13:25:35 +0000 (08:25 -0500)] 
Mark `staticmethod` TestBackendDiscovery.BrokenResponseCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoHMissingPathCallback
Josh Soref [Mon, 17 Nov 2025 13:25:13 +0000 (08:25 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoHMissingPathCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.EOFCallback
Josh Soref [Mon, 17 Nov 2025 13:24:48 +0000 (08:24 -0500)] 
Mark `staticmethod` TestBackendDiscovery.EOFCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.ServFailCallback
Josh Soref [Mon, 17 Nov 2025 13:23:51 +0000 (08:23 -0500)] 
Mark `staticmethod` TestBackendDiscovery.ServFailCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.WrongNameCallback
Josh Soref [Mon, 17 Nov 2025 13:23:11 +0000 (08:23 -0500)] 
Mark `staticmethod` TestBackendDiscovery.WrongNameCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.WrongIDCallback
Josh Soref [Mon, 17 Nov 2025 13:22:49 +0000 (08:22 -0500)] 
Mark `staticmethod` TestBackendDiscovery.WrongIDCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.TooManyQuestionsCallback
Josh Soref [Mon, 17 Nov 2025 13:22:24 +0000 (08:22 -0500)] 
Mark `staticmethod` TestBackendDiscovery.TooManyQuestionsCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.BadQNameCallback
Josh Soref [Mon, 17 Nov 2025 13:22:00 +0000 (08:22 -0500)] 
Mark `staticmethod` TestBackendDiscovery.BadQNameCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoTNoPortCallback
Josh Soref [Mon, 17 Nov 2025 13:20:59 +0000 (08:20 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoTNoPortCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestBackendDiscovery.UpgradeDoHNoPortCallback
Josh Soref [Mon, 17 Nov 2025 13:20:30 +0000 (08:20 -0500)] 
Mark `staticmethod` TestBackendDiscovery.UpgradeDoHNoPortCallback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestOutgoingDOHBrokenResponsesOpenSSL.callback
Josh Soref [Mon, 17 Nov 2025 13:16:21 +0000 (08:16 -0500)] 
Mark `staticmethod` TestOutgoingDOHBrokenResponsesOpenSSL.callback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestOutgoingDOHBrokenResponsesGnuTLS.callback
Josh Soref [Mon, 17 Nov 2025 13:15:51 +0000 (08:15 -0500)] 
Mark `staticmethod` TestOutgoingDOHBrokenResponsesGnuTLS.callback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` TestOutgoingDOHXForwarded.callback
Josh Soref [Mon, 17 Nov 2025 13:15:12 +0000 (08:15 -0500)] 
Mark `staticmethod` TestOutgoingDOHXForwarded.callback

Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMark `staticmethod` KeepOpenTCPTest.sendTCPQueryKeepOpen
Josh Soref [Mon, 17 Nov 2025 13:19:33 +0000 (08:19 -0500)] 
Mark `staticmethod` KeepOpenTCPTest.sendTCPQueryKeepOpen

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
4 days agoMove range checks before actual computations. 17562/head
Miod Vallat [Mon, 15 Jun 2026 07:54:43 +0000 (09:54 +0200)] 
Move range checks before actual computations.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 days agoOSS-Fuzz: Add new fuzzer for dns packet processing
Arthur Chan [Fri, 12 Jun 2026 16:28:32 +0000 (17:28 +0100)] 
OSS-Fuzz: Add new fuzzer for dns packet processing

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
6 days agodocs: replace mit keyserver with ubuntu 17571/head
Josh Soref [Fri, 12 Jun 2026 16:14:50 +0000 (12:14 -0400)] 
docs: replace mit keyserver with ubuntu

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
6 days agoauth: initial meson dist script 17569/head
Chris Hofstaedtler [Fri, 12 Jun 2026 14:43:26 +0000 (16:43 +0200)] 
auth: initial meson dist script

Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
6 days agoMerge pull request #17563 from zeha/auth-meson-version-stopgap
Remi Gacogne [Fri, 12 Jun 2026 14:23:40 +0000 (16:23 +0200)] 
Merge pull request #17563 from zeha/auth-meson-version-stopgap

auth: set version in meson.build in autoconf make dist path

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

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

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

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

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

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

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

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

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