]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
8 months agoMerge pull request #15915 from omoerbeek/rust-build-env
Otto Moerbeek [Mon, 28 Jul 2025 05:43:27 +0000 (07:43 +0200)] 
Merge pull request #15915 from omoerbeek/rust-build-env

rec and dnsdist: properly set up env vars for rust build

8 months agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Fri, 25 Jul 2025 14:55:18 +0000 (16:55 +0200)] 
dnsdist: Fix clang-tidy warnings

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoci: Don't install Rust or Quiche when testing DNSdist 'least' 15937/head
Remi Gacogne [Fri, 25 Jul 2025 14:42:00 +0000 (16:42 +0200)] 
ci: Don't install Rust or Quiche when testing DNSdist 'least'

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Ensure the runtime configuration is updated in the SNMP thread
Remi Gacogne [Fri, 25 Jul 2025 14:28:56 +0000 (16:28 +0200)] 
dnsdist: Ensure the runtime configuration is updated in the SNMP thread

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Speed up response content matching
Remi Gacogne [Fri, 25 Jul 2025 14:12:39 +0000 (16:12 +0200)] 
dnsdist: Speed up response content matching

This commit introduces a new method to compare a `DNSName`
against a view of raw, wire-format bytes, skipping the
allocation and copy that is usually required to get a
second `DNSName` object to compare against.
This signifitcantly reduces the amount of time matching
a DNS response received from a backend against the content
we expect to find.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoDo not use countLabels() in chopOff() loop conditions. 15922/head
Miod Vallat [Fri, 25 Jul 2025 13:00:13 +0000 (15:00 +0200)] 
Do not use countLabels() in chopOff() loop conditions.

Instead, compute it once outside of the loop in a local variable and
decrement that variable.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoMore use of hasLabels
Miod Vallat [Fri, 25 Jul 2025 12:59:06 +0000 (14:59 +0200)] 
More use of hasLabels

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoAddress clang-tidy complains.
Miod Vallat [Fri, 25 Jul 2025 09:10:32 +0000 (11:10 +0200)] 
Address clang-tidy complains.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoSimplify some DNSName label processing.
Miod Vallat [Fri, 25 Jul 2025 07:05:25 +0000 (09:05 +0200)] 
Simplify some DNSName label processing.

Instead of checking countLabels() against zero, introduce a faster
hasLabels() which does not need to actually count them.

Also replace getRawLabels()[n] with getRawLabel(n), the only difference
being that getRawLabel() will raise an exception if n is out of bounds,
instead of returning garbage.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoUse ERCode symbolic names instead of their numerical values.
Miod Vallat [Fri, 25 Jul 2025 06:30:33 +0000 (08:30 +0200)] 
Use ERCode symbolic names instead of their numerical values.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoFactor logic checking for a zone metadata being equal to "1".
Miod Vallat [Fri, 25 Jul 2025 06:21:53 +0000 (08:21 +0200)] 
Factor logic checking for a zone metadata being equal to "1".

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoDeclare global const DNSName variables for frequently-used names
Miod Vallat [Fri, 25 Jul 2025 06:03:36 +0000 (08:03 +0200)] 
Declare global const DNSName variables for frequently-used names

(such as the TSIG key algorithms)

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoBuild the DNSName in order in keyUnconv. 15928/head
Miod Vallat [Fri, 25 Jul 2025 10:34:23 +0000 (12:34 +0200)] 
Build the DNSName in order in keyUnconv.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agodnsdist: Test netmask exclusions via YAML 15923/head
Remi Gacogne [Fri, 25 Jul 2025 08:08:58 +0000 (10:08 +0200)] 
dnsdist: Test netmask exclusions via YAML

Follow-up to #15822.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoMerge pull request #15890 from rgacogne/lua-wrapper-std-optional
Remi Gacogne [Fri, 25 Jul 2025 08:02:00 +0000 (10:02 +0200)] 
Merge pull request #15890 from rgacogne/lua-wrapper-std-optional

