]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 weeks agoRemove old FSF address 15865/head
Chris Hofstaedtler [Thu, 17 Jul 2025 13:36:25 +0000 (15:36 +0200)] 
Remove old FSF address

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

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

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

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

2 weeks agoMerge pull request #14074 from peterthomassen/20240315_authsignal
Miod Vallat [Thu, 17 Jul 2025 07:32:03 +0000 (09:32 +0200)] 
Merge pull request #14074 from peterthomassen/20240315_authsignal

Auth feature: RFC9615 (authenticated DNSSEC bootstrapping)

2 weeks agoAddress clang-tidy concerns. 14074/head
Miod Vallat [Thu, 17 Jul 2025 06:22:15 +0000 (08:22 +0200)] 
Address clang-tidy concerns.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoDo not invoke getRawLabels(0) unless countLabels() != 0.
Miod Vallat [Thu, 17 Jul 2025 05:37:30 +0000 (07:37 +0200)] 
Do not invoke getRawLabels(0) unless countLabels() != 0.

2 weeks agoMissing local declaration
Miod Vallat [Thu, 17 Jul 2025 05:11:41 +0000 (07:11 +0200)] 
Missing local declaration

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoMerge pull request #15834 from Darwin4053/doc-fix
Miod Vallat [Thu, 17 Jul 2025 04:43:55 +0000 (06:43 +0200)] 
Merge pull request #15834 from Darwin4053/doc-fix

Fix INCEPTION-INCREMENT documentation to match code behavior

2 weeks agoMerge pull request #15854 from ITJamie/comment-include-fix-v2
Miod Vallat [Thu, 17 Jul 2025 04:43:45 +0000 (06:43 +0200)] 
Merge pull request #15854 from ITJamie/comment-include-fix-v2

fixes zone2sql include with a comment (replacement PR)

2 weeks agoFix INCEPTION-INCREMENT documentation conflict and clarify behavior 15834/head
Darwin4053 [Wed, 16 Jul 2025 12:06:50 +0000 (17:36 +0530)] 
Fix INCEPTION-INCREMENT documentation conflict and clarify behavior

2 weeks agoFix INCEPTION-INCREMENT documentation to reflect actual behavior and add safety notes
Darwin4053 [Mon, 14 Jul 2025 09:57:37 +0000 (15:27 +0530)] 
Fix INCEPTION-INCREMENT documentation to reflect actual behavior and add safety notes

2 weeks agodnsdist: Document that negative entries in netmask lists are supported 15822/head
Remi Gacogne [Wed, 16 Jul 2025 15:55:58 +0000 (17:55 +0200)] 
dnsdist: Document that negative entries in netmask lists are supported

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agodnsdist: Apply Otto's suggestion
Remi Gacogne [Wed, 16 Jul 2025 15:55:44 +0000 (17:55 +0200)] 
dnsdist: Apply Otto's suggestion

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agodnsdist: Allow registering NMG objects from YAML
Remi Gacogne [Thu, 10 Jul 2025 15:11:08 +0000 (17:11 +0200)] 
dnsdist: Allow registering NMG objects from YAML

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoMerge pull request #15814 from rgacogne/ddist-more-yaml-tests
Remi Gacogne [Wed, 16 Jul 2025 15:46:22 +0000 (17:46 +0200)] 
Merge pull request #15814 from rgacogne/ddist-more-yaml-tests

dnsdist: Add a Dynamic block rcode rate test using YAML

2 weeks agoMerge pull request #15823 from rgacogne/ddist-web-multiple-addresses
Remi Gacogne [Wed, 16 Jul 2025 15:45:57 +0000 (17:45 +0200)] 
Merge pull request #15823 from rgacogne/ddist-web-multiple-addresses

dnsdist: Bring back listening on multiple web server addresses

2 weeks agoMerge pull request #15826 from rgacogne/ddist-test-console-rings
Remi Gacogne [Wed, 16 Jul 2025 15:45:39 +0000 (17:45 +0200)] 
Merge pull request #15826 from rgacogne/ddist-test-console-rings

dnsdist: Test accessing the rings via the console

2 weeks agoUpdate zone2sql.1.rst 15855/head
Jamie (Bear) Murphy [Wed, 16 Jul 2025 15:36:05 +0000 (16:36 +0100)] 
Update zone2sql.1.rst

