]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 weeks agodnsdist: Apply suggestions from code review
Remi Gacogne [Mon, 6 Oct 2025 14:11:51 +0000 (16:11 +0200)] 
dnsdist: Apply suggestions from code review

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Document the new behaviour for custom LB policies written in Lua
Remi Gacogne [Mon, 6 Oct 2025 14:06:32 +0000 (16:06 +0200)] 
dnsdist: Document the new behaviour for custom LB policies written in Lua

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Fix CodeQL warnings
Remi Gacogne [Fri, 25 Jul 2025 10:05:12 +0000 (12:05 +0200)] 
dnsdist: Fix CodeQL warnings

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Simplify the least outstanding policy
Remi Gacogne [Tue, 22 Jul 2025 09:19:47 +0000 (11:19 +0200)] 
dnsdist: Simplify the least outstanding policy

The servers can no longer be updated under our feet, so we only need
one pass.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Refactor load-balancing policies
Remi Gacogne [Mon, 21 Jul 2025 15:04:40 +0000 (17:04 +0200)] 
dnsdist: Refactor load-balancing policies

Since we no longer need to increase the reference counter of the
returned backend (the runtime configuration cannot be updated be
updated under our feet anymore), we can return the position of the
selected backend in the initial array instead, significantly
reducing the performance cost of the load-balancing policies.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Only set the DNSQuestion packet cache after a cache miss
Remi Gacogne [Fri, 18 Jul 2025 14:15:53 +0000 (16:15 +0200)] 
dnsdist: Only set the DNSQuestion packet cache after a cache miss

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Server pools are no longer ref counted
Remi Gacogne [Fri, 18 Jul 2025 08:15:36 +0000 (10:15 +0200)] 
dnsdist: Server pools are no longer ref counted

Since the refactoring of the runtime configuration, the content of
a Server Pool is now in effect immutable, we have to create a new
copy and update it, so we no longer have to lock and reference count
Server Pools and their content.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #16191 from rgacogne/ddist-test-meson-dist
Remi Gacogne [Mon, 6 Oct 2025 13:59:28 +0000 (15:59 +0200)] 
Merge pull request #16191 from rgacogne/ddist-test-meson-dist

build-and-test-all: Build dnsdist and recursor via a release tarball

4 weeks agoMerge pull request #16205 from rgacogne/ddist-fix-settag-dynblock-doc
Remi Gacogne [Fri, 3 Oct 2025 10:50:43 +0000 (12:50 +0200)] 
Merge pull request #16205 from rgacogne/ddist-fix-settag-dynblock-doc

dnsdist: The dynamic block tag name is set via `tagName`, not `tagKey`

4 weeks agoMerge pull request #15929 from miodvallat/cement
Miod Vallat [Fri, 3 Oct 2025 05:07:35 +0000 (07:07 +0200)] 
Merge pull request #15929 from miodvallat/cement

grow auth source tarballs fatter

4 weeks agoMerge pull request #16204 from omoerbeek/rec-fix-dist
Otto Moerbeek [Thu, 2 Oct 2025 12:19:59 +0000 (14:19 +0200)] 
Merge pull request #16204 from omoerbeek/rec-fix-dist

rec: we need a usable cargo for sdist so do not download (and install) rust but use package

4 weeks agorec: Fix "Avoid generating doc files in a sdist based build" check in out-of-tree... 16191/head
Remi Gacogne [Thu, 2 Oct 2025 11:25:09 +0000 (13:25 +0200)] 
rec: Fix "Avoid generating doc files in a sdist based build" check in out-of-tree builds

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agobuild-and-test-all: Test rec release tarball via meson instead of autotools
Remi Gacogne [Thu, 2 Oct 2025 09:32:29 +0000 (11:32 +0200)] 
build-and-test-all: Test rec release tarball via meson instead of autotools

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16200 from omoerbeek/rec-coverity-20251002
Otto Moerbeek [Thu, 2 Oct 2025 09:30:45 +0000 (11:30 +0200)] 
Merge pull request #16200 from omoerbeek/rec-coverity-20251002