LuaWrapper: Add support for `std::optional`

8 months agoMerge pull request #15916 from rgacogne/ddist-rings-update-atomic-outside-lock
Remi Gacogne [Thu, 24 Jul 2025 15:25:20 +0000 (17:25 +0200)] 
Merge pull request #15916 from rgacogne/ddist-rings-update-atomic-outside-lock

dnsdist: Update rings' atomic counter without holding the lock

8 months agoMerge pull request #15917 from rgacogne/ddist-early-return-empty-chains
Remi Gacogne [Thu, 24 Jul 2025 15:25:07 +0000 (17:25 +0200)] 
Merge pull request #15917 from rgacogne/ddist-early-return-empty-chains

dnsdist: Return early when a rule chain is empty

8 months agoMerge pull request #15918 from rgacogne/ddist-cache-update-atomic-outside-lock
Remi Gacogne [Thu, 24 Jul 2025 15:24:58 +0000 (17:24 +0200)] 
Merge pull request #15918 from rgacogne/ddist-cache-update-atomic-outside-lock

dnsdist: Update a cache's atomic counter without holding the lock

8 months agodnsdist: Upgrade Cloudflare's Quiche to 0.24.4 15919/head
Remi Gacogne [Thu, 24 Jul 2025 14:49:52 +0000 (16:49 +0200)] 
dnsdist: Upgrade Cloudflare's Quiche to 0.24.4

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Update a cache's atomic counter without holding the lock 15918/head
Remi Gacogne [Thu, 24 Jul 2025 14:02:39 +0000 (16:02 +0200)] 
dnsdist: Update a cache's atomic counter without holding the lock

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Return early when a rule chain is empty 15917/head
Remi Gacogne [Tue, 22 Jul 2025 09:19:19 +0000 (11:19 +0200)] 
dnsdist: Return early when a rule chain is empty

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Update rings' atomic counter without holding the lock 15916/head
Remi Gacogne [Tue, 22 Jul 2025 09:18:38 +0000 (11:18 +0200)] 
dnsdist: Update rings' atomic counter without holding the lock

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agorec and dnsdist: properly set up env vars 15915/head
Otto Moerbeek [Thu, 24 Jul 2025 13:41:50 +0000 (15:41 +0200)] 
rec and dnsdist: properly set up env vars

env.append() appends to an existing value

Should fix the error in #15896, but the reported location of cargo
still might be wrong.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 months agoMerge pull request #15902 from rgacogne/ddist-fix-qtype-rate
Remi Gacogne [Thu, 24 Jul 2025 13:09:31 +0000 (15:09 +0200)] 
Merge pull request #15902 from rgacogne/ddist-fix-qtype-rate

dnsdist: Fix QType rate dynamic block with YAML

8 months agodnsdist: Fix invalid "qps" in Quickstart Guide 15914/head
Remi Gacogne [Thu, 24 Jul 2025 12:56:52 +0000 (14:56 +0200)] 
dnsdist: Fix invalid "qps" in Quickstart Guide

As noted by Holger Hoffstätte, the quickstart guide has an outdated
YAML configuration sample which is no longer valid. `qps` has been
renamed to `queries_per_second` well before the release candidates.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Explicitly update the configuration thread-local copy
Remi Gacogne [Thu, 17 Jul 2025 15:10:04 +0000 (17:10 +0200)] 
dnsdist: Explicitly update the configuration thread-local copy

This commits ensures that all DNSdist threads are regularly checking
if there is a new version of the runtime-modifiable configuration and
update their local copy if necessary. Regular accesses to the copy
are now fully read-only, meaning they do not invalidate the current copy.
It prevents the case where a function is invalidating the copy that the
caller is holding, and makes accessing the configuration cheaper.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoMerge pull request #15899 from miodvallat/betamax
Miod Vallat [Thu, 24 Jul 2025 10:50:08 +0000 (12:50 +0200)] 
Merge pull request #15899 from miodvallat/betamax

auth 5.0.0ß1 changelog + secpoll

