]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 days 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>
5 days agoMerge pull request #15894 from miodvallat/honk_if_you_like_to_rectify
Miod Vallat [Mon, 4 Aug 2025 13:15:59 +0000 (15:15 +0200)] 
Merge pull request #15894 from miodvallat/honk_if_you_like_to_rectify

scrub harder in zone rectify

5 days agoMerge pull request #15957 from RvdE/patch-1
Miod Vallat [Mon, 4 Aug 2025 04:42:03 +0000 (06:42 +0200)] 
Merge pull request #15957 from RvdE/patch-1

Add missing #if statements to dnsdist-lua.cc

5 days agoAdd missing #if statements to dnsdist-lua.cc 15957/head
RvdE [Sun, 3 Aug 2025 20:25:33 +0000 (22:25 +0200)] 
Add missing #if statements to dnsdist-lua.cc

This adds some missing #if statements to support building without OpenSSL.

Signed-off-by: RvdE <tremere@cainites.net>
8 days agoMerge pull request #15939 from rgacogne/ddist-increase-leeway-for-timeout-response...
Remi Gacogne [Thu, 31 Jul 2025 20:05:09 +0000 (22:05 +0200)] 
Merge pull request #15939 from rgacogne/ddist-increase-leeway-for-timeout-response-test

dnsdist: Increase the time granted for the "timeout then restart" test

9 days agoMerge pull request #15866 from miodvallat/elastic_search
Miod Vallat [Thu, 31 Jul 2025 14:03:20 +0000 (16:03 +0200)] 
Merge pull request #15866 from miodvallat/elastic_search

Provide a default searchRecords implementation

9 days agoMerge pull request #15947 from miodvallat/lazy_caching
Miod Vallat [Thu, 31 Jul 2025 12:01:20 +0000 (14:01 +0200)] 
Merge pull request #15947 from miodvallat/lazy_caching

auth: cache the result of some metadata lookups during packet processing

9 days agoClarify the implications of not providing dns_get_all_domains. 15866/head
Miod Vallat [Thu, 31 Jul 2025 10:59:35 +0000 (12:59 +0200)] 
Clarify the implications of not providing dns_get_all_domains.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 days agoCache the result of some metadata lookup. 15947/head
Miod Vallat [Wed, 30 Jul 2025 09:45:53 +0000 (11:45 +0200)] 
Cache the result of some metadata lookup.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 days agoGive backends the ability to perform extra actions during zone rectify. 15894/head
Miod Vallat [Wed, 23 Jul 2025 12:26:09 +0000 (14:26 +0200)] 
Give backends the ability to perform extra actions during zone rectify.

Use this is the LMDB backend to purge possibly orphaned (dangling) NSEC3
records created by 4.x servers.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 days agoProvide a default searchRecords implementation.
Miod Vallat [Thu, 17 Jul 2025 15:24:42 +0000 (17:24 +0200)] 
Provide a default searchRecords implementation.

This is the LMDB searchRecords being promoted to backend-agnostic, as it
only depends on list() and getAllDomains() to work (and get(), obviously).

A new capability, CAP_SEARCH, is added to advertize these requirements are
fulfilled; search will return failure if they are not.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
9 days agoMerge pull request #15944 from miodvallat/EDOM
Miod Vallat [Thu, 31 Jul 2025 09:47:14 +0000 (11:47 +0200)] 
Merge pull request #15944 from miodvallat/EDOM

lmdb: be more careful when looking into the domains table

9 days agoMerge pull request #15922 from miodvallat/cheap_tricks auth-5.1.0-alpha0
Miod Vallat [Thu, 31 Jul 2025 09:28:47 +0000 (11:28 +0200)] 
Merge pull request #15922 from miodvallat/cheap_tricks

miscellaneous boring cleanups

9 days agoMerge pull request #15948 from miodvallat/random-bakery rel/auth-5.0.x
Miod Vallat [Thu, 31 Jul 2025 09:20:03 +0000 (11:20 +0200)] 
Merge pull request #15948 from miodvallat/random-bakery

auth: random edns cookies