2 weeks agoadjust doco phrasing
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:45:02 +0000 (15:45 +0100)] 
adjust doco phrasing

2 weeks agoUpdate pdns/zoneparser-tng.cc 15854/head
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:41:27 +0000 (15:41 +0100)] 
Update pdns/zoneparser-tng.cc

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Jamie (Bear) Murphy <1613241+ITJamie@users.noreply.github.com>
2 weeks agoreorder options
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:37:52 +0000 (15:37 +0100)] 
reorder options

2 weeks agoUpdate zone2sql.1.rst
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:31:49 +0000 (15:31 +0100)] 
Update zone2sql.1.rst

2 weeks agoAdd zone2sql delete-matching-domains doco
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:29:41 +0000 (15:29 +0100)] 
Add zone2sql delete-matching-domains doco

Add zone2sql delete-matching-domains doco

2 weeks agodelete existing matching zones during (re)import
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:09:40 +0000 (15:09 +0100)] 
delete existing matching zones during (re)import

adds functionality to zone import script to have a delete statement. useful for testing / retesting zone imports

2 weeks agostrip semicolon from import files
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:03:30 +0000 (15:03 +0100)] 
strip semicolon from import files

strip semicolon from import files

2 weeks agoUpdate metadata
Peter Thomassen [Wed, 9 Jul 2025 16:24:56 +0000 (16:24 +0000)] 
Update metadata

check-spelling run (pull_request) for 20240315_authsignal

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev>

2 weeks agoauth: fix set-meta for single-value metadata
Peter Thomassen [Thu, 10 Jul 2025 13:28:12 +0000 (15:28 +0200)] 
auth: fix set-meta for single-value metadata

2 weeks agoauth docs: describe DNSSEC bootstrapping functionality (signaling zones)
Peter Thomassen [Tue, 16 Apr 2024 13:27:39 +0000 (15:27 +0200)] 
auth docs: describe DNSSEC bootstrapping functionality (signaling zones)

2 weeks agoauth: add DNSSEC bootstrapping tests (signaling zones)
Peter Thomassen [Mon, 14 Jul 2025 13:59:54 +0000 (15:59 +0200)] 
auth: add DNSSEC bootstrapping tests (signaling zones)

2 weeks agoauth: add pdnsutil set-signaling-zone
Peter Thomassen [Thu, 10 Jul 2025 12:57:34 +0000 (14:57 +0200)] 
auth: add pdnsutil set-signaling-zone

2 weeks agoauth: move pdnsutil setNSEC3 checks to DNSSECKeeper
Peter Thomassen [Mon, 14 Jul 2025 15:06:15 +0000 (17:06 +0200)] 
auth: move pdnsutil setNSEC3 checks to DNSSECKeeper

2 weeks agoauth: add SIGNALING-ZONE metadata setting
Peter Thomassen [Mon, 15 Apr 2024 14:58:46 +0000 (16:58 +0200)] 
auth: add SIGNALING-ZONE metadata setting

2 weeks agoauth: check for signaling zone preconditions
Peter Thomassen [Tue, 16 Apr 2024 10:50:18 +0000 (12:50 +0200)] 
auth: check for signaling zone preconditions

2 weeks agoauth: add support for RFC 9615 (DNSSEC bootstrapping)
Peter Thomassen [Mon, 15 Apr 2024 00:31:17 +0000 (02:31 +0200)] 
auth: add support for RFC 9615 (DNSSEC bootstrapping)

2 weeks agoauth: allow CDS/CDNSKEY synthesis from other zone
Peter Thomassen [Mon, 15 Apr 2024 00:30:28 +0000 (02:30 +0200)] 
auth: allow CDS/CDNSKEY synthesis from other zone

2 weeks agoauth docs: fix `direct-dnskey`
Peter Thomassen [Tue, 16 Apr 2024 14:06:09 +0000 (16:06 +0200)] 
auth docs: fix `direct-dnskey`

2 weeks agoMerge pull request #15849 from Habbie/pdnsutil-absolute-upgrading
Peter van Dijk [Wed, 16 Jul 2025 11:45:18 +0000 (13:45 +0200)] 
Merge pull request #15849 from Habbie/pdnsutil-absolute-upgrading

auth: upgrade note for absolute names in pdnsutil