8 months agodnsdist: Fix restricted network families when building with meson 15904/head
Remi Gacogne [Thu, 24 Jul 2025 09:42:03 +0000 (11:42 +0200)] 
dnsdist: Fix restricted network families when building with meson

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Fix systemd template unit when building with meson
Remi Gacogne [Thu, 24 Jul 2025 09:41:38 +0000 (11:41 +0200)] 
dnsdist: Fix systemd template unit when building with meson

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoMerge pull request #15893 from omoerbeek/rec-rpz-custom-cname-chain auth-5.0.0-beta1
Otto Moerbeek [Thu, 24 Jul 2025 09:21:12 +0000 (11:21 +0200)] 
Merge pull request #15893 from omoerbeek/rec-rpz-custom-cname-chain

rec: try harder to follow cname chain on RPZ hit with custom CNAME record

8 months agodnsdist: Apply Miod's suggestions (thanks!) 15902/head
Remi Gacogne [Thu, 24 Jul 2025 09:17:04 +0000 (11:17 +0200)] 
dnsdist: Apply Miod's suggestions (thanks!)

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoChangelog and secpoll update for 5.0.0-beta1. 15899/head
Miod Vallat [Thu, 24 Jul 2025 06:43:33 +0000 (08:43 +0200)] 
Changelog and secpoll update for 5.0.0-beta1.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 months agoMerge pull request #15900 from omoerbeek/rec-prep-5.3.0-beta1
Otto Moerbeek [Thu, 24 Jul 2025 09:08:39 +0000 (11:08 +0200)] 
Merge pull request #15900 from omoerbeek/rec-prep-5.3.0-beta1

rec: prep for rec-5.3.0-beta1

8 months agodnsdist: Fix QType rate dynamic block with YAML
Remi Gacogne [Thu, 24 Jul 2025 08:57:28 +0000 (10:57 +0200)] 
dnsdist: Fix QType rate dynamic block with YAML

The YAML configuration for the the "QType rate" dynamic block was
totally broken, trying to configure a rcode rate rule instead of a
qtype rate one.
Thanks to HellSpawn for reporting this the issue!

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agotest-luawrapper: Appease the clang-tidy gods 15890/head
Remi Gacogne [Thu, 24 Jul 2025 08:12:57 +0000 (10:12 +0200)] 
test-luawrapper: Appease the clang-tidy gods

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoTypos in comments 15893/head
Otto Moerbeek [Thu, 24 Jul 2025 08:06:21 +0000 (10:06 +0200)] 
Typos in comments

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 months agorec: prep for rec-5.3.0-beta1 15900/head
Otto Moerbeek [Wed, 23 Jul 2025 13:14:58 +0000 (15:14 +0200)] 
rec: prep for rec-5.3.0-beta1

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 months agoUse unmodified flag for post policy
Otto Moerbeek [Thu, 24 Jul 2025 05:25:13 +0000 (07:25 +0200)] 
Use unmodified flag for post policy

8 months agorec: if a RPZ hit has a custom CNAME record, we should try harder to follow it
Otto Moerbeek [Wed, 23 Jul 2025 10:06:41 +0000 (12:06 +0200)] 
rec: if a RPZ hit has a custom CNAME record, we should try harder to follow it

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 months agoLuaWrapper: Add support for `std::optional`
Remi Gacogne [Tue, 22 Jul 2025 12:05:56 +0000 (14:05 +0200)] 
LuaWrapper: Add support for `std::optional`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoMerge pull request #15888 from omoerbeek/rec-ottrace-align rec-5.4.0-alpha0
Otto Moerbeek [Tue, 22 Jul 2025 11:15:46 +0000 (13:15 +0200)] 
Merge pull request #15888 from omoerbeek/rec-ottrace-align

rec: add a reserved/alignment byte in EDNS record