9 days agoMerge pull request #14927 from Cybertinus/patch-1
Miod Vallat [Thu, 31 Jul 2025 07:33:51 +0000 (09:33 +0200)] 
Merge pull request #14927 from Cybertinus/patch-1

Update pdnsutil.bash_completion.d

9 days agoMerge pull request #15949 from omoerbeek/rec-tidy-20250709
Otto Moerbeek [Wed, 30 Jul 2025 17:21:07 +0000 (19:21 +0200)] 
Merge pull request #15949 from omoerbeek/rec-tidy-20250709

rec: assorted tidy

9 days agoTypo in comment 15949/head
Otto Moerbeek [Wed, 30 Jul 2025 16:05:21 +0000 (18:05 +0200)] 
Typo in comment

10 days agoMerge pull request #15950 from omoerbeek/rec-reorder-cacheentry
Otto Moerbeek [Wed, 30 Jul 2025 15:26:47 +0000 (17:26 +0200)] 
Merge pull request #15950 from omoerbeek/rec-reorder-cacheentry

rec: reorder fields of record cache entry by size (saves 8 bytes per entry on 64-bit systems)

10 days agoTypo in comment
Otto Moerbeek [Wed, 30 Jul 2025 15:02:07 +0000 (17:02 +0200)] 
Typo in comment

