]>
git.ipfire.org Git - thirdparty/pdns.git/log
Miod Vallat [Mon, 7 Apr 2025 10:12:07 +0000 (12:12 +0200)]
Better future-proof logic.
Miod Vallat [Thu, 3 Apr 2025 06:45:47 +0000 (08:45 +0200)]
Better error report when zone creation is not possible.
Fixes #5783
Fixes #6954
Miod Vallat [Thu, 3 Apr 2025 06:30:44 +0000 (08:30 +0200)]
Add a "can create domains" capability.
Miod Vallat [Mon, 31 Mar 2025 14:23:32 +0000 (16:23 +0200)]
Check backend capabilities before attempting some operations.
This allows us to give better error messages to the users.
Fixes: #15006
Miod Vallat [Mon, 31 Mar 2025 14:08:40 +0000 (16:08 +0200)]
Allow backends to report a coarse-grained capabilities mask.
The current capabilities are DNSSEC supports, comments, direct backend
commands, and zone listing (AXFR) ability.
doesDNSSEC() is rewritten as a trivial wrapper around this.
Otto Moerbeek [Fri, 28 Mar 2025 09:53:19 +0000 (10:53 +0100)]
Merge pull request #15373 from omoerbeek/rec-nod-meson
rec: [meson] make nod a feature instead of a boolean
Remi Gacogne [Fri, 28 Mar 2025 09:40:13 +0000 (10:40 +0100)]
Merge pull request #15290 from franklouwers/patch-1
Update actions.rst: `SpoofAction()`
Otto Moerbeek [Mon, 24 Mar 2025 08:35:29 +0000 (09:35 +0100)]
rec: make nod a feature instead of a boolean
Remi Gacogne [Fri, 28 Mar 2025 08:49:32 +0000 (09:49 +0100)]
Merge pull request #15362 from rgacogne/ddist-do-not-register-xsk-config-check-or-client
dnsdist: Do not register Xsk sockets on configuration check or client mode
Otto Moerbeek [Fri, 28 Mar 2025 08:41:44 +0000 (09:41 +0100)]
Merge pull request #15361 from omoerbeek/dnsdist-trixie2
dnsdist: followup to #15326 (fix build on trixie), package name typo crept in
Miod Vallat [Fri, 28 Mar 2025 08:33:57 +0000 (09:33 +0100)]
Merge pull request #15265 from tacerus/unixapi
Auth webserver Unix socket support
Miod Vallat [Thu, 27 Mar 2025 16:03:01 +0000 (17:03 +0100)]
Merge pull request #15371 from jsoref/docs-nsec
Docs nsec
Josh Soref [Thu, 27 Mar 2025 15:30:39 +0000 (11:30 -0400)]
docs: Simplify wording
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Josh Soref [Thu, 27 Mar 2025 14:51:57 +0000 (10:51 -0400)]
docs: rewrite TTL usage NSEC note
Write note based on current behaviour, not behaviour prior to 4.3.0.
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 27 Mar 2025 14:51:29 +0000 (10:51 -0400)]
docs: nsec/nsec3 records
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 27 Mar 2025 14:51:17 +0000 (10:51 -0400)]
docs: nsec/nsec3
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Otto Moerbeek [Thu, 27 Mar 2025 11:02:57 +0000 (12:02 +0100)]
Merge pull request #15369 from omoerbeek/rust-cxx-gen-location
When CARGO_TARGET_DIR is set the generated C++ files end up in a different location
Otto Moerbeek [Thu, 27 Mar 2025 11:02:12 +0000 (12:02 +0100)]
Merge pull request #15368 from omoerbeek/rec-docker-startup-template
rec: fix generation of recursor config if PDNS_RECURSOR_API_KEY is set
Remi Gacogne [Thu, 27 Mar 2025 10:30:28 +0000 (11:30 +0100)]
Merge pull request #15356 from rgacogne/ddist-missing-lua-function-name
dnsdist: Better handling of non-existent Lua function name in YAML
Remi Gacogne [Thu, 27 Mar 2025 09:41:19 +0000 (10:41 +0100)]
dnsdist: Fix build on amazonlinux 2023
Otto Moerbeek [Tue, 25 Mar 2025 08:55:04 +0000 (09:55 +0100)]
dnsdist: followup to #15326 (fix build on trixie), package name typo crept in
This time actually tested!
Remi Gacogne [Tue, 25 Mar 2025 09:55:10 +0000 (10:55 +0100)]
dnsdist: Do not register Xsk sockets on configuration check or client mode
It does not make sense, and in some cases might lead to a crash
because the Xsk socket is actually an empty shared pointer in client
mode.
Remi Gacogne [Thu, 27 Mar 2025 08:40:47 +0000 (09:40 +0100)]
Merge pull request #15331 from rgacogne/ddist-meson-detection
Do not auto-enable disabled features when building with meson
Remi Gacogne [Thu, 27 Mar 2025 08:40:26 +0000 (09:40 +0100)]
Merge pull request #15351 from rgacogne/fix-yaml-bindings
dnsdist: Load Lua bindings before parsing yaml configuration
Remi Gacogne [Thu, 27 Mar 2025 08:40:04 +0000 (09:40 +0100)]
Merge pull request #15357 from rgacogne/ddist-doc-yaml-lua-options
dnsdist: Document how Lua functions can be called from YAML
Miod Vallat [Thu, 27 Mar 2025 08:35:54 +0000 (09:35 +0100)]
Merge pull request #15370 from miodvallat/strcasestr
bye bye strcasestr
Miod Vallat [Thu, 27 Mar 2025 07:58:47 +0000 (08:58 +0100)]
No need to check for or provide strcaststr() anymore.
Otto Moerbeek [Wed, 26 Mar 2025 14:19:07 +0000 (15:19 +0100)]
When CARGO_TARGET_DIR is set the generated C++ file send up in a different location
This happens on OpenBSD package build
Otto Moerbeek [Wed, 26 Mar 2025 13:44:43 +0000 (14:44 +0100)]
rec: fix generation of recursor config if PDNS_RECURSOR_API_KEY is set
Fixes #15367
Peter van Dijk [Tue, 25 Mar 2025 12:39:30 +0000 (13:39 +0100)]
Merge pull request #15360 from milzi234/bugfix/add-keyblock-asc
Restores powerdns-keyblocks.asc to doc.powerdns.com
Remi Gacogne [Mon, 24 Mar 2025 10:33:32 +0000 (11:33 +0100)]
meson: Delint the DoT, DoH, DoQ and DoH3 code, as suggested by Otto
Remi Gacogne [Fri, 21 Mar 2025 13:56:49 +0000 (14:56 +0100)]
meson: Optionally enable OpenSSL engines for DNSdist
Remi Gacogne [Fri, 21 Mar 2025 14:04:37 +0000 (15:04 +0100)]
meson: DoH, DoH3, DoQ and DoT are now features, not options
Remi Gacogne [Fri, 21 Mar 2025 14:02:37 +0000 (15:02 +0100)]
meson: Make SNMP support a feature, not an option
Remi Gacogne [Fri, 21 Mar 2025 14:01:21 +0000 (15:01 +0100)]
meson: Fix a few consistency nits
Remi Gacogne [Fri, 21 Mar 2025 13:58:58 +0000 (14:58 +0100)]
dnsdist: Fix CDB being automatically picked up when disabled
Remi Gacogne [Tue, 25 Mar 2025 09:05:28 +0000 (10:05 +0100)]
dnsdist: Fix a harmless but ugly TOCTOU in the regression tests
As suggested by Miod (thanks!).
Remi Gacogne [Mon, 24 Mar 2025 11:46:42 +0000 (12:46 +0100)]
dnsdist: Load Lua bindings before parsing yaml configuration
We need the Lua bindings so that inline and loaded from a file Lua
syntax work. Our regression tests did not catch this because the
setup always created an empty Lua file, causing the Lua bindings to
be loaded. This commit also fixes that by not creating (and removing
if needed) empty Lua files in the regression tests setup.
Remi Gacogne [Tue, 25 Mar 2025 09:00:49 +0000 (10:00 +0100)]
dnsdist: Apply Miod's lua -> Lua suggestion
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Tue, 25 Mar 2025 08:58:44 +0000 (09:58 +0100)]
dnsdist: Apply Miod's suggestions to the Lua Action documentation
milzi234 [Tue, 25 Mar 2025 06:26:41 +0000 (07:26 +0100)]
Restores powerdns-keyblocks.asc to doc.powerdns.com
Remi Gacogne [Mon, 24 Mar 2025 16:22:00 +0000 (17:22 +0100)]
dnsdist: Document how Lua functions can be called from YAML
Remi Gacogne [Mon, 24 Mar 2025 15:37:58 +0000 (16:37 +0100)]
dnsdist: Better handling of non-existent Lua function name in YAML
This commit changes the way DNSdist handles a non-existent Lua function
name being referenced from the YAML configuration: instead of silently
ignoring the problem, it loudly complains before exiting.
Miod Vallat [Mon, 24 Mar 2025 15:01:53 +0000 (16:01 +0100)]
Merge pull request #15197 from miodvallat/smarter_soa
[pdnsutil] Suggest increase-serial after create-zone
Miod Vallat [Mon, 24 Mar 2025 15:01:03 +0000 (16:01 +0100)]
Merge pull request #15334 from miodvallat/zaml
[geoip] Try and be more helpful in YAML error exceptions
Peter van Dijk [Mon, 24 Mar 2025 14:46:15 +0000 (15:46 +0100)]
Merge pull request #15353 from omoerbeek/auth-prim-logstring
auth: fix log string in case there are notifies needed
Otto Moerbeek [Mon, 24 Mar 2025 14:12:26 +0000 (15:12 +0100)]
auth: fix log string in case there are notifies needed
Otto Moerbeek [Mon, 24 Mar 2025 14:11:19 +0000 (15:11 +0100)]
Merge pull request #15352 from omoerbeek/rec-simpedottest
rec: in test_SimpleDot.py make sure we have the root DNSKEY in cache, it might require TCP
Otto Moerbeek [Mon, 24 Mar 2025 12:56:17 +0000 (13:56 +0100)]
Update regression-tests.recursor-dnssec/test_SimpleDoT.py
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 24 Mar 2025 12:10:28 +0000 (13:10 +0100)]
rec: in test_SimpleDot.py make sure we have the root DNSKEY in cache, it might require TCP
Previously we assumed we didn't need TCP at all.
Miod Vallat [Mon, 24 Mar 2025 10:09:53 +0000 (11:09 +0100)]
Merge pull request #15327 from miodvallat/mesonry_details
[autocconf] [auth] Build tsig-tests if --enable-tools
Miod Vallat [Mon, 24 Mar 2025 06:08:51 +0000 (07:08 +0100)]
Merge pull request #15201 from jsoref/docs-allow-from
Docs: Fix allow-from markup/link
Frank Louwers [Sat, 22 Mar 2025 18:57:35 +0000 (19:57 +0100)]
Update pdns/dnsdistdist/docs/reference/actions.rst
Peter van Dijk [Fri, 21 Mar 2025 14:27:08 +0000 (15:27 +0100)]
Merge pull request #15341 from Habbie/sort-locale
enforce LC_ALL=C for recently added sort calls
Miod Vallat [Fri, 21 Mar 2025 13:25:21 +0000 (14:25 +0100)]
Merge pull request #15340 from zeha/mysqlbe
mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms
Peter van Dijk [Fri, 21 Mar 2025 13:19:20 +0000 (14:19 +0100)]
enforce LC_ALL=C for recently added sort calls
Miod Vallat [Fri, 21 Mar 2025 12:57:09 +0000 (13:57 +0100)]
Merge pull request #15339 from miodvallat/get_me_if_you_can
[auth] lmdb: be more robust against marked-as-deleted items
Chris Hofstaedtler [Fri, 21 Mar 2025 11:54:21 +0000 (12:54 +0100)]
mysql: use MYSQL_TYPE_LONGLONG on 64bit platforms
Found on s390x
Miod Vallat [Fri, 21 Mar 2025 11:00:56 +0000 (12:00 +0100)]
Handle marked-as-deleted elements in ReadonlyOperations::get<>
Remi Gacogne [Fri, 21 Mar 2025 10:19:12 +0000 (11:19 +0100)]
Merge pull request #15338 from rgacogne/ddist-ldl
dnsdist: Better handling of the `dlsym` missing symbol in our Rust lib
Otto Moerbeek [Fri, 21 Mar 2025 09:51:47 +0000 (10:51 +0100)]
Merge pull request #15336 from omoerbeek/rec-rpz-test-race
rec: fix a race in the RPZ regression test and modify handling of auths
Remi Gacogne [Fri, 21 Mar 2025 08:53:23 +0000 (09:53 +0100)]
dnsdist: Better handling of the `dlsym` missing symbol in our Rust lib
Remi Gacogne [Fri, 21 Mar 2025 08:12:13 +0000 (09:12 +0100)]
Merge pull request #15333 from rgacogne/ddist-fix-version-in-docker
dnsdist: Fix version number in our Docker image
Otto Moerbeek [Fri, 21 Mar 2025 06:51:18 +0000 (07:51 +0100)]
Merge pull request #15332 from rgacogne/rec-nullptr-exit-nicely
rec: Prevent a crash when exiting nicely
Miod Vallat [Thu, 20 Mar 2025 15:03:59 +0000 (16:03 +0100)]
Try and be more helpful in YAML error exceptions.
Remi Gacogne [Thu, 20 Mar 2025 14:03:25 +0000 (15:03 +0100)]
dnsdist: Fix version number in our Docker image
Remi Gacogne [Thu, 20 Mar 2025 13:42:55 +0000 (14:42 +0100)]
Merge pull request #15330 from rgacogne/ddist-fix-yaml-cdb-lmdb
dnsdist: Fix YAML configuration failure to build without CDB/LMDB
Remi Gacogne [Thu, 20 Mar 2025 13:15:47 +0000 (14:15 +0100)]
rec: Prevent a crash when exiting nicely
If a TCP connection is alive when we are exiting, we might dereference
a `null` pointer when the TCP connection destructor is called after
the thread-local `t_tcpClientCounts` object has been destroyed.
Remi Gacogne [Thu, 20 Mar 2025 12:58:31 +0000 (13:58 +0100)]
Merge pull request #15328 from rgacogne/ddist-upgrade-quiche-0.23.4
dnsdist: Upgrade Quiche to 0.23.4
Remi Gacogne [Thu, 20 Mar 2025 12:58:18 +0000 (13:58 +0100)]
Merge pull request #15329 from rgacogne/upgrade-rust-1.85.0
Upgrade Rust to 1.85.0
Remi Gacogne [Thu, 20 Mar 2025 12:35:21 +0000 (13:35 +0100)]
dnsdist: Apply suggestions from Miod's review
Remi Gacogne [Thu, 20 Mar 2025 10:56:54 +0000 (11:56 +0100)]
dnsdist: Fix YAML configuration failure to build without CDB/LMDB
Remi Gacogne [Thu, 20 Mar 2025 08:38:28 +0000 (09:38 +0100)]
Merge pull request #15326 from omoerbeek/dnsdist-trixie-pkgbuild
dnsdist: fix package build on trixie
Miod Vallat [Thu, 20 Mar 2025 06:18:04 +0000 (07:18 +0100)]
Build tsig-tests from autoconf if --enable-tools.
Miod Vallat [Wed, 19 Mar 2025 15:38:20 +0000 (16:38 +0100)]
Merge pull request #15322 from horazont/fix/doc-xfr-cycle-interval
docs: clarify secondary behaviour when xfr-cycle-interval elapses
Jonas Schäfer [Tue, 18 Mar 2025 16:20:03 +0000 (17:20 +0100)]
docs: clarify secondary behaviour when xfr-cycle-interval elapses
Result of a discussion with @Habbie in IRC (and me misreading the
docs, as usual).
Otto Moerbeek [Wed, 19 Mar 2025 12:01:38 +0000 (13:01 +0100)]
dnsdist: fix package build on trixie
Remi Gacogne [Tue, 18 Mar 2025 15:37:04 +0000 (16:37 +0100)]
Merge pull request #15320 from rgacogne/ddist-fix-secpoll-code-200a1
security polling: Fix the code for DNSdist 2.0.0 alpha1
Peter van Dijk [Tue, 18 Mar 2025 15:04:09 +0000 (16:04 +0100)]
Merge pull request #15319 from milzi234/bugfix/aws-docs-push
Fixes the documentation workflows upload
Remi Gacogne [Tue, 18 Mar 2025 14:53:19 +0000 (15:53 +0100)]
dnsdist: Upgrade Quiche to 0.23.4
Remi Gacogne [Tue, 18 Mar 2025 14:52:36 +0000 (15:52 +0100)]
Upgrade Rust to 1.85.0
Remi Gacogne [Tue, 18 Mar 2025 14:47:46 +0000 (15:47 +0100)]
security polling: Fix the code for DNSdist 2.0.0 alpha1
Peter van Dijk [Tue, 18 Mar 2025 14:12:28 +0000 (15:12 +0100)]
Merge pull request #15186 from jsoref/fail-fast-false
ci: use fail-fast: false for more jobs
milzi234 [Tue, 18 Mar 2025 14:11:44 +0000 (15:11 +0100)]
Fixes the documentation workflows upload. Uses sudo to install rclone, omits the --no-wait flag on the invalidations, since that doesn't exist (...). Lastly, adds the possibility to set DOCS_WORKFLOW_BRANCH_OVERRIDE in which case the workflow doesn't check for the branch it's running on, so it can be tested on other branches. Useful in forks.
Otto Moerbeek [Tue, 18 Mar 2025 12:11:19 +0000 (13:11 +0100)]
Avoid a few sleep calls, they should not be needed
Remi Gacogne [Tue, 18 Mar 2025 11:53:53 +0000 (12:53 +0100)]
Merge pull request #15318 from rgacogne/ddist200-a1-changelog-secpoll
dnsdist: Update secpoll and ChangeLog for 2.0.0-alpha1
Otto Moerbeek [Tue, 18 Mar 2025 10:48:12 +0000 (11:48 +0100)]
Default to *not* running auths, saves a bunch of time
Otto Moerbeek [Tue, 18 Mar 2025 10:36:47 +0000 (11:36 +0100)]
Tighter (with shorter sleeps) loop for reading, so less time wasted
Remi Gacogne [Tue, 18 Mar 2025 10:13:48 +0000 (11:13 +0100)]
Fix spell-checking
Remi Gacogne [Tue, 18 Mar 2025 10:09:25 +0000 (11:09 +0100)]
dnsdist: Update secpoll and ChangeLog for 2.0.0-alpha1
Remi Gacogne [Tue, 18 Mar 2025 08:34:56 +0000 (09:34 +0100)]
Merge pull request #15286 from romeroalx/add-back-ubuntu-focal-target
Specify the list of target-os for the daily build of packages
Remi Gacogne [Mon, 17 Mar 2025 16:16:51 +0000 (17:16 +0100)]
Merge pull request #15312 from pizchen/master
Add timeout config per UDP backend server
Remi Gacogne [Mon, 17 Mar 2025 15:57:30 +0000 (16:57 +0100)]
Merge pull request #15313 from rgacogne/ci-upgrade-clang
dnsdist: Upgrade clang to 19 in our CI
Remi Gacogne [Mon, 17 Mar 2025 15:12:51 +0000 (16:12 +0100)]
dnsdist: Hopefully override the clang version at the correct level
Remi Gacogne [Mon, 17 Mar 2025 12:33:36 +0000 (13:33 +0100)]
Merge pull request #15315 from rgacogne/ddist-fix-xsk-mode-detection
dnsdist: Fix XSK mode detection when built with `meson`
pizchen [Mon, 17 Mar 2025 12:31:10 +0000 (20:31 +0800)]
Changes for PR comments and happy clang-tidy
Georg Pfuetzenreuter [Mon, 10 Mar 2025 18:12:57 +0000 (19:12 +0100)]
Remove sin4 from ComboAddress reset
Zeroing through the larger sin6 field is sufficient.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Georg Pfuetzenreuter [Mon, 10 Mar 2025 15:20:03 +0000 (16:20 +0100)]
Add tests for SockaddrWrapper
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Georg Pfuetzenreuter [Mon, 10 Mar 2025 01:10:59 +0000 (02:10 +0100)]
Auth webserver Unix socket support
This introduces support for binding to a Unix instead of a TCP/IP
socket, which is useful in applications where binding to a TCP/IP socket
is not desired due to security and/or performance considerations or
constraints of the surrounding system. Closes #8677.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Remi Gacogne [Mon, 17 Mar 2025 11:44:57 +0000 (12:44 +0100)]
dnsdist: Fix XSK mode detection when built with `meson`
The detection of whether `bpf_xdp_query` is available was not done.