]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
11 days agodnsdist: Fix missed optimizations reported by Coverity in config 16590/head
Remi Gacogne [Thu, 4 Dec 2025 09:09:19 +0000 (10:09 +0100)] 
dnsdist: Fix missed optimizations reported by Coverity in config

This does not really matter because we don't care much about small
performance gains in configuration parsing, but it makes Coverity
happy.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
12 days agoMerge pull request #16588 from omoerbeek/janitor-20251203
Otto Moerbeek [Wed, 3 Dec 2025 15:01:22 +0000 (16:01 +0100)] 
Merge pull request #16588 from omoerbeek/janitor-20251203

Kill a handful of clang++ warnings, mostly comparing unsigned to an signed constant

12 days agoKill a handful of clang++ warnings, mostly comparing unsigned to an signed constant 16588/head
Otto Moerbeek [Wed, 3 Dec 2025 14:04:26 +0000 (15:04 +0100)] 
Kill a handful of clang++ warnings, mostly comparing unsigned to an signed constant

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
13 days agoMerge pull request #16585 from romeroalx/build-packages-gh-arm64-runners
Remi Gacogne [Tue, 2 Dec 2025 13:17:19 +0000 (14:17 +0100)] 
Merge pull request #16585 from romeroalx/build-packages-gh-arm64-runners

GH actions: build packages on Github arm64 runners

13 days agobuild-packages.yml: use GH arm64 runners 16585/head
romeroalx [Tue, 2 Dec 2025 10:05:18 +0000 (11:05 +0100)] 
build-packages.yml: use GH arm64 runners

13 days agobuilder.yml: use GH arm64 runners
romeroalx [Tue, 2 Dec 2025 10:04:51 +0000 (11:04 +0100)] 
builder.yml: use GH arm64 runners

13 days agoMerge pull request #16582 from rgacogne/ddist-202-changelog-typo
Remi Gacogne [Tue, 2 Dec 2025 10:20:15 +0000 (11:20 +0100)] 
Merge pull request #16582 from rgacogne/ddist-202-changelog-typo

dnsdist: Fix a typo in the 2.0.2 ChangeLog

13 days agodnsdist: Fix a typo in the 2.0.2 ChangeLog 16582/head
Remi Gacogne [Tue, 2 Dec 2025 09:46:52 +0000 (10:46 +0100)] 
dnsdist: Fix a typo in the 2.0.2 ChangeLog

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
13 days agoMerge pull request #16578 from rgacogne/ddist-2.0.2-secpoll-changelog
Remi Gacogne [Tue, 2 Dec 2025 09:35:07 +0000 (10:35 +0100)] 
Merge pull request #16578 from rgacogne/ddist-2.0.2-secpoll-changelog

dnsdist: ChangeLog and security polling update for 2.0.2

13 days agoMerge pull request #16487 from pieterlexis/chore-rm-boost-optional
Pieter Lexis [Tue, 2 Dec 2025 08:49:41 +0000 (09:49 +0100)] 
Merge pull request #16487 from pieterlexis/chore-rm-boost-optional

chore: Switch trivial usage of boost::optional to std::optional

2 weeks agoMerge pull request #16580 from omoerbeek/rec-move-g_logRPZChanges
Otto Moerbeek [Mon, 1 Dec 2025 14:37:53 +0000 (15:37 +0100)] 
Merge pull request #16580 from omoerbeek/rec-move-g_logRPZChanges

rec: move g_logRPZChanges to proper spot

2 weeks agorec: move g_logRPZChanges to proper spot 16580/head
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>
2 weeks agospell-check: Allow new contributors, remove unneeded `ssi` 16578/head
Remi Gacogne [Mon, 1 Dec 2025 10:19:14 +0000 (11:19 +0100)] 
spell-check: Allow new contributors, remove unneeded `ssi`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agodnsdist: ChangeLog and security polling update for 2.0.2
Remi Gacogne [Wed, 5 Nov 2025 15:29:26 +0000 (16:29 +0100)] 
dnsdist: ChangeLog and security polling update for 2.0.2

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoMerge pull request #16572 from rgacogne/ci-use-cargo-dev-profile
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

