]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Mon, 1 Dec 2025 13:25:33 +0000 (14:25 +0100)]
rec: move g_logRPZChanges to proper spot
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 1 Dec 2025 10:00:52 +0000 (11:00 +0100)]
Merge pull request #16572 from rgacogne/ci-use-cargo-dev-profile
ci: Use `Cargo`'s `dev` profile
Otto Moerbeek [Mon, 1 Dec 2025 09:12:01 +0000 (10:12 +0100)]
Merge pull request #16577 from omoerbeek/rec-docs-upgrade-merge-fix
rec docs: fix GH merge botch
Otto Moerbeek [Mon, 1 Dec 2025 08:06:36 +0000 (09:06 +0100)]
rec docs: fix GH merge botch
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 1 Dec 2025 07:28:56 +0000 (08:28 +0100)]
Merge pull request #16553 from omoerbeek/rec-any-to-tcp
rec: always do ANY queries using TCP
Otto Moerbeek [Mon, 1 Dec 2025 07:06:34 +0000 (08:06 +0100)]
Merge pull request #16570 from omoerbeek/rec-rust-unwrap
rec: rewrite all unwrap calls in web.rs
Miod Vallat [Fri, 28 Nov 2025 16:28:44 +0000 (17:28 +0100)]
Merge pull request #16575 from miodvallat/rm_is_your_best_friend
auth: mention extra steps for manual upgrades
Miod Vallat [Fri, 28 Nov 2025 15:15:23 +0000 (16:15 +0100)]
Mention manual cleanup of no-longer-built modules if manual upgrade.
Fixes: #16549
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Fri, 28 Nov 2025 09:08:20 +0000 (10:08 +0100)]
ci: Use `Cargo`'s `dev` profile
Using the `dev` profile means faster builds and more checks.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 27 Nov 2025 15:55:11 +0000 (16:55 +0100)]
Merge pull request #16393 from TooManyBees/lua-metric-prometheus-types
Recursor: add types and descriptions to dynamic metrics defined in Lua
Otto Moerbeek [Thu, 27 Nov 2025 14:27:07 +0000 (15:27 +0100)]
Reformat
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 27 Nov 2025 12:59:39 +0000 (13:59 +0100)]
rec: zap all unwrap calls in web server
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 27 Nov 2025 14:19:36 +0000 (15:19 +0100)]
Merge pull request #16565 from omoerbeek/rec-run-clippy
rec: Run clippy when CARGO_USE_DEV and CARGO_USE_CLIPPY are set
Otto Moerbeek [Thu, 27 Nov 2025 14:03:25 +0000 (15:03 +0100)]
Merge pull request #16543 from karelbilek/kb/recursor_no_api
rec: make webserver work without an API key
Otto Moerbeek [Thu, 27 Nov 2025 12:25:39 +0000 (13:25 +0100)]
rec: Run clippy when CARGO_USE_DEV and CARGO_USE_CLIPPY are set
Adapted from #16557
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 27 Nov 2025 13:35:56 +0000 (14:35 +0100)]
Merge pull request #16520 from miodvallat/accept_of_the_dawn
auth, rec webservers: recognize Accept: */* header
Otto Moerbeek [Thu, 27 Nov 2025 13:34:44 +0000 (14:34 +0100)]
Merge pull request #16558 from omoerbeek/no-rng-no-entropy-source
rec: Remove mentions of rng and entropy-source in as much places as possible
Miod Vallat [Thu, 27 Nov 2025 13:30:28 +0000 (14:30 +0100)]
Merge pull request #16547 from miodvallat/upgrade_thorns
auth lmdb: error path cleanup in upgrade code
Otto Moerbeek [Thu, 27 Nov 2025 13:13:56 +0000 (14:13 +0100)]
Better words in docs
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 27 Nov 2025 13:10:58 +0000 (14:10 +0100)]
Merge pull request #16557 from rgacogne/ddist-run-clippy
dnsdist: Run clippy when `CARGO_USE_DEV` and `CARGO_USE_CLIPPY` are set
Remi Gacogne [Thu, 27 Nov 2025 13:09:16 +0000 (14:09 +0100)]
Merge pull request #16556 from rgacogne/ddist-rust-clippy
dnsdist: Apply Clippy's suggestions to our Rust code
Remi Gacogne [Thu, 27 Nov 2025 13:07:17 +0000 (14:07 +0100)]
Merge pull request #16563 from rgacogne/ddist-use-dns-random
dnsdist: Get rid of our own `random` code and use `dns_random`
Miod Vallat [Thu, 27 Nov 2025 12:55:34 +0000 (13:55 +0100)]
Merge pull request #16564 from miodvallat/stowaway
auth lua: add missing catch block for STL exceptions in createForward
Otto Moerbeek [Thu, 27 Nov 2025 12:06:57 +0000 (13:06 +0100)]
Add upgrade guide note
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 27 Nov 2025 12:01:35 +0000 (13:01 +0100)]
Add missing catch block for STL exceptions in createForward.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Thu, 27 Nov 2025 11:00:11 +0000 (12:00 +0100)]
dnsdist: Get rid of our own `random` code and use `dns_random`
We introduced that code because the `dns_random` version that existed
at the time was pulling in a lot of code we did not want (logging,
configuration parsing, etc), but that no longer makes sense.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 27 Nov 2025 10:14:05 +0000 (11:14 +0100)]
rec: Remove mentions of rng and entropy-source in as much places as possible
Rec part of of #16554
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 27 Nov 2025 10:16:52 +0000 (11:16 +0100)]
Merge pull request #16555 from rgacogne/ddist-do-not-use-random
dnsdist: Stop using `random()` to bench rules
Remi Gacogne [Thu, 27 Nov 2025 10:15:03 +0000 (11:15 +0100)]
dnsdist: Run clippy when `CARGO_USE_DEV` and `CARGO_USE_CLIPPY` are set
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 27 Nov 2025 10:14:26 +0000 (11:14 +0100)]
dnsdist: Apply Clippy's suggestions to our Rust code
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 27 Nov 2025 09:24:53 +0000 (10:24 +0100)]
dnsdist: Stop using `random()` to bench rules
This makes Coverity (CID 500050) and probably other tools
very unhappy.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 27 Nov 2025 08:22:15 +0000 (09:22 +0100)]
Merge pull request #16546 from omoerbeek/rec-rust-dev
rec: Build our Rust lib in dev profile when CARGO_USE_DEV is set
Remi Gacogne [Wed, 26 Nov 2025 14:02:03 +0000 (15:02 +0100)]
Merge pull request #16544 from rgacogne/ddist-rust-dev
dnsdist: Build our Rust lib in `dev` profile when `CARGO_USE_DEV` is set
Remi Gacogne [Wed, 26 Nov 2025 14:01:52 +0000 (15:01 +0100)]
Merge pull request #16545 from rgacogne/ddist-adddynblock-typo
dnsdist: Report the proper Lua function when parsing fails
Remi Gacogne [Wed, 26 Nov 2025 14:01:03 +0000 (15:01 +0100)]
Merge pull request #16428 from rgacogne/ddist-yaml-rules
dnsdist: Expose `TimedIPSet` to YAML-originated Lua contexts
Otto Moerbeek [Wed, 26 Nov 2025 13:14:33 +0000 (14:14 +0100)]
Fix tests using ANY queries
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 26 Nov 2025 11:37:25 +0000 (12:37 +0100)]
Force outgoing ANY queries to use TCP by default
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 26 Nov 2025 11:13:36 +0000 (12:13 +0100)]
Change default of recursor.any_to_tcp to true
This is the client side handling.
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Wed, 26 Nov 2025 10:51:46 +0000 (11:51 +0100)]
Prevent missing mdb_env_close in error paths in upgradeToSchemav5.
Using unique_ptr guards as used in getSchemaVersionAndShards, we can
guarantee that there will be no missing calls, regardless of how we
exit the function (which swears^Wthrows a lot).
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Karel Bilek [Tue, 25 Nov 2025 09:10:53 +0000 (10:10 +0100)]
rec: make webserver work without an API key
Currently, recursor web server doesn't work if API key is not set, even
when the API key is not actually used in the webserver auth.
Signed-off-by: Karel Bilek <kb@karelbilek.com>
Otto Moerbeek [Wed, 26 Nov 2025 08:35:13 +0000 (09:35 +0100)]
rec: Build our Rust lib in dev profile when CARGO_USE_DEV is set
Adapted from #16544
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Mon, 17 Nov 2025 15:01:32 +0000 (16:01 +0100)]
Recognize Accept: */* when deciding which content type to use for replies.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 26 Nov 2025 07:20:52 +0000 (08:20 +0100)]
Merge pull request #16538 from famfo/nixos-is-cursed
m4/pdns_check_libcrypto: fix ecdsa/eddsa includedir
Remi Gacogne [Tue, 25 Nov 2025 15:28:13 +0000 (16:28 +0100)]
dnsdist: Report the proper Lua function when parsing fails
It looks like we copy/pasted the `addDynBlockSMT` name when calling
the parser from the `addDynamicBlock` function.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 25 Nov 2025 15:17:53 +0000 (16:17 +0100)]
dnsdist: Build our Rust lib in `dev` profile when `CARGO_USE_DEV` is set
It is roughly halving the compile time in my tests, and comes
with more checks (see https://doc.rust-lang.org/cargo/reference/profiles.html#dev)
so I find it useful to be able to explicitly request building
using the `dev` profile. The default remains to build in `release`
mode for performance, of course.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Peter van Dijk [Tue, 25 Nov 2025 12:23:46 +0000 (13:23 +0100)]
Merge pull request #16447 from jsoref/codeql-quality-unused-imports
chore: Remove first set of unused imports
Miod Vallat [Mon, 24 Nov 2025 16:14:02 +0000 (17:14 +0100)]
Merge pull request #16539 from famfo/acl-mask
pdns/sstuff: convert mapped IPv4 addresses for ACL
famfo [Sat, 22 Nov 2025 22:54:14 +0000 (23:54 +0100)]
pdns/sstuff: convert mapped IPv4 addresses for ACL
When a mapped address does not get converted, ACLs do not match as
expected. For example ::ffff:127.0.0.1 did not match the ACL 127.0.0.1.
Signed-off-by: famfo <famfo@famfo.xyz>
Miod Vallat [Mon, 24 Nov 2025 11:11:17 +0000 (12:11 +0100)]
Merge pull request #16517 from miodvallat/path
auth regress: Fix PDNS_BUILD_PATH for non-meson builds
Remi Gacogne [Mon, 24 Nov 2025 08:38:48 +0000 (09:38 +0100)]
Merge pull request #16536 from rgacogne/ddist-inc-number-of-fd
dnsdist: Raise the maximum number of descriptors to 1M
Miod Vallat [Mon, 17 Nov 2025 13:27:40 +0000 (14:27 +0100)]
Fix PDNS_BUILD_PATH for non-meson builds.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 24 Nov 2025 07:05:20 +0000 (08:05 +0100)]
Merge pull request #16496 from omoerbeek/rec-tcounters-tidy
rec: Tidy tcounter related code
famfo [Sun, 23 Nov 2025 12:53:14 +0000 (13:53 +0100)]
m4/pdns_check_libcrypto: fix ecdsa/eddsa includedir
On more excotic Linux distributions, like NixOS, the directory in which
the libraries are stored and the directory of the headers is different.
This uses pkg-config to find the right includedir of the headers.
Signed-off-by: famfo <famfo@famfo.xyz>
Remi Gacogne [Fri, 21 Nov 2025 08:17:46 +0000 (09:17 +0100)]
dnsdist: Raise the maximum number of descriptors to 1M
When running under systemd there is a cap on the number of open file or
socket descriptors that we can have at a given time. We used to set this
to 16k which was a large enough value for most installations, but now that
people are deploying DNSdist to offer DoT/DoH/DoQ/DoH3 to large numbers of
users we are regularly getting complaints that the default value is too low.
On the other hand I'm not aware of any case where having a cap actually
prevented an issue where we would be opening too many descriptors.
Therefore this commit is raising the default value to 1 millions, a large
enough values for even very large setups dealing with > 100k incoming
connections at a time.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Thu, 20 Nov 2025 14:26:41 +0000 (15:26 +0100)]
Merge pull request #16531 from jsoref/spelling
Spelling
Josh Soref [Wed, 19 Nov 2025 19:17:40 +0000 (14:17 -0500)]
spelling: work
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:47:26 +0000 (12:47 -0500)]
spelling: with
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:47:35 +0000 (12:47 -0500)]
spelling: will
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:13:53 +0000 (14:13 -0500)]
spelling: where the query was sent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:45:39 +0000 (12:45 -0500)]
spelling: unsupported
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:45:17 +0000 (12:45 -0500)]
spelling: unknown
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:44:42 +0000 (12:44 -0500)]
spelling: transition
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:11:27 +0000 (14:11 -0500)]
spelling: to
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:44:53 +0000 (12:44 -0500)]
spelling: threshold
https://clang.llvm.org/extra/clang-tidy/checks/bugprone/easily-swappable-parameters.html#cmdoption-arg-NamePrefixSuffixSilenceDissimilarityThreshold
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:16:57 +0000 (14:16 -0500)]
spelling: the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:12:32 +0000 (14:12 -0500)]
spelling: that
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 18:44:32 +0000 (13:44 -0500)]
spelling: that the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:42:48 +0000 (12:42 -0500)]
spelling: system
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:42:14 +0000 (12:42 -0500)]
spelling: successfully
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:42:20 +0000 (12:42 -0500)]
spelling: successful
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:41:44 +0000 (12:41 -0500)]
spelling: structure
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:41:54 +0000 (12:41 -0500)]
spelling: stream
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:41:23 +0000 (12:41 -0500)]
spelling: still
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:41:10 +0000 (12:41 -0500)]
spelling: stepped
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:40:35 +0000 (12:40 -0500)]
spelling: should
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 18:58:56 +0000 (13:58 -0500)]
spelling: settings
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:40:19 +0000 (12:40 -0500)]
spelling: setting
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:39:56 +0000 (12:39 -0500)]
spelling: separate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:39:29 +0000 (12:39 -0500)]
spelling: sanitize
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:35:47 +0000 (12:35 -0500)]
spelling: response
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:35:32 +0000 (12:35 -0500)]
spelling: representation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:12:03 +0000 (14:12 -0500)]
spelling: record
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:17:32 +0000 (14:17 -0500)]
spelling: qtype
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:34:20 +0000 (12:34 -0500)]
spelling: prometheus
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:33:27 +0000 (12:33 -0500)]
spelling: produce
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:34:07 +0000 (12:34 -0500)]
spelling: process
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 18:43:43 +0000 (13:43 -0500)]
spelling: private key file
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:33:50 +0000 (12:33 -0500)]
spelling: preferably
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:33:38 +0000 (12:33 -0500)]
spelling: preamble
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:32:59 +0000 (12:32 -0500)]
spelling: possible
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:33:10 +0000 (12:33 -0500)]
spelling: possibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 20 Nov 2025 12:32:28 +0000 (07:32 -0500)]
spelling: over
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 20 Nov 2025 12:32:19 +0000 (07:32 -0500)]
spelling: over other
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:31:14 +0000 (12:31 -0500)]
spelling: only
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:13:11 +0000 (14:13 -0500)]
spelling: on which the query was received
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:30:41 +0000 (12:30 -0500)]
spelling: occurrences
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:30:20 +0000 (12:30 -0500)]
spelling: occurred
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:29:03 +0000 (12:29 -0500)]
spelling: necessarily
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 19:18:38 +0000 (14:18 -0500)]
spelling: metadata
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Wed, 19 Nov 2025 17:27:32 +0000 (12:27 -0500)]
spelling: message
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>