]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 months agobuild(deps): bump urllib3 in /regression-tests.dnsdist 16608/head
dependabot[bot] [Sat, 6 Dec 2025 05:16:12 +0000 (05:16 +0000)] 
build(deps): bump urllib3 in /regression-tests.dnsdist

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.5.0...2.6.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agobuild(deps): bump urllib3 from 2.5.0 to 2.6.0 in /pdns/dnsdistdist/docs 16607/head
dependabot[bot] [Sat, 6 Dec 2025 05:02:09 +0000 (05:02 +0000)] 
build(deps): bump urllib3 from 2.5.0 to 2.6.0 in /pdns/dnsdistdist/docs

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.5.0...2.6.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agoMerge pull request #16601 from rgacogne/fewer-boost-optional
Remi Gacogne [Fri, 5 Dec 2025 16:25:26 +0000 (17:25 +0100)] 
Merge pull request #16601 from rgacogne/fewer-boost-optional

Remove some `boost::optional` leftovers

4 months agoFix test to not depend upon the order of the returned records. 16602/head
Miod Vallat [Fri, 5 Dec 2025 15:37:18 +0000 (16:37 +0100)] 
Fix test to not depend upon the order of the returned records.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoRemove some `boost::optional` leftovers 16601/head
Remi Gacogne [Fri, 5 Dec 2025 14:49:14 +0000 (15:49 +0100)] 
Remove some `boost::optional` leftovers

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoMerge pull request #16589 from miodvallat/gramophone
Miod Vallat [Fri, 5 Dec 2025 13:29:28 +0000 (14:29 +0100)] 
Merge pull request #16589 from miodvallat/gramophone

auth: allow finer-grained rrset changes through the API

4 months agoNo more reasons to reject more than one EXTEND or PRUNE anymore. 16589/head
Miod Vallat [Fri, 5 Dec 2025 12:57:27 +0000 (13:57 +0100)] 
No more reasons to reject more than one EXTEND or PRUNE anymore.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16521 from rgacogne/ddist-xsk-unit-tests
Remi Gacogne [Fri, 5 Dec 2025 10:57:04 +0000 (11:57 +0100)] 
Merge pull request #16521 from rgacogne/ddist-xsk-unit-tests

dnsdist: Cleanup of the `AF_XDP`/`XSK` code

4 months agodnsdist: Consistenly use `getL4HeaderOffset()` in our XSK code 16521/head
Remi Gacogne [Fri, 5 Dec 2025 09:22:12 +0000 (10:22 +0100)] 
dnsdist: Consistenly use `getL4HeaderOffset()` in our XSK code

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 months agoMerge pull request #16590 from rgacogne/ddist-coverity-20251204
Remi Gacogne [Fri, 5 Dec 2025 08:52:34 +0000 (09:52 +0100)] 
Merge pull request #16590 from rgacogne/ddist-coverity-20251204

dnsdist: Fix missed optimizations reported by Coverity in config

4 months agoAllow PRUNE/EXTEND to coexist with DELETE/REPLACE.
Miod Vallat [Fri, 5 Dec 2025 07:51:56 +0000 (08:51 +0100)] 
Allow PRUNE/EXTEND to coexist with DELETE/REPLACE.

This causes us to maintain a local cache of the rrsets being modified by
both sets of operations, so that we keep a consistent view of them during
the backend transaction, regardless of what the backend might be able to
return.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoRemove long dead code 16598/head
Josh Soref [Thu, 4 Dec 2025 16:58:14 +0000 (11:58 -0500)] 
Remove long dead code

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoRemove unused variable
Josh Soref [Thu, 4 Dec 2025 16:48:34 +0000 (11:48 -0500)] 
Remove unused variable

This matches the pattern from the examples:
https://github.com/shutterstock/rickshaw/blob/0e0671e6fdd843b6b0ea881600804fc57667925d/examples/scaled.html#L83-L89

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoSpelling fixes from review
Miod Vallat [Thu, 4 Dec 2025 16:12:59 +0000 (17:12 +0100)] 
Spelling fixes from review

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoLogic buglet found during review.
Miod Vallat [Thu, 4 Dec 2025 15:49:43 +0000 (16:49 +0100)] 
Logic buglet found during review.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMerge pull request #16596 from jsoref/codeql-remove-unused-imports
Miod Vallat [Thu, 4 Dec 2025 15:19:50 +0000 (16:19 +0100)] 
Merge pull request #16596 from jsoref/codeql-remove-unused-imports