2 weeks agoMerge pull request #16577 from omoerbeek/rec-docs-upgrade-merge-fix
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

2 weeks agorec docs: fix GH merge botch 16577/head
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>
2 weeks agoMerge pull request #16553 from omoerbeek/rec-any-to-tcp
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

2 weeks agoMerge pull request #16570 from omoerbeek/rec-rust-unwrap
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

2 weeks agoMerge pull request #16575 from miodvallat/rm_is_your_best_friend
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

2 weeks agoMention manual cleanup of no-longer-built modules if manual upgrade. 16575/head
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>
2 weeks agochore(luawrapper): stop linting a false positive 16487/head
Pieter Lexis [Mon, 24 Nov 2025 09:21:51 +0000 (10:21 +0100)] 
chore(luawrapper): stop linting a false positive

2 weeks agochore: allow "ip" as variable name in clang-tidy
Pieter Lexis [Fri, 14 Nov 2025 16:20:10 +0000 (17:20 +0100)] 
chore: allow "ip" as variable name in clang-tidy

2 weeks agochore(res): appease clang-tidy
Pieter Lexis [Fri, 14 Nov 2025 14:27:38 +0000 (15:27 +0100)] 
chore(res): appease clang-tidy

2 weeks agochore(dnsdist): appease clang-tidy
Pieter Lexis [Fri, 14 Nov 2025 14:25:31 +0000 (15:25 +0100)] 
chore(dnsdist): appease clang-tidy

2 weeks agochore(rec): update the logger to use std::optional
Pieter Lexis [Thu, 13 Nov 2025 15:45:22 +0000 (16:45 +0100)] 
chore(rec): update the logger to use std::optional

2 weeks agochore(rec): Replace all trivial boost::optional with std::optional
Pieter Lexis [Thu, 13 Nov 2025 15:12:42 +0000 (16:12 +0100)] 
chore(rec): Replace all trivial boost::optional with std::optional

2 weeks agochore(dnsdist): stop boost::optional to std::optional conversions in generated code
Pieter Lexis [Thu, 13 Nov 2025 12:55:27 +0000 (13:55 +0100)] 
chore(dnsdist): stop boost::optional to std::optional conversions in generated code

2 weeks agochore(dnsdist): Switch from boost::optional to std::optional
Pieter Lexis [Thu, 13 Nov 2025 11:28:54 +0000 (12:28 +0100)] 
chore(dnsdist): Switch from boost::optional to std::optional

This also updates the DNSTap code to accept a DNSName as `auth` always
and checks its emptyness.

2 weeks agoci: Use `Cargo`'s `dev` profile 16572/head
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>
2 weeks agoMerge pull request #16393 from TooManyBees/lua-metric-prometheus-types
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

2 weeks agoReformat 16570/head
Otto Moerbeek [Thu, 27 Nov 2025 14:27:07 +0000 (15:27 +0100)] 
Reformat

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 weeks agorec: zap all unwrap calls in web server
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>
2 weeks agoMerge pull request #16565 from omoerbeek/rec-run-clippy
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

2 weeks agoMerge pull request #16543 from karelbilek/kb/recursor_no_api
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

2 weeks agorec: Run clippy when CARGO_USE_DEV and CARGO_USE_CLIPPY are set 16565/head
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>
2 weeks agoMerge pull request #16520 from miodvallat/accept_of_the_dawn
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

2 weeks agoMerge pull request #16558 from omoerbeek/no-rng-no-entropy-source
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

2 weeks agoMerge pull request #16547 from miodvallat/upgrade_thorns
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

2 weeks agoBetter words in docs 16543/head
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>
2 weeks agoMerge pull request #16557 from rgacogne/ddist-run-clippy
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

2 weeks agoMerge pull request #16556 from rgacogne/ddist-rust-clippy
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