rec: fix a few issues reported by coverity, all minor

4 weeks agorec: Fix out-of-tree builds with autotools
Remi Gacogne [Thu, 2 Oct 2025 09:18:59 +0000 (11:18 +0200)] 
rec: Fix out-of-tree builds with autotools

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoActually do not install rust at all 16204/head
Otto Moerbeek [Thu, 2 Oct 2025 09:18:25 +0000 (11:18 +0200)] 
Actually do not install rust at all

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agodnsdist: The dynamic block tag name is set via `tagName`, not `tagKey` 16205/head
Remi Gacogne [Thu, 2 Oct 2025 09:12:43 +0000 (11:12 +0200)] 
dnsdist: The dynamic block tag name is set via `tagName`, not `tagKey`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16192 from rgacogne/ddist-health-check-latency-metric
Remi Gacogne [Thu, 2 Oct 2025 09:04:53 +0000 (11:04 +0200)] 
Merge pull request #16192 from rgacogne/ddist-health-check-latency-metric

dnsdist: Add a metric for the latency of the latest health-check

4 weeks agorec: we need a usable cargo for sdist so download (and install) rust later
Otto Moerbeek [Thu, 2 Oct 2025 08:21:03 +0000 (10:21 +0200)] 
rec: we need a usable cargo for sdist so download (and install) rust later

The install is needed for meson setup, which does not run the found executable,
so the error of a missing lib was never spotted.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16195 from miodvallat/cnt_spl_a_dmn
Peter van Dijk [Thu, 2 Oct 2025 08:38:53 +0000 (10:38 +0200)] 
Merge pull request #16195 from miodvallat/cnt_spl_a_dmn

auth: missing space in error message

4 weeks agorec: fix a few issues reported by coverity, all minor 16200/head
Otto Moerbeek [Thu, 2 Oct 2025 07:42:58 +0000 (09:42 +0200)] 
rec: fix a few issues reported by coverity, all minor

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16198 from Smoothengineer/master
Miod Vallat [Wed, 1 Oct 2025 13:39:00 +0000 (15:39 +0200)] 
Merge pull request #16198 from Smoothengineer/master

Fixed grammar in README.md

4 weeks agoFixed grammar in README.md 16198/head
Smoothengineer [Wed, 1 Oct 2025 12:47:05 +0000 (18:17 +0530)] 
Fixed grammar in README.md

Signed-off-by: Smoothengineer <160827599+Smoothengineer@users.noreply.github.com>
4 weeks agoBe sure to add the meson build files to the contents of `make dist'. 15929/head
Miod Vallat [Fri, 25 Jul 2025 13:52:29 +0000 (15:52 +0200)] 
Be sure to add the meson build files to the contents of `make dist'.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agosort EXTRA_DIST
Miod Vallat [Fri, 25 Jul 2025 14:09:45 +0000 (16:09 +0200)] 
sort EXTRA_DIST

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoThis does not try to generate the man pages if they are found in the tarball
Otto Moerbeek [Thu, 11 Sep 2025 14:07:10 +0000 (16:07 +0200)] 
This does not try to generate the man pages if they are found in the tarball

Same method as dnsdist and rec

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #15267 from romeroalx/store-packages-additional-repo
Alexis Romero [Wed, 1 Oct 2025 09:48:01 +0000 (11:48 +0200)] 
Merge pull request #15267 from romeroalx/store-packages-additional-repo

gh actions: upload packages to an additional repository

4 weeks agoMerge pull request #16194 from omoerbeek/rec-commands
Otto Moerbeek [Wed, 1 Oct 2025 08:15:38 +0000 (10:15 +0200)] 
Merge pull request #16194 from omoerbeek/rec-commands

rec: rework command dispatcher to be table based