8 months agorec: add a reserved/alignment byte in EDNS record 15888/head
Otto Moerbeek [Tue, 22 Jul 2025 10:11:48 +0000 (12:11 +0200)] 
rec: add a reserved/alignment byte in EDNS record

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 months agoMerge pull request #15887 from omoerbeek/rec-version-edns-traceid
Otto Moerbeek [Tue, 22 Jul 2025 09:32:02 +0000 (11:32 +0200)] 
Merge pull request #15887 from omoerbeek/rec-version-edns-traceid

rec: add version to edns record for OpenTelemetry data

8 months agoBetter code for setting and getting traceids and spanids from EDNS 15887/head
Otto Moerbeek [Mon, 21 Jul 2025 13:53:59 +0000 (15:53 +0200)] 
Better code for setting and getting traceids and spanids from EDNS

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 months agoMerge pull request #15885 from rgacogne/ddist200-eol
Remi Gacogne [Mon, 21 Jul 2025 14:54:02 +0000 (16:54 +0200)] 
Merge pull request #15885 from rgacogne/ddist200-eol

dnsdist: Update EOL statements now that 2.0.0 has been released

8 months agosecpoll: Mark EOL DNSdist versions as such 15885/head
Remi Gacogne [Mon, 21 Jul 2025 13:19:39 +0000 (15:19 +0200)] 
secpoll: Mark EOL DNSdist versions as such

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agodnsdist: Update EOL statements now that 2.0.0 has been released
Remi Gacogne [Mon, 21 Jul 2025 12:58:58 +0000 (14:58 +0200)] 
dnsdist: Update EOL statements now that 2.0.0 has been released

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 months agoMerge pull request #15882 from rgacogne/ddist200-changelog-secpoll
Remi Gacogne [Mon, 21 Jul 2025 12:57:23 +0000 (14:57 +0200)] 
Merge pull request #15882 from rgacogne/ddist200-changelog-secpoll

dnsdist: Update ChangeLog and security polling zone for 2.0.0

8 months agoAdd a 1 byte version number to edns option OTTRACEIDS
Otto Moerbeek [Mon, 21 Jul 2025 12:44:51 +0000 (14:44 +0200)] 
Add a 1 byte version number to edns option OTTRACEIDS

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 months agodnsdist: Update ChangeLog and security polling zone for 2.0.0 15882/head
Remi Gacogne [Mon, 21 Jul 2025 10:04:32 +0000 (12:04 +0200)] 
dnsdist: Update ChangeLog and security polling zone for 2.0.0

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agoMerge pull request #15883 from omoerbeek/recp-prep-20260722
Otto Moerbeek [Mon, 21 Jul 2025 11:51:10 +0000 (13:51 +0200)] 
Merge pull request #15883 from omoerbeek/recp-prep-20260722

rec: Prep for rec 20250721 releases

9 months agoFix spell checking 15883/head
Otto Moerbeek [Mon, 21 Jul 2025 11:30:56 +0000 (13:30 +0200)] 
Fix spell checking

9 months agoFix spell check issues
Otto Moerbeek [Mon, 21 Jul 2025 11:24:45 +0000 (13:24 +0200)] 
Fix spell check issues

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
9 months agoMerge pull request #15859 from aerique/feature/update-repo-test-script
aerique [Mon, 21 Jul 2025 10:58:33 +0000 (12:58 +0200)] 
Merge pull request #15859 from aerique/feature/update-repo-test-script

Update repo test script.

9 months agoPrep for rec 20250721 releases
Otto Moerbeek [Thu, 17 Jul 2025 08:44:03 +0000 (10:44 +0200)] 
Prep for rec 20250721 releases

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
9 months agoMerge pull request #15824 from rgacogne/ddist-test-built-in-console-client
Remi Gacogne [Mon, 21 Jul 2025 09:08:35 +0000 (11:08 +0200)] 
Merge pull request #15824 from rgacogne/ddist-test-built-in-console-client

dnsdist: Test the built-in console client in our regression tests

9 months agoMerge pull request #15872 from rgacogne/ddist-only-parse-z-once
Remi Gacogne [Mon, 21 Jul 2025 09:06:21 +0000 (11:06 +0200)] 
Merge pull request #15872 from rgacogne/ddist-only-parse-z-once