2 weeks agoMerge pull request #15817 from Habbie/docker-images-trixie
Peter van Dijk [Wed, 16 Jul 2025 11:45:00 +0000 (13:45 +0200)] 
Merge pull request #15817 from Habbie/docker-images-trixie

switch Docker images to Debian Trixie

2 weeks agoMerge pull request #15850 from miodvallat/nsecure
Miod Vallat [Wed, 16 Jul 2025 11:42:27 +0000 (13:42 +0200)] 
Merge pull request #15850 from miodvallat/nsecure

Fix lmdb-nsec3-optout-variant tests

2 weeks agoCorrectly recognize *-nsec3-optout-variant as "optout". 15850/head
Miod Vallat [Wed, 16 Jul 2025 10:34:11 +0000 (12:34 +0200)] 
Correctly recognize *-nsec3-optout-variant as "optout".

Fixes: #15846
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoauth: upgrade note for absolute names in pdnsutil 15849/head
Peter van Dijk [Wed, 16 Jul 2025 10:14:49 +0000 (12:14 +0200)] 
auth: upgrade note for absolute names in pdnsutil

this documents the changes in #14984

2 weeks agoUpdate LAST-UPDATED 15848/head
Otto Moerbeek [Wed, 16 Jul 2025 10:11:58 +0000 (12:11 +0200)] 
Update LAST-UPDATED

It would be nice if this would be done by the metrics generation script

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 weeks agoMerge pull request #15827 from miodvallat/lycos
Miod Vallat [Wed, 16 Jul 2025 10:03:12 +0000 (12:03 +0200)] 
Merge pull request #15827 from miodvallat/lycos

Add record search capability to the LMDB backend

2 weeks agoMerge pull request #15847 from miodvallat/master-unbreakage
Miod Vallat [Wed, 16 Jul 2025 09:29:07 +0000 (11:29 +0200)] 
Merge pull request #15847 from miodvallat/master-unbreakage

unbreak auth tests

2 weeks agoMerge pull request #15836 from ukleinek/doc-zone-rrset-modified_at
Miod Vallat [Wed, 16 Jul 2025 07:35:24 +0000 (09:35 +0200)] 
Merge pull request #15836 from ukleinek/doc-zone-rrset-modified_at

docs: zone: `modified_at` is a separate property when updating RRSets

2 weeks agoUnbreak pdnsutil invocation after #14984 merge 15847/head
Miod Vallat [Wed, 16 Jul 2025 05:56:55 +0000 (07:56 +0200)] 
Unbreak pdnsutil invocation after #14984 merge

(pdnsutil {add-record,delete-rrset}: require NAME to be absolute)

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoMerge pull request #14984 from ukleinek/pdnsutil-absolute-names
Miod Vallat [Wed, 16 Jul 2025 05:26:53 +0000 (07:26 +0200)] 
Merge pull request #14984 from ukleinek/pdnsutil-absolute-names

pdnsutil {add-record,delete-rrset}: require NAME to be absolute

2 weeks agoAdd record search capability to the LMDB backend. 15827/head
Miod Vallat [Fri, 11 Jul 2025 16:02:47 +0000 (18:02 +0200)] 
Add record search capability to the LMDB backend.

Fixes: #14079
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 weeks agoMerge pull request #15786 from miodvallat/let_me_dnsupdate_better
Miod Vallat [Wed, 16 Jul 2025 04:59:04 +0000 (06:59 +0200)] 
Merge pull request #15786 from miodvallat/let_me_dnsupdate_better

lmdb rfc2136 support

2 weeks agoDon't thow in slowParseEDNSOptions(), return false if arcount is zero
Otto Moerbeek [Tue, 15 Jul 2025 12:46:42 +0000 (14:46 +0200)] 
Don't thow in slowParseEDNSOptions(), return false if arcount is zero

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 weeks agoFix two issues with chaining ECS enabled queries
Otto Moerbeek [Tue, 15 Jul 2025 11:54:30 +0000 (13:54 +0200)] 
Fix two issues with chaining ECS enabled queries