Remove unused imports

4 months agoMerge pull request #16595 from jsoref/codeql-remove-unused-variable
Miod Vallat [Thu, 4 Dec 2025 14:55:00 +0000 (15:55 +0100)] 
Merge pull request #16595 from jsoref/codeql-remove-unused-variable

Remove unused variable

4 months agoMerge pull request #16594 from jsoref/codeql-test-promtool-result
Miod Vallat [Thu, 4 Dec 2025 14:42:28 +0000 (15:42 +0100)] 
Merge pull request #16594 from jsoref/codeql-test-promtool-result

Tolerate promtool failing with exit code 3

4 months agoRemove unused imports 16596/head
Josh Soref [Thu, 4 Dec 2025 14:16:15 +0000 (09:16 -0500)] 
Remove unused imports

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoAllow peeking at cache using an env var 16597/head
Josh Soref [Thu, 4 Dec 2025 14:22:42 +0000 (09:22 -0500)] 
Allow peeking at cache using an env var

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoPromtool may return 3 because of the "_total" suffix warnings 16594/head
Josh Soref [Thu, 4 Dec 2025 14:10:25 +0000 (09:10 -0500)] 
Promtool may return 3 because of the "_total" suffix warnings

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoMerge pull request #16593 from jsoref/codeql-unused-global-variable
Miod Vallat [Thu, 4 Dec 2025 14:03:15 +0000 (15:03 +0100)] 
Merge pull request #16593 from jsoref/codeql-unused-global-variable

Remove unused global variable

4 months agoRemove unused variable 16595/head
Josh Soref [Thu, 4 Dec 2025 13:39:52 +0000 (08:39 -0500)] 
Remove unused variable

It was introduced (unused) in b8db58a230959585880e15c097851c5139d90f45

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoAllow for multiple extend/prune in the same request as long as different RRsets.
Miod Vallat [Thu, 4 Dec 2025 13:26:29 +0000 (14:26 +0100)] 
Allow for multiple extend/prune in the same request as long as different RRsets.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoTolerate promtool failing with exit code 3
Josh Soref [Thu, 4 Dec 2025 13:11:12 +0000 (08:11 -0500)] 
Tolerate promtool failing with exit code 3

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoRemove unused global variable 16593/head
Josh Soref [Thu, 4 Dec 2025 12:47:33 +0000 (07:47 -0500)] 
Remove unused global variable

It was orphaned by 0bbd0a64dc496720155c575c5ff438a92b05e76c

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 months agoTests for EXTEND and PRUNE zone patch operations.
Miod Vallat [Wed, 3 Dec 2025 13:28:25 +0000 (14:28 +0100)] 
Tests for EXTEND and PRUNE zone patch operations.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoFix assert_in_json_error because I'm a careless python programmer.
Miod Vallat [Wed, 3 Dec 2025 13:03:33 +0000 (14:03 +0100)] 
Fix assert_in_json_error because I'm a careless python programmer.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoNew API zone patch feature: individual record add/delete (not rrset).
Miod Vallat [Wed, 3 Dec 2025 10:53:00 +0000 (11:53 +0100)] 
New API zone patch feature: individual record add/delete (not rrset).

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months 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>
4 months agoMerge pull request #16587 from omoerbeek/rec-coverity-20251203
Otto Moerbeek [Thu, 4 Dec 2025 09:02:40 +0000 (10:02 +0100)] 
Merge pull request #16587 from omoerbeek/rec-coverity-20251203

rec: coverity 20251203

4 months 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

4 months agoSplit patchZone() in smaller bits.
Miod Vallat [Mon, 1 Dec 2025 15:41:02 +0000 (16:41 +0100)] 
Split patchZone() in smaller bits.