4 weeks agobuild-and-test-all: Fix code coverage generation from meson dist tarball
Remi Gacogne [Mon, 29 Sep 2025 13:04:39 +0000 (15:04 +0200)] 
build-and-test-all: Fix code coverage generation from meson dist tarball

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agobuild-and-test-all: Fix bugs
Remi Gacogne [Mon, 29 Sep 2025 07:47:32 +0000 (09:47 +0200)] 
build-and-test-all: Fix bugs

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Fix out-of-tree autotools builds
Remi Gacogne [Fri, 26 Sep 2025 14:45:02 +0000 (16:45 +0200)] 
dnsdist: Fix out-of-tree autotools builds

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agobuild-and-test-all: No longer run dnsdist autotools build from distdir
Remi Gacogne [Fri, 26 Sep 2025 14:02:49 +0000 (16:02 +0200)] 
build-and-test-all: No longer run dnsdist autotools build from distdir

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agobuild-and-test-all: We always need Rust to build the dnsdist release tarball
Remi Gacogne [Fri, 26 Sep 2025 13:50:20 +0000 (15:50 +0200)] 
build-and-test-all: We always need Rust to build the dnsdist release tarball

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agobuild-and-test-all: Build dnsdist via a release tarball
Remi Gacogne [Fri, 26 Sep 2025 13:34:49 +0000 (15:34 +0200)] 
build-and-test-all: Build dnsdist via a release tarball

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16153 from rgacogne/ddist-docs-eol
Remi Gacogne [Mon, 29 Sep 2025 15:22:56 +0000 (17:22 +0200)] 
Merge pull request #16153 from rgacogne/ddist-docs-eol

dnsdist: Simplify EOL page

4 weeks agoMerge pull request #16193 from miodvallat/air_freshness
Miod Vallat [Mon, 29 Sep 2025 14:53:32 +0000 (16:53 +0200)] 
Merge pull request #16193 from miodvallat/air_freshness

lmdb: optional memory-only freshness check timestamp

4 weeks agoAdd missing space in error message. 16195/head
Miod Vallat [Mon, 29 Sep 2025 14:30:50 +0000 (16:30 +0200)] 
Add missing space in error message.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agodnsdist: Update the EOL text as suggested by Otto 16153/head
Remi Gacogne [Mon, 29 Sep 2025 14:03:10 +0000 (16:03 +0200)] 
dnsdist: Update the EOL text as suggested by Otto

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16132 from omoerbeek/rec-docs-eol
Otto Moerbeek [Mon, 29 Sep 2025 14:00:38 +0000 (16:00 +0200)] 
Merge pull request #16132 from omoerbeek/rec-docs-eol

rec doc: simplify EOL page

4 weeks agoMerge pull request #16151 from miodvallat/overscore
Miod Vallat [Mon, 29 Sep 2025 13:56:58 +0000 (15:56 +0200)] 
Merge pull request #16151 from miodvallat/overscore

auth: knob to allow underscores in hostnames

4 weeks agoBe more careful when initializing TransientDomainInfo. 16193/head
Miod Vallat [Mon, 29 Sep 2025 13:55:49 +0000 (15:55 +0200)] 
Be more careful when initializing TransientDomainInfo.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoHandle freshness check timestamps similarly to notified serials.
Miod Vallat [Mon, 29 Sep 2025 12:33:02 +0000 (14:33 +0200)] 
Handle freshness check timestamps similarly to notified serials.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agodnsdist: Make the health-check latency atomic 16192/head
Remi Gacogne [Mon, 29 Sep 2025 12:39:14 +0000 (14:39 +0200)] 
dnsdist: Make the health-check latency atomic

Otherwise TSAN rightfully complain that it is written from one thread
and read from several others.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agodnsdist: Fix typo spotted by Miod
Remi Gacogne [Mon, 29 Sep 2025 12:33:17 +0000 (14:33 +0200)] 
dnsdist: Fix typo spotted by Miod

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoInvoke Namingway and change a bunch of data structure names. NFCI
Miod Vallat [Mon, 29 Sep 2025 12:22:50 +0000 (14:22 +0200)] 
Invoke Namingway and change a bunch of data structure names. NFCI