dnsdist: Only parse EDNS Z once

9 months agoMerge pull request #15869 from rgacogne/get21z-speedup
Remi Gacogne [Mon, 21 Jul 2025 07:24:32 +0000 (09:24 +0200)] 
Merge pull request #15869 from rgacogne/get21z-speedup

dnsdist: Small speedup for `getEDNSUDPPayloadSizeAndZ()`

9 months agopdnsutil tsigkey {de,}activate: do not setDomainMetadata with unchanged data. 15873/head
Miod Vallat [Mon, 21 Jul 2025 06:34:04 +0000 (08:34 +0200)] 
pdnsutil tsigkey {de,}activate: do not setDomainMetadata with unchanged data.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoMake AXFR-MASTER-TSIG really a single item metadata.
Miod Vallat [Mon, 21 Jul 2025 06:27:39 +0000 (08:27 +0200)] 
Make AXFR-MASTER-TSIG really a single item metadata.

In pdnsutil zone show, only list the first item if more than one.
In the API, do not allow setting more than one item.

Fixes: #9015
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoMerge pull request #15867 from miodvallat/interesting_times
Miod Vallat [Mon, 21 Jul 2025 04:27:28 +0000 (06:27 +0200)] 
Merge pull request #15867 from miodvallat/interesting_times

Provide record timestamps in the API

9 months agodnsdist: Only parse EDNS Z once 15872/head
Remi Gacogne [Thu, 17 Jul 2025 15:11:11 +0000 (17:11 +0200)] 
dnsdist: Only parse EDNS Z once

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agodnsparser: Add a comment explaining that the OPT RR has to be in additional 15869/head
Remi Gacogne [Fri, 18 Jul 2025 15:05:37 +0000 (17:05 +0200)] 
dnsparser: Add a comment explaining that the OPT RR has to be in additional

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agoMerge pull request #15871 from rgacogne/ddist-pool-unordered-map
Remi Gacogne [Fri, 18 Jul 2025 14:24:36 +0000 (16:24 +0200)] 
Merge pull request #15871 from rgacogne/ddist-pool-unordered-map

dnsdist: Use an unordered map for pools

9 months agoMerge pull request #15870 from rgacogne/ddist-only-create-dnsresponse-when-needed
Remi Gacogne [Fri, 18 Jul 2025 13:57:34 +0000 (15:57 +0200)] 
Merge pull request #15870 from rgacogne/ddist-only-create-dnsresponse-when-needed

dnsdist: Avoid constructing a DNSResponse object when not really needed

9 months agoMerge pull request #15868 from rgacogne/ddist-mac-addr-cache-scalability
Remi Gacogne [Fri, 18 Jul 2025 13:18:56 +0000 (15:18 +0200)] 
Merge pull request #15868 from rgacogne/ddist-mac-addr-cache-scalability

dnsdist: Improve the scalability of the MAC address cache

