]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 weeks agobuild(deps): bump h2 from 4.2.0 to 4.3.0 in /regression-tests.dnsdist 16054/head
dependabot[bot] [Thu, 28 Aug 2025 11:30:37 +0000 (11:30 +0000)] 
build(deps): bump h2 from 4.2.0 to 4.3.0 in /regression-tests.dnsdist

Bumps [h2](https://github.com/python-hyper/h2) from 4.2.0 to 4.3.0.
- [Changelog](https://github.com/python-hyper/h2/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/python-hyper/h2/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: h2
  dependency-version: 4.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agoMerge pull request #16022 from romeroalx/fix-pip-pinning-2508
Alexis Romero [Thu, 28 Aug 2025 10:11:17 +0000 (12:11 +0200)] 
Merge pull request #16022 from romeroalx/fix-pip-pinning-2508

Update Python package pinning for setup_requires dependency `pbr` to version `7.0.1`

3 weeks agoMerge pull request #16043 from omoerbeek/dnsdist-build-gcc8
Otto Moerbeek [Thu, 28 Aug 2025 09:09:19 +0000 (11:09 +0200)] 
Merge pull request #16043 from omoerbeek/dnsdist-build-gcc8

dnsdist: allow building wth gcc8, which needs -lstdc++fs as link argument

3 weeks agoMerge pull request #16042 from omoerbeek/dnsdist-incr-macro
Otto Moerbeek [Thu, 28 Aug 2025 08:37:02 +0000 (10:37 +0200)] 
Merge pull request #16042 from omoerbeek/dnsdist-incr-macro

dnsdist: don't increment in a potential macro argument

3 weeks agodnsdist: allow building wth gcc8, which needs -lstdc++fs as link argument 16043/head
Otto Moerbeek [Thu, 28 Aug 2025 08:15:16 +0000 (10:15 +0200)] 
dnsdist: allow building wth gcc8, which needs -lstdc++fs as link argument

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agodnsdist: don't increment in a potential macro argument 16042/head
Otto Moerbeek [Thu, 28 Aug 2025 07:53:53 +0000 (09:53 +0200)] 
dnsdist: don't increment in a potential macro argument

Fixes g++ 8: ../dnsdist-crypto.cc:291:16: warning: operation on 'count' may be undefined [-Wsequence-point]

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agoMerge pull request #16038 from rgacogne/ddist-add-missing-dist-files
Remi Gacogne [Thu, 28 Aug 2025 07:29:16 +0000 (09:29 +0200)] 
Merge pull request #16038 from rgacogne/ddist-add-missing-dist-files

dnsdist: Add missing generated files to the dist tarball

3 weeks agoMerge pull request #15537 from romeroalx/ci-daily-build-pkgs-rel
Alexis Romero [Tue, 26 Aug 2025 20:13:13 +0000 (22:13 +0200)] 
Merge pull request #15537 from romeroalx/ci-daily-build-pkgs-rel

GH actions: add daily build-packages for rel/* branches to ci

3 weeks agoMerge pull request #15874 from rgacogne/ddist-get-current-runtime-config-optimization
Remi Gacogne [Tue, 26 Aug 2025 15:12:42 +0000 (17:12 +0200)] 
Merge pull request #15874 from rgacogne/ddist-get-current-runtime-config-optimization

dnsdist: Only check the freshness of the configuration when needed

3 weeks agodnsdist: Add missing generated files to the dist tarball 16038/head
Remi Gacogne [Tue, 26 Aug 2025 11:58:54 +0000 (13:58 +0200)] 
dnsdist: Add missing generated files to the dist tarball

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Expose `refreshRuntimeConfiguration` to Lua 15874/head
Remi Gacogne [Mon, 25 Aug 2025 13:22:39 +0000 (15:22 +0200)] 
dnsdist: Expose `refreshRuntimeConfiguration` to Lua

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #16007 from rgacogne/ddist-h2-25
Remi Gacogne [Mon, 25 Aug 2025 12:19:22 +0000 (14:19 +0200)] 
Merge pull request #16007 from rgacogne/ddist-h2-25

dnsdist: Add mitigations for the HTTP/2 MadeYouReset attack

3 weeks agoMerge pull request #16034 from rgacogne/ddist-upgrade-h2o-226pdns3
Remi Gacogne [Mon, 25 Aug 2025 12:18:45 +0000 (14:18 +0200)] 
Merge pull request #16034 from rgacogne/ddist-upgrade-h2o-226pdns3

dnsdist: Upgrade h2o to 2.2.6-pdns3

3 weeks agoMerge pull request #16033 from miodvallat/boost_your_readability
Miod Vallat [Mon, 25 Aug 2025 11:48:28 +0000 (13:48 +0200)] 
Merge pull request #16033 from miodvallat/boost_your_readability

Remove boost < 1.54 leftovers

3 weeks agodnsdist: Fix invalid log formatters spotted by Otto 16007/head
Remi Gacogne [Mon, 25 Aug 2025 11:08:41 +0000 (13:08 +0200)] 
dnsdist: Fix invalid log formatters spotted by Otto

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoRemove preprocessor check for Boost < 1.54. 16033/head
Miod Vallat [Mon, 25 Aug 2025 10:25:17 +0000 (12:25 +0200)] 
Remove preprocessor check for Boost < 1.54.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoRemove workaround for Boost 1.53 since we require at least 1.54 to build.
Miod Vallat [Mon, 25 Aug 2025 10:23:24 +0000 (12:23 +0200)] 
Remove workaround for Boost 1.53 since we require at least 1.54 to build.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agodnsdist: Upgrade h2o to 2.2.6-pdns3 16034/head
Remi Gacogne [Mon, 25 Aug 2025 09:43:54 +0000 (11:43 +0200)] 
dnsdist: Upgrade h2o to 2.2.6-pdns3

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #16021 from omoerbeek/rec-include-logr
Otto Moerbeek [Mon, 25 Aug 2025 08:26:55 +0000 (10:26 +0200)] 
Merge pull request #16021 from omoerbeek/rec-include-logr

rec: include logr.hh in bridge.hh

3 weeks agorec: include logr.hh in bridge.hh 16021/head
Otto Moerbeek [Mon, 25 Aug 2025 07:11:20 +0000 (09:11 +0200)] 
rec: include logr.hh in bridge.hh

Not doing so results in creating a shared pointer to an incomplete class,
which does not work for all compilers/c++ lib combinations.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 weeks agogh actions: add daily build-packages for rel/* branches 15537/head
romeroalx [Wed, 7 May 2025 04:02:37 +0000 (06:02 +0200)] 
gh actions: add daily build-packages for rel/* branches

3 weeks agogh actions: removed daily buider for rel/* branches
romeroalx [Tue, 20 May 2025 09:23:46 +0000 (11:23 +0200)] 
gh actions: removed daily buider for rel/* branches

3 weeks agopip pinning: update requirements.txt for pbr 7.0.1 16022/head
romeroalx [Mon, 25 Aug 2025 06:52:15 +0000 (08:52 +0200)] 
pip pinning: update requirements.txt for pbr 7.0.1

3 weeks agoMerge pull request #16011 from omoerbeek/rec-path-unlink-unmodernize
Otto Moerbeek [Fri, 22 Aug 2025 14:13:54 +0000 (16:13 +0200)] 
Merge pull request #16011 from omoerbeek/rec-path-unlink-unmodernize

rec: Path.unlink(True) requires python 3.8, rewrite so it works on older versions

3 weeks agoMerge pull request #15988 from Habbie/noracular
Peter van Dijk [Fri, 22 Aug 2025 13:20:36 +0000 (15:20 +0200)] 
Merge pull request #15988 from Habbie/noracular

drop ubuntu oracular, it is EOL

3 weeks agodnsdist: Also refresh the configuration when `recvmmsg` is used
Remi Gacogne [Fri, 22 Aug 2025 13:20:04 +0000 (15:20 +0200)] 
dnsdist: Also refresh the configuration when `recvmmsg` is used

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #16006 from miodvallat/12154-redone
Miod Vallat [Fri, 22 Aug 2025 13:19:34 +0000 (15:19 +0200)] 
Merge pull request #16006 from miodvallat/12154-redone

More zone names in error messages

3 weeks agoMerge pull request #15952 from miodvallat/system_five
Miod Vallat [Fri, 22 Aug 2025 13:16:26 +0000 (15:16 +0200)] 
Merge pull request #15952 from miodvallat/system_five

auth: update CI for 5.x

3 weeks agoMerge pull request #16012 from miodvallat/knocking_on_server's_door
Miod Vallat [Fri, 22 Aug 2025 10:32:03 +0000 (12:32 +0200)] 
Merge pull request #16012 from miodvallat/knocking_on_server's_door

auth: 5.0.0 release notes and secpoll update

3 weeks ago5.0.0 release notes and secpoll update 16012/head
Miod Vallat [Thu, 21 Aug 2025 14:20:34 +0000 (16:20 +0200)] 
5.0.0 release notes and secpoll update

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMerge pull request #15931 from rgacogne/ddist-faster-response-content-matching
Remi Gacogne [Thu, 21 Aug 2025 15:50:32 +0000 (17:50 +0200)] 
Merge pull request #15931 from rgacogne/ddist-faster-response-content-matching

dnsdist: Speed up response content matching

4 weeks agoMerge pull request #15930 from rgacogne/ddist-backend-qps-limiter
Remi Gacogne [Thu, 21 Aug 2025 15:50:03 +0000 (17:50 +0200)] 
Merge pull request #15930 from rgacogne/ddist-backend-qps-limiter

dnsdist: Backend QPS limit refactoring

4 weeks agoMerge pull request #15935 from rgacogne/ddist-incoming-concurrent-tcp-conn-counter...
Remi Gacogne [Thu, 21 Aug 2025 15:49:44 +0000 (17:49 +0200)] 
Merge pull request #15935 from rgacogne/ddist-incoming-concurrent-tcp-conn-counter-cleanup

dnsdist: Clean up incoming TCP connections counters once per minute

4 weeks agoRefactor `DNSName::matches` around `pdns_ilexicographical_compare_three_way` 15931/head
Remi Gacogne [Thu, 21 Aug 2025 14:40:29 +0000 (16:40 +0200)] 
Refactor `DNSName::matches` around `pdns_ilexicographical_compare_three_way`

And rename it to hopefully prevent any confusion regarding when it can be used.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16010 from omoerbeek/rec-pubsuffix-followup
Otto Moerbeek [Thu, 21 Aug 2025 14:30:16 +0000 (16:30 +0200)] 
Merge pull request #16010 from omoerbeek/rec-pubsuffix-followup

rec: check for pubsuffix.cc presence, followup to #15782

4 weeks agodnsdist: Remove unused `BasicQPSLimiter` and `QPSLimiter` ctors 15930/head
Remi Gacogne [Thu, 21 Aug 2025 14:18:56 +0000 (16:18 +0200)] 
dnsdist: Remove unused `BasicQPSLimiter` and `QPSLimiter` ctors

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16009 from miodvallat/backport-15991-to-auth-5.0.x
Miod Vallat [Thu, 21 Aug 2025 14:06:04 +0000 (16:06 +0200)] 
Merge pull request #16009 from miodvallat/backport-15991-to-auth-5.0.x

auth-5.0: backport "Fix Boost system lib dependency: it is no longer available since 1.89"

4 weeks agodnsdist: Fix error in comment spotted by Otto (seconds -> minutes) 15935/head
Remi Gacogne [Thu, 21 Aug 2025 13:49:43 +0000 (15:49 +0200)] 
dnsdist: Fix error in comment spotted by Otto (seconds -> minutes)

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agorec: Path.unlink(True) requires python 3.8, rewrite so it works on older versions 16011/head
Otto Moerbeek [Thu, 21 Aug 2025 13:39:15 +0000 (15:39 +0200)] 
rec: Path.unlink(True) requires python 3.8, rewrite so it works on older versions

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agodnsdist: Apply Miod and clang-tidy's suggestions
Remi Gacogne [Thu, 21 Aug 2025 13:43:01 +0000 (15:43 +0200)] 
dnsdist: Apply Miod and clang-tidy's suggestions

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agorec: check for pubsuffix.cc presence, followup to #15782 16010/head
Otto Moerbeek [Thu, 21 Aug 2025 13:27:24 +0000 (15:27 +0200)] 
rec: check for pubsuffix.cc presence, followup to #15782

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #15943 from zjs604381586/answer-log
Otto Moerbeek [Thu, 21 Aug 2025 13:25:17 +0000 (15:25 +0200)] 
Merge pull request #15943 from zjs604381586/answer-log

add tc flag in answer log

4 weeks agoFix Boost system lib dependency: it is no longer available since 1.89 16009/head
Otto Moerbeek [Tue, 19 Aug 2025 12:42:12 +0000 (14:42 +0200)] 
Fix Boost system lib dependency: it is no longer available since 1.89

To do that, partly sync with upstream boost.m4

Should fix #15972

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit e096f48218dd2ea82fc907ff62e4cbced121ca8b)

4 weeks agoPut zone names (or what failed to parse as a zone) in error messages. 16006/head
Miod Vallat [Thu, 21 Aug 2025 11:56:51 +0000 (13:56 +0200)] 
Put zone names (or what failed to parse as a zone) in error messages.

Co-Authored-By: nlmark <github@mscholten.eu>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoadd tc flag in answer log 15943/head
Otto Moerbeek [Thu, 21 Aug 2025 12:08:21 +0000 (14:08 +0200)] 
add tc flag in answer log

4 weeks agoMerge pull request #15995 from omoerbeek/prep-rec-5.3.0-rc1
Otto Moerbeek [Thu, 21 Aug 2025 10:52:27 +0000 (12:52 +0200)] 
Merge pull request #15995 from omoerbeek/prep-rec-5.3.0-rc1

Prep for rec-5.3.0-rc1

4 weeks agodnsdist: Stop reading on incoming DoH sockets if we are done
Remi Gacogne [Mon, 28 Jul 2025 14:33:46 +0000 (16:33 +0200)] 
dnsdist: Stop reading on incoming DoH sockets if we are done

If the underlying library doesn't want to read, we have nothing
to send at the moment, but we are still waiting for responses,
there is no need to keep polling the socket.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Fix the accounting of "killed" streams
Remi Gacogne [Mon, 28 Jul 2025 14:31:36 +0000 (16:31 +0200)] 
dnsdist: Fix the accounting of "killed" streams

The way the nghttp2 library works means that we can get notified
that a stream has been closed while we are still in the function
sending the actual response. This is not a "killed" stream, but
just a regular closure.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Define `dnsdist::doh::MAX_INCOMING_CONCURRENT_STREAMS`
Remi Gacogne [Fri, 20 Jun 2025 11:44:33 +0000 (13:44 +0200)] 
dnsdist: Define `dnsdist::doh::MAX_INCOMING_CONCURRENT_STREAMS`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Tentative h2o fix for MadeYouReset
Remi Gacogne [Thu, 19 Jun 2025 10:39:11 +0000 (12:39 +0200)] 
dnsdist: Tentative h2o fix for MadeYouReset

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Enforce concurrent streams count for pending queries
Remi Gacogne [Thu, 19 Jun 2025 09:18:27 +0000 (11:18 +0200)] 
dnsdist: Enforce concurrent streams count for pending queries

The gist of the `MadeYouRest` attack is that streams can be reset
by the client, and thus no longer count towards the maximum number
of a streams as far as the library is concerned, while the server
is still processing the query and doing actual work.
This pull request introduces a counter for "killed but still being
processed streams" to prevent it.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16002 from rgacogne/ddist-quiche-0.24.5
Remi Gacogne [Thu, 21 Aug 2025 09:30:57 +0000 (11:30 +0200)] 
Merge pull request #16002 from rgacogne/ddist-quiche-0.24.5

dnsdist: Update Cloudflare's Quiche to 0.24.5 in our packages

4 weeks agodnsdist: Update Cloudflare's Quiche to 0.24.5 in our packages 16002/head
Remi Gacogne [Thu, 21 Aug 2025 08:12:11 +0000 (10:12 +0200)] 
dnsdist: Update Cloudflare's Quiche to 0.24.5 in our packages

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #15997 from omoerbeek/rec-slog-zap
Otto Moerbeek [Thu, 21 Aug 2025 08:03:49 +0000 (10:03 +0200)] 
Merge pull request #15997 from omoerbeek/rec-slog-zap

rec: remove SLOG macro usage in rec specific code

4 weeks agoMerge pull request #15844 from rgacogne/lmdb-safe-remove-ro-tx-counter
Remi Gacogne [Thu, 21 Aug 2025 07:38:25 +0000 (09:38 +0200)] 
Merge pull request #15844 from rgacogne/lmdb-safe-remove-ro-tx-counter

lmdb-safe: Remove the read-only transactions counter

4 weeks agoMerge pull request #15959 from Habbie/dnsdist-report-yaml-feature
Remi Gacogne [Thu, 21 Aug 2025 07:23:48 +0000 (09:23 +0200)] 
Merge pull request #15959 from Habbie/dnsdist-report-yaml-feature

dnsdist --version: report yaml support

4 weeks agows-recursor.cc was left behind 15997/head
Otto Moerbeek [Wed, 20 Aug 2025 11:45:31 +0000 (13:45 +0200)] 
ws-recursor.cc was left behind

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoAlso refactor code conditional on g_slogStructured
Otto Moerbeek [Wed, 20 Aug 2025 11:34:23 +0000 (13:34 +0200)] 
Also refactor code conditional on g_slogStructured

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agorec: remove old style logging calls from rec specific code
Otto Moerbeek [Wed, 9 Jul 2025 11:52:31 +0000 (13:52 +0200)] 
rec: remove old style logging calls from rec specific code

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoPrep for rec-5.3.0-rc1 15995/head
Otto Moerbeek [Wed, 20 Aug 2025 08:57:23 +0000 (10:57 +0200)] 
Prep for rec-5.3.0-rc1

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #15991 from omoerbeek/boost-fix-system-lib-dep
Otto Moerbeek [Wed, 20 Aug 2025 05:31:52 +0000 (07:31 +0200)] 
Merge pull request #15991 from omoerbeek/boost-fix-system-lib-dep

Fix Boost system lib req: it is no longer a lib for boost >= 1.89

4 weeks agoMerge pull request #15992 from jsoref/reword-spoof_nearmiss_max
Otto Moerbeek [Wed, 20 Aug 2025 05:31:35 +0000 (07:31 +0200)] 
Merge pull request #15992 from jsoref/reword-spoof_nearmiss_max

rec: reword `spoof_nearmiss_max` description

4 weeks agorec: reword spoof_nearmiss_max description 15992/head
Josh Soref [Tue, 19 Aug 2025 17:03:18 +0000 (13:03 -0400)] 
rec: reword spoof_nearmiss_max description

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
4 weeks agoFix Boost system lib dependency: it is no longer available since 1.89 15991/head
Otto Moerbeek [Tue, 19 Aug 2025 12:42:12 +0000 (14:42 +0200)] 
Fix Boost system lib dependency: it is no longer available since 1.89

To do that, partly sync with upstream boost.m4

Should fix #15972

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #15979 from romeroalx/fix-pip-pinning-1807
Peter van Dijk [Tue, 19 Aug 2025 07:46:21 +0000 (09:46 +0200)] 
Merge pull request #15979 from romeroalx/fix-pip-pinning-1807

Update Python package pinning for setup_requires dependency `pbr` to version 7.0.0

4 weeks agoMerge pull request #15980 from miodvallat/backport-15962-to-auth-5.0.x
Peter van Dijk [Tue, 19 Aug 2025 07:44:13 +0000 (09:44 +0200)] 
Merge pull request #15980 from miodvallat/backport-15962-to-auth-5.0.x

auth-5.0: be a bit more explicit regarding @ no longer being magic in pdnsutil

4 weeks agodrop ubuntu oracular, it is EOL 15988/head
Peter van Dijk [Tue, 19 Aug 2025 07:34:59 +0000 (09:34 +0200)] 
drop ubuntu oracular, it is EOL

4 weeks agoMerge pull request #15934 from omoerbeek/rec-debian-control
Otto Moerbeek [Mon, 18 Aug 2025 11:52:32 +0000 (13:52 +0200)] 
Merge pull request #15934 from omoerbeek/rec-debian-control

rec: move back to a single debian control file

4 weeks agoMerge pull request #15981 from omoerbeek/rec-followup-15756
Otto Moerbeek [Mon, 18 Aug 2025 11:40:40 +0000 (13:40 +0200)] 
Merge pull request #15981 from omoerbeek/rec-followup-15756

rec: add back parent span attributes, they were lost in #15756

4 weeks agorec: add back parent span attributes, they were lost in #15756 15981/head
Otto Moerbeek [Mon, 18 Aug 2025 10:51:56 +0000 (12:51 +0200)] 
rec: add back parent span attributes, they were lost in #15756

Fixes #15974

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoBe a bit more explicit regarding @ no longer being magic in pdnsutil. 15980/head
Miod Vallat [Wed, 6 Aug 2025 06:32:37 +0000 (08:32 +0200)] 
Be a bit more explicit regarding @ no longer being magic in pdnsutil.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 950e990ff43a06166a3c54ad826980d957ff42fe)

4 weeks agoMerge pull request #15962 from miodvallat/docaffee
Miod Vallat [Mon, 18 Aug 2025 09:06:35 +0000 (11:06 +0200)] 
Merge pull request #15962 from miodvallat/docaffee

auth: be a bit more explicit regarding @ no longer being magic in pdnsutil

4 weeks agoMerge pull request #15864 from miodvallat/lmdb_polish
Miod Vallat [Mon, 18 Aug 2025 09:06:16 +0000 (11:06 +0200)] 
Merge pull request #15864 from miodvallat/lmdb_polish

auth: objectionable LMDB logic speedups

4 weeks agoDeserialize bool variables as bool. 15864/head
Miod Vallat [Mon, 18 Aug 2025 07:40:30 +0000 (09:40 +0200)] 
Deserialize bool variables as bool.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agopip pinning: update requirements.txt for pbr 7.0.0 15979/head
romeroalx [Mon, 18 Aug 2025 07:38:01 +0000 (09:38 +0200)] 
pip pinning: update requirements.txt for pbr 7.0.0

4 weeks agoReplace magic numbers with less-magic constexpr values in deserialization code.
Miod Vallat [Mon, 18 Aug 2025 07:32:36 +0000 (09:32 +0200)] 
Replace magic numbers with less-magic constexpr values in deserialization code.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMerge pull request #15958 from miodvallat/impatient
Miod Vallat [Mon, 18 Aug 2025 06:34:52 +0000 (08:34 +0200)] 
Merge pull request #15958 from miodvallat/impatient

Prefer milliseconds to microseconds for timeouts

4 weeks agoMerge pull request #15955 from zeha/rpzmaster
Otto Moerbeek [Mon, 18 Aug 2025 06:33:50 +0000 (08:33 +0200)] 
Merge pull request #15955 from zeha/rpzmaster

rec: test rpzPrimary instead of rpzMaster

4 weeks agoMerge pull request #15450 from miodvallat/abort_retry_ignore
Miod Vallat [Mon, 18 Aug 2025 06:15:42 +0000 (08:15 +0200)] 
Merge pull request #15450 from miodvallat/abort_retry_ignore

[auth] smarter backend lookup aborts

4 weeks agoMerge pull request #15971 from miodvallat/saturday_morning_breakfast_serial
Miod Vallat [Mon, 18 Aug 2025 06:13:15 +0000 (08:13 +0200)] 
Merge pull request #15971 from miodvallat/saturday_morning_breakfast_serial

pdnsutil: smarter SOA handling in zone edit

4 weeks agoMerge pull request #15968 from miodvallat/sorta_ordered
Miod Vallat [Mon, 18 Aug 2025 05:35:29 +0000 (07:35 +0200)] 
Merge pull request #15968 from miodvallat/sorta_ordered

auth: List supported record types in alphabetical order

4 weeks agoSlightly better function name. 15971/head
Miod Vallat [Mon, 18 Aug 2025 05:26:25 +0000 (07:26 +0200)] 
Slightly better function name.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMerge pull request #15802 from StalkR/debian-preinst-remove-old-init.d-references
Peter van Dijk [Thu, 14 Aug 2025 10:49:42 +0000 (12:49 +0200)] 
Merge pull request #15802 from StalkR/debian-preinst-remove-old-init.d-references

debian: recursor/auth: remove old preinst files

5 weeks agoAdmit defeat against clang-tidy for now
Miod Vallat [Mon, 11 Aug 2025 12:06:08 +0000 (14:06 +0200)] 
Admit defeat against clang-tidy for now

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoExit earlier if no changes in the edit.
Miod Vallat [Mon, 11 Aug 2025 12:18:31 +0000 (14:18 +0200)] 
Exit earlier if no changes in the edit.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoSuggest increasing the serial number even if SOA changes but serial doesn't.
Miod Vallat [Mon, 11 Aug 2025 11:09:20 +0000 (13:09 +0200)] 
Suggest increasing the serial number even if SOA changes but serial doesn't.

Fixes: #13169
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoDisplay the before/after SOA records when updating serial number.
Miod Vallat [Mon, 11 Aug 2025 10:21:18 +0000 (12:21 +0200)] 
Display the before/after SOA records when updating serial number.

This used to be the case and then the code kept building the string but
would no longer output it...

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoNo need to keep a bunch of string in memory after having printed them.
Miod Vallat [Mon, 11 Aug 2025 09:59:21 +0000 (11:59 +0200)] 
No need to keep a bunch of string in memory after having printed them.

And this allows the serial increase block to do less work.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMove "zone edit" SOA increase code to a separate routine.
Miod Vallat [Mon, 11 Aug 2025 09:45:55 +0000 (11:45 +0200)] 
Move "zone edit" SOA increase code to a separate routine.

Change its interface so that it can report the lack of an SOA record,
in which case we go to the "invalid zone data" state to give the user
a chance to repair the zone.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoRework editZone variable scope again.
Miod Vallat [Mon, 11 Aug 2025 09:27:25 +0000 (11:27 +0200)] 
Rework editZone variable scope again.

We only need grouped when setting up the replaceRRSet() calls, so only
build it at this point.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoAppease clang-tidy
Miod Vallat [Mon, 11 Aug 2025 09:11:16 +0000 (11:11 +0200)] 
Appease clang-tidy

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMove some of editZone into separate routines.
Miod Vallat [Mon, 11 Aug 2025 07:47:09 +0000 (09:47 +0200)] 
Move some of editZone into separate routines.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoPick better state names, rework variable scope a bit.
Miod Vallat [Mon, 11 Aug 2025 07:07:32 +0000 (09:07 +0200)] 
Pick better state names, rework variable scope a bit.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoRework editZone() to use a state machine instead of gotos. NFCI
Miod Vallat [Mon, 11 Aug 2025 06:49:02 +0000 (08:49 +0200)] 
Rework editZone() to use a state machine instead of gotos. NFCI

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoList supported record types in alphabetical order. 15968/head
Miod Vallat [Thu, 7 Aug 2025 12:14:38 +0000 (14:14 +0200)] 
List supported record types in alphabetical order.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoMerge pull request #15964 from miodvallat/498_changelog
Miod Vallat [Thu, 7 Aug 2025 09:58:23 +0000 (11:58 +0200)] 
Merge pull request #15964 from miodvallat/498_changelog

auth 4.9.8 changelog and secpoll update

6 weeks agoMerge pull request #15965 from Ikke/docs-geoip-lua-records
Miod Vallat [Thu, 7 Aug 2025 05:38:26 +0000 (07:38 +0200)] 
Merge pull request #15965 from Ikke/docs-geoip-lua-records

docs: clarify geoip service health checks uses lua records

6 weeks agodocs: clarify geoip service health checks uses lua records 15965/head
Kevin Daudt [Wed, 6 Aug 2025 18:47:47 +0000 (20:47 +0200)] 
docs: clarify geoip service health checks uses lua records

The geoip backend documentation mentions:

> Additionally, the GeoIP backend can be used to provide service over
> several clusters, any of which can be taken out of use easily, for
> example for maintenance purposes.

But no details on how that is achieved. Without knowing Lua records
exist, it's hard to find how to do it.

Add a reference to the Lua records documentation to make it easier to
see the connection.

Signed-off-by: Kevin Daudt <me@ikke.info>
6 weeks ago4.9.8 changelog and secpoll update. 15964/head
Miod Vallat [Wed, 6 Aug 2025 14:36:07 +0000 (16:36 +0200)] 
4.9.8 changelog and secpoll update.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoBe a bit more explicit regarding @ no longer being magic in pdnsutil. 15962/head
Miod Vallat [Wed, 6 Aug 2025 06:32:37 +0000 (08:32 +0200)] 
Be a bit more explicit regarding @ no longer being magic in pdnsutil.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>