1. The main index does not sort on subnet, so we cannot assume any ordering in the
birthday compare used for chains.
2. The lookup key is overwritten by the matched key from the waiters, meaning
that we cannot use it to pass values. This means we have to
recompute the ECS info in the incoming path for each chain member.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 weeks agomisc: Use boost::ends_with() in isCanonical instead of open-coding 14984/head
Uwe Kleine-König [Wed, 18 Dec 2024 09:04:02 +0000 (10:04 +0100)] 
misc: Use boost::ends_with() in isCanonical instead of open-coding

boost:ends_with(qname, ".") behaves exactly as isCanonical(qname)
should. So use the first to implement the latter.

2 weeks agopdnsutil {add-record,delete-rrset}: Require NAME to be absolute
Uwe Kleine-König [Wed, 18 Dec 2024 11:21:24 +0000 (12:21 +0100)] 
pdnsutil {add-record,delete-rrset}: Require NAME to be absolute

Note this is an incompatible change because calls like

pdnsutil --config-dir=configs/auth add-record example.net . NS 1.2.3.4

which added the NS record to the zone's apex before and is an error now.

Note that also "@" isn't interpreted any more as "at the apex".

Adapt the test suite and docs accordingly to use absolute names.

Closes: https://github.com/PowerDNS/pdns/issues/8595
2 weeks agoMerge pull request #15833 from Darwin4053/clean-fix
Remi Gacogne [Tue, 15 Jul 2025 10:05:29 +0000 (12:05 +0200)] 
Merge pull request #15833 from Darwin4053/clean-fix

Fix narrowing conversion on 32-bit systems by using uint64_t instead …

2 weeks agoFix narrowing conversion on 32-bit systems by using uint64_t instead of size_t 15833/head
Darwin4053 [Mon, 14 Jul 2025 12:06:42 +0000 (17:36 +0530)] 
Fix narrowing conversion on 32-bit systems by using uint64_t instead of size_t

2 weeks agodnsdist: Add a regression test for NMG rule via YAML 15814/head
Remi Gacogne [Thu, 10 Jul 2025 14:18:48 +0000 (16:18 +0200)] 
dnsdist: Add a regression test for NMG rule via YAML

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 weeks agoMerge pull request #15819 from rgacogne/ddist-yaml-rcode-as-string
Remi Gacogne [Tue, 15 Jul 2025 07:40:52 +0000 (09:40 +0200)] 
Merge pull request #15819 from rgacogne/ddist-yaml-rcode-as-string

dnsdist: Handle named rcodes in the YAML configuration

2 weeks agoMerge pull request #15829 from zeha/dnsdist-rustctargetarch
Remi Gacogne [Tue, 15 Jul 2025 07:27:27 +0000 (09:27 +0200)] 
Merge pull request #15829 from zeha/dnsdist-rustctargetarch

dnsdist-rust-lib: honor RUSTC_TARGET_ARCH

2 weeks agoMerge pull request #15835 from Habbie/i-sell-dates-by-the-sea-shore
Peter van Dijk [Mon, 14 Jul 2025 20:09:36 +0000 (22:09 +0200)] 
Merge pull request #15835 from Habbie/i-sell-dates-by-the-sea-shore

datefudge: more portable date parsing; py3 fixes

2 weeks agoswitch scripts to explicit python3 15835/head
Peter van Dijk [Mon, 14 Jul 2025 17:58:12 +0000 (19:58 +0200)] 
switch scripts to explicit python3

2 weeks agodocs: zone: `modified_at` is a separate property when updating RRSets 15836/head
Uwe Kleine-König [Mon, 14 Jul 2025 12:40:19 +0000 (14:40 +0200)] 
docs: zone: `modified_at` is a separate property when updating RRSets

`modified_at` is a stand alone property, so it warrants its own item in
the RRSet object properties.

2 weeks agodatefudge: more portable date parsing
Peter van Dijk [Mon, 14 Jul 2025 11:48:49 +0000 (13:48 +0200)] 
datefudge: more portable date parsing

2 weeks agoAlwas detect mismatches in outgoing and incoming ECS; add tests for that as well
Otto Moerbeek [Mon, 19 May 2025 12:31:38 +0000 (14:31 +0200)] 
Alwas detect mismatches in outgoing and incoming ECS; add tests for that as well

2 weeks agoRefactor: get rid of an unneccesary loop
Otto Moerbeek [Fri, 16 May 2025 09:01:19 +0000 (11:01 +0200)] 
Refactor: get rid of an unneccesary loop