This will make them look less awkward in the near future.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoUnderscores may appear in hostnames if RFC112-CONFORMANCE metadata is set to 0. 16151/head
Miod Vallat [Wed, 6 Aug 2025 10:01:14 +0000 (12:01 +0200)] 
Underscores may appear in hostnames if RFC112-CONFORMANCE metadata is set to 0.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMerge pull request #16185 from miodvallat/endless_negative_trouble
Miod Vallat [Mon, 29 Sep 2025 11:55:18 +0000 (13:55 +0200)] 
Merge pull request #16185 from miodvallat/endless_negative_trouble

auth: handle ENT in pipe backend

4 weeks agoMerge pull request #16179 from miodvallat/pdnsutil_shaken_not_stirred
Miod Vallat [Mon, 29 Sep 2025 11:55:01 +0000 (13:55 +0200)] 
Merge pull request #16179 from miodvallat/pdnsutil_shaken_not_stirred

pdnsutil: add zone copy command

4 weeks agoMerge pull request #16113 from miodvallat/cmos
Miod Vallat [Mon, 29 Sep 2025 11:51:38 +0000 (13:51 +0200)] 
Merge pull request #16113 from miodvallat/cmos

auth: remove confusing message

4 weeks agorec: rework command dispatcher to be table based 16194/head
Otto Moerbeek [Thu, 25 Sep 2025 13:39:50 +0000 (15:39 +0200)] 
rec: rework command dispatcher to be table based

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agos/following/subsequent/ 16132/head
Otto Moerbeek [Mon, 29 Sep 2025 11:04:20 +0000 (13:04 +0200)] 
s/following/subsequent/

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agodnsdist: Add a metric for the latency of the latest health-check
Remi Gacogne [Mon, 29 Sep 2025 10:28:16 +0000 (12:28 +0200)] 
dnsdist: Add a metric for the latency of the latest health-check

This is useful for monitoring purposes, since this latency is usually
not impacted by the content of the backend cache.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
4 weeks agoMerge pull request #16189 from miodvallat/nothing_to_see_here_move_along
Miod Vallat [Mon, 29 Sep 2025 09:49:53 +0000 (11:49 +0200)] 
Merge pull request #16189 from miodvallat/nothing_to_see_here_move_along

boring PR to move a single file

4 weeks agoMerge pull request #16188 from omoerbeek/rec-lib-version-followup
Otto Moerbeek [Mon, 29 Sep 2025 09:41:42 +0000 (11:41 +0200)] 
Merge pull request #16188 from omoerbeek/rec-lib-version-followup

rec: Fix release builds by updating the locked Rust lib version

4 weeks agoMerge pull request #16175 from omoerbeek/rec-help
Otto Moerbeek [Mon, 29 Sep 2025 09:11:50 +0000 (11:11 +0200)] 
Merge pull request #16175 from omoerbeek/rec-help

rec: move help text to a table so it's easier to maintain

4 weeks agoMerge pull request #16178 from rgacogne/ddist-pass-meta-keys-to-response
Remi Gacogne [Mon, 29 Sep 2025 09:09:56 +0000 (11:09 +0200)] 
Merge pull request #16178 from rgacogne/ddist-pass-meta-keys-to-response

dnsdist: Fix setting meta keys on response, pass them from question to response

4 weeks agoMove logr.hh to common directory. NFC 16189/head
Miod Vallat [Mon, 29 Sep 2025 08:53:17 +0000 (10:53 +0200)] 
Move logr.hh to common directory. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
4 weeks agoMerge pull request #16070 from rgacogne/ddist-skip-padding-by-default
Remi Gacogne [Mon, 29 Sep 2025 08:37:33 +0000 (10:37 +0200)] 
Merge pull request #16070 from rgacogne/ddist-skip-padding-by-default

dnsdist: Skip EDNS padding content by default in the packet cache

4 weeks agorec: Fix release builds by updating the locked Rust lib version 16188/head
Otto Moerbeek [Mon, 29 Sep 2025 08:24:45 +0000 (10:24 +0200)] 
rec: Fix release builds by updating the locked Rust lib version