9 months agodnsdist: Use an unordered map for pools 15871/head
Remi Gacogne [Fri, 18 Jul 2025 10:06:29 +0000 (12:06 +0200)] 
dnsdist: Use an unordered map for pools

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agodnsdist: Avoid constructing a DNSResponse object when not really needed 15870/head
Remi Gacogne [Tue, 15 Jul 2025 14:27:31 +0000 (16:27 +0200)] 
dnsdist: Avoid constructing a DNSResponse object when not really needed

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agodnsdist: Small speedup for getEDNSUDPPayloadSizeAndZ()
Remi Gacogne [Fri, 18 Jul 2025 10:07:12 +0000 (12:07 +0200)] 
dnsdist: Small speedup for getEDNSUDPPayloadSizeAndZ()

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agodnsdist: Improve the scalability of the MAC address cache 15868/head
Remi Gacogne [Fri, 18 Jul 2025 10:06:48 +0000 (12:06 +0200)] 
dnsdist: Improve the scalability of the MAC address cache

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agoCheck that timestamp exist and increase if LMDB. 15867/head
Miod Vallat [Fri, 18 Jul 2025 10:18:39 +0000 (12:18 +0200)] 
Check that timestamp exist and increase if LMDB.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoThat ought to silence clang-tidy.
Miod Vallat [Fri, 18 Jul 2025 09:36:36 +0000 (11:36 +0200)] 
That ought to silence clang-tidy.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoProvide rrset timestamps in LMDB.
Miod Vallat [Fri, 18 Jul 2025 08:27:25 +0000 (10:27 +0200)] 
Provide rrset timestamps in LMDB.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoFilter possible timestamps in rrsets.
Miod Vallat [Fri, 18 Jul 2025 08:17:35 +0000 (10:17 +0200)] 
Filter possible timestamps in rrsets.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoReturn record last modification time in API when known.
Miod Vallat [Fri, 18 Jul 2025 07:07:18 +0000 (09:07 +0200)] 
Return record last modification time in API when known.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoMerge pull request #15865 from zeha/fsfaddress
Miod Vallat [Fri, 18 Jul 2025 04:44:04 +0000 (06:44 +0200)] 
Merge pull request #15865 from zeha/fsfaddress

Remove old FSF address

9 months agoMerge pull request #15704 from miodvallat/polyglot
Miod Vallat [Thu, 17 Jul 2025 15:23:18 +0000 (17:23 +0200)] 
Merge pull request #15704 from miodvallat/polyglot

Rework pdnsutil command syntax for more consistency and future flexibility

9 months agoMerge pull request #15863 from miodvallat/sigaction
Miod Vallat [Thu, 17 Jul 2025 15:00:32 +0000 (17:00 +0200)] 
Merge pull request #15863 from miodvallat/sigaction

RFC9615 fallout

9 months agoMerge pull request #15861 from rgacogne/ddist-fix-out-of-tree-builds-autotools
Remi Gacogne [Thu, 17 Jul 2025 13:40:39 +0000 (15:40 +0200)] 
Merge pull request #15861 from rgacogne/ddist-fix-out-of-tree-builds-autotools

dnsdist: Fix out-of-tree builds with autotools

9 months agoRemove old FSF address 15865/head
Chris Hofstaedtler [Thu, 17 Jul 2025 13:36:25 +0000 (15:36 +0200)] 
Remove old FSF address

9 months agoPerform case-insensitive checks for _dsboot and _signal. 15863/head
Miod Vallat [Thu, 17 Jul 2025 11:50:52 +0000 (13:50 +0200)] 
Perform case-insensitive checks for _dsboot and _signal.

Reminded by Kees Monshouwer.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoappease clang-tidy.
Miod Vallat [Thu, 17 Jul 2025 11:57:21 +0000 (13:57 +0200)] 
appease clang-tidy.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoAdd a few "peek" routines...
Miod Vallat [Thu, 17 Jul 2025 10:43:26 +0000 (12:43 +0200)] 
Add a few "peek" routines...

...which look at specific record fields without performing a complete
deserialization, especially the memcpy of the record payload.

This (hopefully) allows for faster operation, especially during NSEC3
record maintainance.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoFix a few lies in comments.
Miod Vallat [Thu, 17 Jul 2025 10:15:31 +0000 (12:15 +0200)] 
Fix a few lies in comments.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agodnsdist: Fix out-of-tree builds with autotools 15861/head
Remi Gacogne [Thu, 17 Jul 2025 10:16:31 +0000 (12:16 +0200)] 
dnsdist: Fix out-of-tree builds with autotools