2 weeks agoMerge pull request #16563 from rgacogne/ddist-use-dns-random
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`

2 weeks agoMerge pull request #16564 from miodvallat/stowaway
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

2 weeks agoAdd upgrade guide note
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>
2 weeks agoAdd missing catch block for STL exceptions in createForward. 16564/head
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>
2 weeks agodnsdist: Get rid of our own `random` code and use `dns_random` 16563/head
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>
2 weeks agorec: Remove mentions of rng and entropy-source in as much places as possible 16558/head
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>
2 weeks agoMerge pull request #16555 from rgacogne/ddist-do-not-use-random
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

2 weeks agodnsdist: Run clippy when `CARGO_USE_DEV` and `CARGO_USE_CLIPPY` are set 16557/head
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>
2 weeks agodnsdist: Apply Clippy's suggestions to our Rust code 16556/head
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>
2 weeks agodnsdist: Stop using `random()` to bench rules 16555/head
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>
2 weeks agoMerge pull request #16546 from omoerbeek/rec-rust-dev
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

2 weeks agoMerge pull request #16544 from rgacogne/ddist-rust-dev
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

2 weeks agoMerge pull request #16545 from rgacogne/ddist-adddynblock-typo
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

2 weeks agoMerge pull request #16428 from rgacogne/ddist-yaml-rules
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

2 weeks agoFix tests using ANY queries 16553/head
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>
2 weeks agoForce outgoing ANY queries to use TCP by default
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>
2 weeks agoChange default of recursor.any_to_tcp to true
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>
2 weeks agoPrevent missing mdb_env_close in error paths in upgradeToSchemav5. 16547/head
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>
2 weeks agorec: make webserver work without an API key
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>
2 weeks agorec: Build our Rust lib in dev profile when CARGO_USE_DEV is set 16546/head
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>
2 weeks agoRecognize Accept: */* when deciding which content type to use for replies. 16520/head
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>
2 weeks agoMerge pull request #16538 from famfo/nixos-is-cursed
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

2 weeks agodnsdist: Report the proper Lua function when parsing fails 16545/head
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>
2 weeks agodnsdist: Build our Rust lib in `dev` profile when `CARGO_USE_DEV` is set 16544/head
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>
2 weeks agoMerge pull request #16447 from jsoref/codeql-quality-unused-imports
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

3 weeks agoMerge pull request #16539 from famfo/acl-mask
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

3 weeks agopdns/sstuff: convert mapped IPv4 addresses for ACL 16539/head
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>
3 weeks agoMerge pull request #16517 from miodvallat/path
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

3 weeks agoMerge pull request #16536 from rgacogne/ddist-inc-number-of-fd
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

3 weeks agoFix PDNS_BUILD_PATH for non-meson builds. 16517/head
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>
3 weeks agoMerge pull request #16496 from omoerbeek/rec-tcounters-tidy
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

3 weeks agom4/pdns_check_libcrypto: fix ecdsa/eddsa includedir 16538/head
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>
3 weeks agodnsdist: Raise the maximum number of descriptors to 1M 16536/head
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>
3 weeks agoMerge pull request #16531 from jsoref/spelling
Miod Vallat [Thu, 20 Nov 2025 14:26:41 +0000 (15:26 +0100)] 
Merge pull request #16531 from jsoref/spelling

Spelling

3 weeks agospelling: work 16531/head
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>
3 weeks agospelling: with
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>
3 weeks agospelling: will
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>
3 weeks agospelling: where the query was sent
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>
3 weeks agospelling: unsupported
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>
3 weeks agospelling: unknown
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>
3 weeks agospelling: transition
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>
3 weeks agospelling: to
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>
3 weeks agospelling: threshold
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>
3 weeks agospelling: the
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>
3 weeks agospelling: that
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>
3 weeks agospelling: that the
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>
3 weeks agospelling: system
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>
3 weeks agospelling: successfully
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>
3 weeks agospelling: successful
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>
3 weeks agospelling: structure
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>
3 weeks agospelling: stream
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>
3 weeks agospelling: still
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>
3 weeks agospelling: stepped
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>
3 weeks agospelling: should
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>
3 weeks agospelling: settings
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>
3 weeks agospelling: setting
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>
3 weeks agospelling: separate
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>
3 weeks agospelling: sanitize
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>