Compare #16180 for dnsdist

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 weeks agoMerge pull request #16142 from pieterlexis/add-HHIT-BRID
Pieter Lexis [Mon, 29 Sep 2025 07:09:45 +0000 (09:09 +0200)] 
Merge pull request #16142 from pieterlexis/add-HHIT-BRID

feat: Add DRIP records (HHIT and BRID)

4 weeks agogh actions: upload packages to an additional repository 15267/head
romeroalx [Fri, 7 Mar 2025 07:00:19 +0000 (08:00 +0100)] 
gh actions: upload packages to an additional repository

5 weeks agoHandle ENT records (with no content) in pipe backend protocol. 16185/head
Miod Vallat [Fri, 26 Sep 2025 14:59:25 +0000 (16:59 +0200)] 
Handle ENT records (with no content) in pipe backend protocol.

Fixes: #15027
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMerge pull request #16184 from miodvallat/flush_your_domain's_teeth
Miod Vallat [Fri, 26 Sep 2025 12:41:05 +0000 (14:41 +0200)] 
Merge pull request #16184 from miodvallat/flush_your_domain's_teeth

auth: backend flush command

5 weeks agoAdd a pdns_control flush command, to instruct backends to write in-flight data. 16184/head
Miod Vallat [Fri, 26 Sep 2025 09:18:02 +0000 (11:18 +0200)] 
Add a pdns_control flush command, to instruct backends to write in-flight data.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMerge pull request #16183 from miodvallat/error_message_obscurity
Miod Vallat [Fri, 26 Sep 2025 09:40:10 +0000 (11:40 +0200)] 
Merge pull request #16183 from miodvallat/error_message_obscurity

auth: Provide more context in GeoIPbackend YAML parsing failures

5 weeks agoSort registration of pdns_control actions. NFC
Miod Vallat [Fri, 26 Sep 2025 08:24:20 +0000 (10:24 +0200)] 
Sort registration of pdns_control actions. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoProvide more context in GeoIP YAML parsing failures. 16183/head
Miod Vallat [Fri, 26 Sep 2025 07:31:33 +0000 (09:31 +0200)] 
Provide more context in GeoIP YAML parsing failures.

Fixes: #13064
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMerge pull request #16180 from rgacogne/ddist-fix-release-rust-update
Remi Gacogne [Fri, 26 Sep 2025 08:08:32 +0000 (10:08 +0200)] 
Merge pull request #16180 from rgacogne/ddist-fix-release-rust-update

dnsdist: Fix release builds by updating the locked Rust lib version

5 weeks agodnsdist: Fix release builds by updating the locked Rust lib version 16180/head
Remi Gacogne [Thu, 25 Sep 2025 13:14:40 +0000 (15:14 +0200)] 
dnsdist: Fix release builds by updating the locked Rust lib version

Since we are now dynamically setting the version of our internal Rust library
when generating the release tarball, `cargo` needs to update the `Cargo.lock`
file to reflect the new version, which is not possible if we are passing `--locked`:
```
error: the lock file /pdns/dnsdist-2.1.0-alpha0.870.master.gc64b979bc/dnsdist-rust-lib/rust/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.
```
This commit fixes that also updating the `Cargo.lock` file when generating the
release tarball so that `cargo` no longer needs to update the `Cargo.lock`.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoAdd a pdnsutil "zone copy" command, and suggest its use for views. 16179/head
Miod Vallat [Thu, 25 Sep 2025 13:44:43 +0000 (15:44 +0200)] 
Add a pdnsutil "zone copy" command, and suggest its use for views.

Fixes: #5798
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agodnsdist: Fix setting meta keys on response, pass them from question to response 16178/head
Remi Gacogne [Thu, 25 Sep 2025 10:01:52 +0000 (12:01 +0200)] 
dnsdist: Fix setting meta keys on response, pass them from question to response