2 weeks agoRun all ECS tests also in hardened mode and add a specific hardened mode test
Otto Moerbeek [Thu, 8 May 2025 12:05:39 +0000 (14:05 +0200)] 
Run all ECS tests also in hardened mode and add a specific hardened mode test

2 weeks agoAdd setting and metric
Otto Moerbeek [Thu, 8 May 2025 10:25:36 +0000 (12:25 +0200)] 
Add setting and metric

2 weeks agoParse ECS info if relevant and act on it if it mismatches
Otto Moerbeek [Wed, 23 Apr 2025 11:50:51 +0000 (13:50 +0200)] 
Parse ECS info if relevant and act on it if it mismatches

Moved slowParseEDNSOptions() from dnsdist specific code to common code

2 weeks agoFix invalid scope test to do what I think is actually intended
Otto Moerbeek [Mon, 20 Jan 2025 13:08:02 +0000 (14:08 +0100)] 
Fix invalid scope test to do what I think is actually intended

2 weeks agoTo match incoming, don't look at subnet
Otto Moerbeek [Fri, 17 Jan 2025 10:49:21 +0000 (11:49 +0100)] 
To match incoming, don't look at subnet

2 weeks agoChain on ECS matching, and consider a mismatch in returned ECS as a spoof attempt
Otto Moerbeek [Wed, 15 Jan 2025 13:23:04 +0000 (14:23 +0100)] 
Chain on ECS matching, and consider a mismatch in returned ECS as a spoof attempt

2 weeks agoPass actual (optional) ecs instead of bool to asendto()
Otto Moerbeek [Wed, 15 Jan 2025 11:21:07 +0000 (12:21 +0100)] 
Pass actual (optional) ecs instead of bool to asendto()

3 weeks agodnsdist-rust-lib: honor RUSTC_TARGET_ARCH 15829/head
Chris Hofstaedtler [Sat, 12 Jul 2025 13:28:40 +0000 (15:28 +0200)] 
dnsdist-rust-lib: honor RUSTC_TARGET_ARCH

Like for pdns-recursor and also like in the meson build.

Necessary as Debian's cargo always puts the output files into target/<arch>/...

3 weeks agoDocument DNS Update available for the LMDB backend. 15786/head
Miod Vallat [Fri, 11 Jul 2025 14:12:03 +0000 (16:12 +0200)] 
Document DNS Update available for the LMDB backend.

Fixes: #10316
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agodns: Fix another clang-tidy warning 15819/head
Remi Gacogne [Fri, 11 Jul 2025 12:13:55 +0000 (14:13 +0200)] 
dns: Fix another clang-tidy warning

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMerge pull request #15825 from miodvallat/fewer_mistakes
Miod Vallat [Fri, 11 Jul 2025 11:48:09 +0000 (13:48 +0200)] 
Merge pull request #15825 from miodvallat/fewer_mistakes

Fewer mistakes in the auth documentation

3 weeks agodnsdist: Test accessing the rings via the console 15826/head
Remi Gacogne [Fri, 11 Jul 2025 10:30:41 +0000 (12:30 +0200)] 
dnsdist: Test accessing the rings via the console

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMissed test oracle.
Miod Vallat [Fri, 11 Jul 2025 10:15:52 +0000 (12:15 +0200)] 
Missed test oracle.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agodnsdist: Fix a clang-tidy warning 15823/head
Remi Gacogne [Fri, 11 Jul 2025 10:05:28 +0000 (12:05 +0200)] 
dnsdist: Fix a clang-tidy warning

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoDocument ENABLE-LUA-RECORD metadata. 15825/head
Miod Vallat [Fri, 11 Jul 2025 10:03:23 +0000 (12:03 +0200)] 
Document ENABLE-LUA-RECORD metadata.

Fixes: #13953
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoMore metadata documentation fixes:
Miod Vallat [Fri, 11 Jul 2025 10:00:22 +0000 (12:00 +0200)] 
More metadata documentation fixes:

- API-RECTIFY is not visible in the API.
- TSIG-ALLOW-AXFR is writable.
- only list TSIG-ALLOW-DNSUPDATE once.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoSort metadata variables. Mention SOA-EDIT is readonly in the API.
Miod Vallat [Fri, 11 Jul 2025 09:56:28 +0000 (11:56 +0200)] 
Sort metadata variables. Mention SOA-EDIT is readonly in the API.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoDocument resolver should not point to ourselves.
Miod Vallat [Fri, 11 Jul 2025 09:48:11 +0000 (11:48 +0200)] 
Document resolver should not point to ourselves.

Fixes: #14354
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoEnable dyndns tests with lmdb.
Miod Vallat [Wed, 2 Jul 2025 14:40:49 +0000 (16:40 +0200)] 
Enable dyndns tests with lmdb.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoAdd dyndns test oracles for lmdb.
Miod Vallat [Wed, 2 Jul 2025 20:29:09 +0000 (22:29 +0200)] 
Add dyndns test oracles for lmdb.

Unfortunately, due to the crude adaptation of mysqldiff, we do not
gather all the interesting data and can not check subtle details,
especially NSEC3 chaining details.

Also, a few tests are currently disabled because the way LMDB builds
NSEC3 chains is still not 100% correct.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agodns: Add short descriptions for extended rcodes as well
Remi Gacogne [Fri, 11 Jul 2025 09:27:38 +0000 (11:27 +0200)] 
dns: Add short descriptions for extended rcodes as well

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodns: Fix a clang-tidy warning
Remi Gacogne [Fri, 11 Jul 2025 09:26:28 +0000 (11:26 +0200)] 
dns: Fix a clang-tidy warning

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodnsdist: Bring back listening on multiple web server addresses
Remi Gacogne [Fri, 11 Jul 2025 08:47:26 +0000 (10:47 +0200)] 
dnsdist: Bring back listening on multiple web server addresses

This was broken during the refactoring of the configuration between
1.9.x and 2.0.x.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoAdd some (limited) zone variant awareness.
Miod Vallat [Thu, 3 Jul 2025 14:29:03 +0000 (16:29 +0200)] 
Add some (limited) zone variant awareness.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoMake some tests mysql-agnostic...
Miod Vallat [Wed, 2 Jul 2025 19:05:05 +0000 (21:05 +0200)] 
Make some tests mysql-agnostic...

... by replacing actual SQL operations on the database with proper
pdnsutil command invocations, which can then work regardless of the
backend being used.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoCorrectly remove NSEC3 records when removing ENT records.
Miod Vallat [Fri, 11 Jul 2025 07:50:23 +0000 (09:50 +0200)] 
Correctly remove NSEC3 records when removing ENT records.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agodnsdist: The ability to use RCode names in YAML will be backported to 2.0
Remi Gacogne [Fri, 11 Jul 2025 08:05:34 +0000 (10:05 +0200)] 
dnsdist: The ability to use RCode names in YAML will be backported to 2.0

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodns: Add unit tests for the RCode/ERCode/Opcode helpers
Remi Gacogne [Fri, 11 Jul 2025 08:05:04 +0000 (10:05 +0200)] 
dns: Add unit tests for the RCode/ERCode/Opcode helpers

3 weeks agodns: Add short description for the Not Zone rcode
Remi Gacogne [Fri, 11 Jul 2025 08:04:20 +0000 (10:04 +0200)] 
dns: Add short description for the Not Zone rcode

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agodns: Rewrite `RCode::from_short` with `std::find` and `std::distance`
Remi Gacogne [Fri, 11 Jul 2025 08:03:18 +0000 (10:03 +0200)] 
dns: Rewrite `RCode::from_short` with `std::find` and `std::distance`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
3 weeks agoMake this truly work with variants...
Miod Vallat [Thu, 10 Jul 2025 14:40:01 +0000 (16:40 +0200)] 
Make this truly work with variants...

...by undoing some of the bugs introduced in
ab319bd3eac77cb321d71964ba237ae1e238db49. We would ent up marking
records in variant zones as never authoritative by mistake.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoImplement listSubZone in LMDB backend.
Miod Vallat [Thu, 10 Jul 2025 07:12:47 +0000 (09:12 +0200)] 
Implement listSubZone in LMDB backend.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
3 weeks agoShuffle/factor internal query logic in preparation for future changes, NFCI
Miod Vallat [Thu, 10 Jul 2025 06:46:58 +0000 (08:46 +0200)] 
Shuffle/factor internal query logic in preparation for future changes, NFCI

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