Stolen from Habbie, many thanks!

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agoBe smarter and skip deleting NSEC3 entries which we know do not exist.
Miod Vallat [Thu, 17 Jul 2025 10:07:16 +0000 (12:07 +0200)] 
Be smarter and skip deleting NSEC3 entries which we know do not exist.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoMore sugar for <name withheld>. 15704/head
Miod Vallat [Wed, 16 Jul 2025 14:21:15 +0000 (16:21 +0200)] 
More sugar for <name withheld>.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoStill mention the old pdnsutil syntax when applicable.
Miod Vallat [Wed, 16 Jul 2025 14:20:47 +0000 (16:20 +0200)] 
Still mention the old pdnsutil syntax when applicable.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoMove "zone show" from DNSSEC to main zone command section.
Miod Vallat [Thu, 10 Jul 2025 19:06:53 +0000 (21:06 +0200)] 
Move "zone show" from DNSSEC to main zone command section.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoUse new pdnsutil syntax.
Miod Vallat [Thu, 17 Jul 2025 08:36:49 +0000 (10:36 +0200)] 
Use new pdnsutil syntax.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoUse singular for views as object name in pdnsutil.
Miod Vallat [Thu, 10 Jul 2025 19:04:55 +0000 (21:04 +0200)] 
Use singular for views as object name in pdnsutil.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoUpdate documentation to reflect new pdnsutil syntax.
Miod Vallat [Thu, 26 Jun 2025 15:25:19 +0000 (17:25 +0200)] 
Update documentation to reflect new pdnsutil syntax.

Add an old-to-new command table to the 5.0 upgrade notes.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoOverhaul pdnsutil command name parsing again.
Miod Vallat [Fri, 20 Jun 2025 09:48:22 +0000 (11:48 +0200)] 
Overhaul pdnsutil command name parsing again.

We are moving towards a more consistent command naming scheme, where the
general syntax is:
  pdnsutil object-type command args...
where 'object-type' is a noun and 'command' is a verb.

For example, in this new world order, "pdnsutil list-zone" becomes
"pdnsutil zone list", "pdnsutil set-meta" becomes "pdnsutil metadata
set", etc.

The old world order commands are still recognized and their behaviour is
not modified.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agoUpdate repo test script. 15859/head
Erik Winkels [Thu, 17 Jul 2025 09:28:14 +0000 (11:28 +0200)] 
Update repo test script.

The changes to the repo test script hadn't been pushed to the repo for
a while.

9 months agoMerge pull request #15858 from rgacogne/ddist-20-rc2-secpoll-changelog
Remi Gacogne [Thu, 17 Jul 2025 09:23:32 +0000 (11:23 +0200)] 
Merge pull request #15858 from rgacogne/ddist-20-rc2-secpoll-changelog

dnsdist: Update ChangeLog and the security polling for 2.0.0-rc2

9 months agoMerge pull request #15848 from omoerbeek/rec-chain-ecs
Otto Moerbeek [Thu, 17 Jul 2025 08:59:19 +0000 (10:59 +0200)] 
Merge pull request #15848 from omoerbeek/rec-chain-ecs

rec: chain and harden ECS enabled queries

9 months agoRework updateEmptyNonTerminal remove-all logic to not use too much memory.
Miod Vallat [Thu, 17 Jul 2025 08:16:55 +0000 (10:16 +0200)] 
Rework updateEmptyNonTerminal remove-all logic to not use too much memory.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 months agodnsdist: Update ChangeLog and the security polling for 2.0.0-rc2 15858/head
Remi Gacogne [Thu, 17 Jul 2025 08:12:03 +0000 (10:12 +0200)] 
dnsdist: Update ChangeLog and the security polling for 2.0.0-rc2

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
9 months agoMerge pull request #15822 from rgacogne/ddist-fix-nmg-objects-yaml
Remi Gacogne [Thu, 17 Jul 2025 07:39:59 +0000 (09:39 +0200)] 
Merge pull request #15822 from rgacogne/ddist-fix-nmg-objects-yaml

dnsdist: Allow registering NMG objects from YAML

9 months agoMerge pull request #15855 from ITJamie/delete-matching-domains-v2
Miod Vallat [Thu, 17 Jul 2025 07:32:13 +0000 (09:32 +0200)] 
Merge pull request #15855 from ITJamie/delete-matching-domains-v2

delete existing matching zones during (re)import