This commit fixes setting Protocol Buffer meta keys on DNS response via Lua FFI:
the existing code was assuming it was possible to use the question methods on a
response object which is not true and would likely have ended in a crash at some
point.
It also propates meta keys set on a DNS question to the corresponding DNS response.
Before this commit the values were not passed along to the response which was quite
unexpected, especially for self-answered responses.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoMerge pull request #16176 from miodvallat/lmdb_polish
Miod Vallat [Thu, 25 Sep 2025 11:51:21 +0000 (13:51 +0200)] 
Merge pull request #16176 from miodvallat/lmdb_polish

auth: some more lmdb polish

5 weeks agoUse two-line format as pdnsutil does 16175/head
Otto Moerbeek [Thu, 25 Sep 2025 07:34:17 +0000 (09:34 +0200)] 
Use two-line format as pdnsutil does

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoSort includes.
Miod Vallat [Fri, 5 Sep 2025 06:06:08 +0000 (08:06 +0200)] 
Sort includes.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoAddress some coverity-reported warnings.
Miod Vallat [Fri, 5 Sep 2025 06:00:42 +0000 (08:00 +0200)] 
Address some coverity-reported warnings.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoMerge pull request #16140 from rgacogne/fix-tcp-downstream-freebsd
Remi Gacogne [Thu, 25 Sep 2025 08:47:08 +0000 (10:47 +0200)] 
Merge pull request #16140 from rgacogne/fix-tcp-downstream-freebsd

dnsdist: Fix reentry issue in TCP downstream I/O on macOS/BSD

5 weeks agoMerge pull request #16162 from rgacogne/documentation-remove-netlify
Remi Gacogne [Thu, 25 Sep 2025 08:44:31 +0000 (10:44 +0200)] 
Merge pull request #16162 from rgacogne/documentation-remove-netlify

documentation: Stop pushing to netlify

5 weeks agoRemove .netlify from .gitignore 16162/head
Remi Gacogne [Thu, 25 Sep 2025 07:34:02 +0000 (09:34 +0200)] 
Remove .netlify from .gitignore

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agodnsdist: Remove redundant assignment noticed by Otto 16140/head
Remi Gacogne [Thu, 25 Sep 2025 07:32:37 +0000 (09:32 +0200)] 
dnsdist: Remove redundant assignment noticed by Otto

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoFree more resources at the end of a lookup operation. 16176/head
Miod Vallat [Thu, 25 Sep 2025 06:41:04 +0000 (08:41 +0200)] 
Free more resources at the end of a lookup operation.

In particular, lookupEnd() could keep unprocessed record data in memory
until the next lookup operation, for no good reason.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agoGroup the various fields used for lookups in their own struct. NFC
Miod Vallat [Thu, 25 Sep 2025 06:35:54 +0000 (08:35 +0200)] 
Group the various fields used for lookups in their own struct. NFC

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 weeks agorec: move help text to a table so it's easier to maintain
Otto Moerbeek [Wed, 24 Sep 2025 14:22:30 +0000 (16:22 +0200)] 
rec: move help text to a table so it's easier to maintain

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agochore: clang-tidy does not like boilerplate_conv 16142/head
Pieter Lexis [Mon, 22 Sep 2025 07:40:16 +0000 (09:40 +0200)] 
chore: clang-tidy does not like boilerplate_conv

5 weeks agofeat: Add DRIP records (HHIT and BRID)
Pieter Lexis [Fri, 19 Sep 2025 09:16:42 +0000 (11:16 +0200)] 
feat: Add DRIP records (HHIT and BRID)

These are defined in draft-ietf-drip-registries-33.

5 weeks agoMerge pull request #16168 from Habbie/auth-4.9.9-docs
Miod Vallat [Wed, 24 Sep 2025 08:57:25 +0000 (10:57 +0200)] 
Merge pull request #16168 from Habbie/auth-4.9.9-docs

auth-4.9.9: docs & secpoll

5 weeks agoMerge pull request #16167 from omoerbeek/rec-update-rust-version-on-dist
Otto Moerbeek [Wed, 24 Sep 2025 05:25:03 +0000 (07:25 +0200)] 
Merge pull request #16167 from omoerbeek/rec-update-rust-version-on-dist