Co-authored-by: Doug Freed <dwfreed@mtu.edu>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 days agoProcess review comments from Miod
Otto Moerbeek [Wed, 30 Jul 2025 14:08:26 +0000 (16:08 +0200)] 
Process review comments from Miod

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 days agoAllow edns-cookie-secret to be set to "random". 15948/head
Miod Vallat [Wed, 30 Jul 2025 12:40:11 +0000 (14:40 +0200)] 
Allow edns-cookie-secret to be set to "random".

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
10 days agorec: asssorted tidy
Otto Moerbeek [Wed, 9 Jul 2025 13:04:42 +0000 (15:04 +0200)] 
rec: asssorted tidy

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 days agorec: reorder fields of record cache entry by size (saves 8 bytes per entry on 64... 15950/head
Otto Moerbeek [Tue, 29 Jul 2025 14:25:09 +0000 (16:25 +0200)] 
rec: reorder fields of record cache entry by size (saves 8 bytes per entry on 64-bit systems)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 days agoAppease clang-tidy 15944/head
Miod Vallat [Wed, 30 Jul 2025 08:13:27 +0000 (10:13 +0200)] 
Appease clang-tidy

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
10 days agoBe more careful when looking into the domains table.
Miod Vallat [Wed, 30 Jul 2025 07:07:49 +0000 (09:07 +0200)] 
Be more careful when looking into the domains table.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
10 days agoMerge pull request #15928 from miodvallat/slebalwar
Miod Vallat [Wed, 30 Jul 2025 06:12:53 +0000 (08:12 +0200)] 
Merge pull request #15928 from miodvallat/slebalwar

Make keyUnconv a bit less inefficient

10 days agoMerge pull request #15603 from zeha/svcb-generic
Miod Vallat [Wed, 30 Jul 2025 05:47:34 +0000 (07:47 +0200)] 
Merge pull request #15603 from zeha/svcb-generic

SVCB: allow parsing keys in generic format without value

10 days agoSVCB: allow parsing generic key without value 15603/head
Chris Hofstaedtler [Tue, 27 May 2025 20:04:34 +0000 (22:04 +0200)] 
SVCB: allow parsing generic key without value

11 days agoMerge pull request #15881 from rgacogne/ddist-opcode-mnemonic
Remi Gacogne [Tue, 29 Jul 2025 14:46:14 +0000 (16:46 +0200)] 
Merge pull request #15881 from rgacogne/ddist-opcode-mnemonic

dnsdist: Support mnemonics for the Opcode selector

11 days agoMerge pull request #15938 from omoerbeek/rec-pregen-librs
Otto Moerbeek [Tue, 29 Jul 2025 13:40:50 +0000 (15:40 +0200)] 
Merge pull request #15938 from omoerbeek/rec-pregen-librs

rec: put lib.rs into tarball

11 days agoMerge pull request #15936 from omoerbeek/prep-5.1.7-5.2.5
Otto Moerbeek [Tue, 29 Jul 2025 10:52:02 +0000 (12:52 +0200)] 
Merge pull request #15936 from omoerbeek/prep-5.1.7-5.2.5

rec: Prep for 5.1.7 and 5.2.5

11 days agodnsdist: Increase the time granted for the "timeout then restart" test 15939/head
Remi Gacogne [Tue, 29 Jul 2025 09:42:24 +0000 (11:42 +0200)] 
dnsdist: Increase the time granted for the "timeout then restart" test

This test fails from time to time in our CI. After investigation, it
turns out that sometimes the response comes just a few milliseconds
after the 3 seconds timeout has expired:

```
Got answer from 127.0.0.1:14191, relayed to 127.0.0.1:36139 (UDP), took 3.00105e+06 us
```

So let's use a slightly larger timeout of 4 seconds. It will not add
any delay if the response is received faster than that and will hopefully
reduce the number of spurious failures.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
11 days agoMerge pull request #15937 from rgacogne/ddist-no-rust-quiche-ci-least
Remi Gacogne [Tue, 29 Jul 2025 09:32:03 +0000 (11:32 +0200)] 
Merge pull request #15937 from rgacogne/ddist-no-rust-quiche-ci-least

ci: Don't install Rust or Quiche when testing DNSdist 'least'

11 days agorec: put lib.rs into tarball 15938/head
Otto Moerbeek [Mon, 28 Jul 2025 14:47:00 +0000 (16:47 +0200)] 
rec: put lib.rs into tarball

Plus some rearrangement is more like the dnsdist one

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
12 days agoPrep for 5.1.7 and 5.2.5 15936/head
Otto Moerbeek [Mon, 28 Jul 2025 09:39:06 +0000 (11:39 +0200)] 
Prep for 5.1.7 and 5.2.5

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
12 days agodns: Get rid of the ugly special case for OpCode 3 15881/head
Remi Gacogne [Thu, 24 Jul 2025 09:11:24 +0000 (11:11 +0200)] 
dns: Get rid of the ugly special case for OpCode 3

As suggested by Miod.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
12 days agodnsdist: Support mnemonics for the Opcode selector
Remi Gacogne [Mon, 21 Jul 2025 09:56:47 +0000 (11:56 +0200)] 
dnsdist: Support mnemonics for the Opcode selector

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
12 days agoMerge pull request #15904 from rgacogne/ddist-fix-systemd-unit-meson
Remi Gacogne [Mon, 28 Jul 2025 07:33:44 +0000 (09:33 +0200)] 
Merge pull request #15904 from rgacogne/ddist-fix-systemd-unit-meson

dnsdist: Fix systemd template unit and restricted network families when building with meson

12 days agoMerge pull request #15923 from rgacogne/ddist-add-test-netmask-exclusion
Remi Gacogne [Mon, 28 Jul 2025 07:32:42 +0000 (09:32 +0200)] 
Merge pull request #15923 from rgacogne/ddist-add-test-netmask-exclusion

dnsdist: Test netmask exclusions via YAML

12 days agoMerge pull request #15919 from rgacogne/ddist-upgrade-quiche
Remi Gacogne [Mon, 28 Jul 2025 07:32:09 +0000 (09:32 +0200)] 
Merge pull request #15919 from rgacogne/ddist-upgrade-quiche

dnsdist: Upgrade Cloudflare's Quiche to 0.24.4

12 days agoMerge pull request #15914 from rgacogne/ddist-fix-quickstart-qps
Remi Gacogne [Mon, 28 Jul 2025 07:32:00 +0000 (09:32 +0200)] 
Merge pull request #15914 from rgacogne/ddist-fix-quickstart-qps

dnsdist: Fix invalid "qps" in Quickstart Guide

12 days 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

2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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`

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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>
2 weeks 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

2 weeks 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>
2 weeks 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>
2 weeks 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

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

2 weeks 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>
2 weeks 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.

2 weeks 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>
2 weeks 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

2 weeks 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

2 weeks 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()`

2 weeks 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

3 weeks 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>
3 weeks 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>
3 weeks 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

3 weeks 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