This is preparation work for future changes which would likely to trigger
the "excessive cognitive complexity" diagnostic from clang-tidy, so cut
ahead.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months 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>
4 months ago1643551 Variable copied when it could be moved 16587/head
Otto Moerbeek [Wed, 3 Dec 2025 08:56:31 +0000 (09:56 +0100)] 
1643551 Variable copied when it could be moved

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months ago1643563 Variable copied when it could be moved
Otto Moerbeek [Wed, 3 Dec 2025 08:54:23 +0000 (09:54 +0100)] 
1643563 Variable copied when it could be moved

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months ago1643013 Check of thread-shared field evades lock acquisition
Otto Moerbeek [Wed, 3 Dec 2025 08:48:25 +0000 (09:48 +0100)] 
1643013 Check of thread-shared field evades lock acquisition

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoCoverity 1643564 Using a moved object
Otto Moerbeek [Wed, 3 Dec 2025 08:43:01 +0000 (09:43 +0100)] 
Coverity 1643564 Using a moved object

Looks harmless

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 months agoMake a comment more readable. 16348/head
Miod Vallat [Wed, 22 Oct 2025 14:45:55 +0000 (16:45 +0200)] 
Make a comment more readable.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoReduce lifespan of a couple more containers.
Miod Vallat [Wed, 22 Oct 2025 14:22:16 +0000 (16:22 +0200)] 
Reduce lifespan of a couple more containers.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoOne less function in need of a lint function-cognitive-complexity exemption.
Miod Vallat [Wed, 22 Oct 2025 13:22:50 +0000 (15:22 +0200)] 
One less function in need of a lint function-cognitive-complexity exemption.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoMove invariant test out of loop.
Miod Vallat [Wed, 22 Oct 2025 12:56:51 +0000 (14:56 +0200)] 
Move invariant test out of loop.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoApply that cool concept known as "factoring" to a logic block occurring 6 times.
Miod Vallat [Wed, 22 Oct 2025 12:48:12 +0000 (14:48 +0200)] 
Apply that cool concept known as "factoring" to a logic block occurring 6 times.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoRework logic around updateDNSSECOrderNameAndAuth() calls. NFCI
Miod Vallat [Wed, 22 Oct 2025 12:40:52 +0000 (14:40 +0200)] 
Rework logic around updateDNSSECOrderNameAndAuth() calls. NFCI

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months 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

4 months 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

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

4 months 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

4 months 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>
4 months 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

4 months 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

4 months 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

4 months 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>
4 months 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>
4 months 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>
4 months 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

4 months 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

4 months 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>
4 months 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

4 months 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

4 months 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

4 months 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>
4 months agoSkip reading SOA in LMDBBackend::getAllDomains() whenever possible. 16573/head
Miod Vallat [Fri, 28 Nov 2025 10:38:23 +0000 (11:38 +0100)] 
Skip reading SOA in LMDBBackend::getAllDomains() whenever possible.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months agoSkip SOA fetch in GeoIPBackend::getAllDomains if serials aren't needed.
Miod Vallat [Fri, 28 Nov 2025 10:27:22 +0000 (11:27 +0100)] 
Skip SOA fetch in GeoIPBackend::getAllDomains if serials aren't needed.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months 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

4 months 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

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

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

4 months 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

4 months 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

4 months 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

4 months 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.

4 months 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>
4 months agoMake record sorting in `pdnsutil zone list` optional. 16569/head
Miod Vallat [Thu, 27 Nov 2025 13:53:51 +0000 (14:53 +0100)] 
Make record sorting in `pdnsutil zone list` optional.

The memory and CPU usage on zones with millions of records would become
a serious concern, and of course we can't really know the number of
records beforehand.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months 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

4 months 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>
4 months 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>
4 months 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

4 months 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

4 months 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>
4 months 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

4 months 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

4 months agoFix PDNS_BUILD_PATH for non-meson builds. 16568/head
Miod Vallat [Thu, 27 Nov 2025 13:32:03 +0000 (14:32 +0100)] 
Fix PDNS_BUILD_PATH for non-meson builds.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 months 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

4 months 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>
4 months 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

4 months 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

4 months 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`

4 months 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

4 months 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>
4 months 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>
4 months 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>
4 months 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>
4 months 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

4 months 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>
4 months 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>
4 months 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>
4 months 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

4 months 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

4 months 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