rec: Update the Rust library version when generating a tarball

5 weeks agoMerge pull request #16169 from rgacogne/build-docker-images-tags-perms
Peter van Dijk [Tue, 23 Sep 2025 15:13:42 +0000 (17:13 +0200)] 
Merge pull request #16169 from rgacogne/build-docker-images-tags-perms

build-docker-images-tags: Grant enough permissions to sign images

5 weeks agodocker: Grant enough permissions to sign images 16169/head
Remi Gacogne [Tue, 23 Sep 2025 14:19:53 +0000 (16:19 +0200)] 
docker: Grant enough permissions to sign images

5 weeks agobuild-docker-images-tags: Grant enough permissions to sign images
Remi Gacogne [Tue, 23 Sep 2025 14:15:13 +0000 (16:15 +0200)] 
build-docker-images-tags: Grant enough permissions to sign images

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoauth-4.9.9: docs & secpoll 16168/head
Peter van Dijk [Tue, 23 Sep 2025 13:59:46 +0000 (15:59 +0200)] 
auth-4.9.9: docs & secpoll

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
5 weeks agorec: Update the Rust library version when generating a tarball 16167/head
Otto Moerbeek [Tue, 23 Sep 2025 12:54:43 +0000 (14:54 +0200)] 
rec: Update the Rust library version when generating a tarball

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
5 weeks agoMerge pull request #16155 from rgacogne/ddist-update-rust-version-on-dist
Remi Gacogne [Tue, 23 Sep 2025 12:48:25 +0000 (14:48 +0200)] 
Merge pull request #16155 from rgacogne/ddist-update-rust-version-on-dist

dnsdist: Update the Rust library version when generating a tarball

5 weeks agoMerge pull request #16166 from rgacogne/ddist-fix-unused-rust-struct
Remi Gacogne [Tue, 23 Sep 2025 12:39:20 +0000 (14:39 +0200)] 
Merge pull request #16166 from rgacogne/ddist-fix-unused-rust-struct

dnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning

5 weeks agodnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning 16166/head
Remi Gacogne [Tue, 23 Sep 2025 10:18:30 +0000 (12:18 +0200)] 
dnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning

```
warning: struct `UnusedStruct` is never constructed
  --> src/lib.rs:10:8
   |
10 | struct UnusedStruct {}
   |        ^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
```

The warning that this struct was introduced to fix seems to be gone
anyway.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoMerge pull request #16163 from omoerbeek/link-ai-policy
Otto Moerbeek [Tue, 23 Sep 2025 09:42:09 +0000 (11:42 +0200)] 
Merge pull request #16163 from omoerbeek/link-ai-policy

PR template: Make the mention of the AI policy a link

5 weeks agodnsdist: Error out in meson-sdist-script.sh when BUILDER_VERSION is unset 16155/head
Remi Gacogne [Mon, 22 Sep 2025 15:02:24 +0000 (17:02 +0200)] 
dnsdist: Error out in meson-sdist-script.sh when BUILDER_VERSION is unset

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agodnsdist: Add comment about the Rust library version being automatically updated
Remi Gacogne [Mon, 22 Sep 2025 15:01:28 +0000 (17:01 +0200)] 
dnsdist: Add comment about the Rust library version being automatically updated

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoupdate-rust-library-version: Not DNSdist-specific
Remi Gacogne [Mon, 22 Sep 2025 10:15:03 +0000 (12:15 +0200)] 
update-rust-library-version: Not DNSdist-specific

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agodnsdist: Update the Rust library version when generating a tarball
Remi Gacogne [Mon, 22 Sep 2025 09:43:11 +0000 (11:43 +0200)] 
dnsdist: Update the Rust library version when generating a tarball

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
5 weeks agoPR template: Make the mention of the AI policy a link 16163/head
Otto Moerbeek [Tue, 23 Sep 2025 08:23:03 +0000 (10:23 +0200)] 
PR template: Make the mention of the AI policy a link

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>