]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
8 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>
8 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

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

8 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>
8 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.

8 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>
8 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

8 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

8 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()`

8 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

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

2 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

2 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

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

2 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

2 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

2 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

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

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

2 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

2 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

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

2 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

2 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months agodnsdist: Test the built-in console client in our regression tests 15824/head
Remi Gacogne [Fri, 11 Jul 2025 10:02:10 +0000 (12:02 +0200)] 
dnsdist: Test the built-in console client in our regression tests

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months agoadjust doco phrasing
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:45:02 +0000 (15:45 +0100)] 
adjust doco phrasing

2 months 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 months agoreorder options
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:37:52 +0000 (15:37 +0100)] 
reorder options

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

2 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months agoauth docs: fix `direct-dnskey`
Peter Thomassen [Tue, 16 Apr 2024 14:06:09 +0000 (16:06 +0200)] 
auth docs: fix `direct-dnskey`

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