]>
git.ipfire.org Git - thirdparty/pdns.git/log
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>
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
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
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)
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>
Miod Vallat [Thu, 17 Jul 2025 05:37:30 +0000 (07:37 +0200)]
Do not invoke getRawLabels(0) unless countLabels() != 0.
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>
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
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)
Darwin4053 [Wed, 16 Jul 2025 12:06:50 +0000 (17:36 +0530)]
Fix INCEPTION-INCREMENT documentation conflict and clarify behavior
Darwin4053 [Mon, 14 Jul 2025 09:57:37 +0000 (15:27 +0530)]
Fix INCEPTION-INCREMENT documentation to reflect actual behavior and add safety notes
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>
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>
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>
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
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
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
Jamie (Bear) Murphy [Wed, 16 Jul 2025 15:36:05 +0000 (16:36 +0100)]
Update zone2sql.1.rst
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:45:02 +0000 (15:45 +0100)]
adjust doco phrasing
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>
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:37:52 +0000 (15:37 +0100)]
reorder options
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:31:49 +0000 (15:31 +0100)]
Update zone2sql.1.rst
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
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
Jamie (Bear) Murphy [Wed, 16 Jul 2025 14:03:30 +0000 (15:03 +0100)]
strip semicolon from import files
strip semicolon from import files
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>
Peter Thomassen [Thu, 10 Jul 2025 13:28:12 +0000 (15:28 +0200)]
auth: fix set-meta for single-value metadata
Peter Thomassen [Tue, 16 Apr 2024 13:27:39 +0000 (15:27 +0200)]
auth docs: describe DNSSEC bootstrapping functionality (signaling zones)
Peter Thomassen [Mon, 14 Jul 2025 13:59:54 +0000 (15:59 +0200)]
auth: add DNSSEC bootstrapping tests (signaling zones)
Peter Thomassen [Thu, 10 Jul 2025 12:57:34 +0000 (14:57 +0200)]
auth: add pdnsutil set-signaling-zone
Peter Thomassen [Mon, 14 Jul 2025 15:06:15 +0000 (17:06 +0200)]
auth: move pdnsutil setNSEC3 checks to DNSSECKeeper
Peter Thomassen [Mon, 15 Apr 2024 14:58:46 +0000 (16:58 +0200)]
auth: add SIGNALING-ZONE metadata setting
Peter Thomassen [Tue, 16 Apr 2024 10:50:18 +0000 (12:50 +0200)]
auth: check for signaling zone preconditions
Peter Thomassen [Mon, 15 Apr 2024 00:31:17 +0000 (02:31 +0200)]
auth: add support for RFC 9615 (DNSSEC bootstrapping)
Peter Thomassen [Mon, 15 Apr 2024 00:30:28 +0000 (02:30 +0200)]
auth: allow CDS/CDNSKEY synthesis from other zone
Peter Thomassen [Tue, 16 Apr 2024 14:06:09 +0000 (16:06 +0200)]
auth docs: fix `direct-dnskey`
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
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
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
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>
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
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
Miod Vallat [Wed, 16 Jul 2025 09:29:07 +0000 (11:29 +0200)]
Merge pull request #15847 from miodvallat/master-unbreakage
unbreak auth tests
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
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>
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
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>
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
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.
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
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 …
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
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>
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
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
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
Peter van Dijk [Mon, 14 Jul 2025 17:58:12 +0000 (19:58 +0200)]
switch scripts to explicit python3
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.
Peter van Dijk [Mon, 14 Jul 2025 11:48:49 +0000 (13:48 +0200)]
datefudge: more portable date parsing
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>/...
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Remi Gacogne [Fri, 11 Jul 2025 08:05:04 +0000 (10:05 +0200)]
dns: Add unit tests for the RCode/ERCode/Opcode helpers
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>
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>
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>
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>
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>
Miod Vallat [Wed, 9 Jul 2025 19:51:55 +0000 (21:51 +0200)]
Ѕcarce documentation of the list/lookup/get shared state.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 9 Jul 2025 19:46:19 +0000 (21:46 +0200)]
Heed the domain_id in list rather than try and recompute it. NFCI
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 9 Jul 2025 19:36:31 +0000 (21:36 +0200)]
Remove unused instance members. NFC
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 10 Jul 2025 19:34:53 +0000 (21:34 +0200)]
Merge pull request #15790 from jsoref/refresh-spelling-v0.0.25-2
Refresh spelling v0.0.25 2
Otto Moerbeek [Thu, 10 Jul 2025 14:17:54 +0000 (16:17 +0200)]
Merge pull request #15803 from omoerbeek/rec-nsspeed-share
rec: add Lua hooks to dump and restore measured nameserver speed table
Remi Gacogne [Thu, 10 Jul 2025 14:03:17 +0000 (16:03 +0200)]
dnsdist: Fix a typo in the upgrade guide
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 10 Jul 2025 13:47:58 +0000 (15:47 +0200)]
dnsdist: Document changed YAML parameters
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 10 Jul 2025 13:31:54 +0000 (15:31 +0200)]
dnsdist: Handle named rcodes in all YAML configuration items
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 10 Jul 2025 10:05:02 +0000 (12:05 +0200)]
dnsdist: Handle named rcodes in the dynamic block YAML configuration
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 10 Jul 2025 08:35:29 +0000 (10:35 +0200)]
dnsdist: Add a Dynamic block rcode rate test using YAML
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Thu, 10 Jul 2025 13:30:31 +0000 (15:30 +0200)]
Merge pull request #15806 from miodvallat/entropy
auth: one less discrepancy between lmdb and sql backends
Peter van Dijk [Thu, 10 Jul 2025 12:05:41 +0000 (14:05 +0200)]
switch Docker images to Debian Trixie
Otto Moerbeek [Thu, 10 Jul 2025 10:13:14 +0000 (12:13 +0200)]
Merge pull request #15783 from omoerbeek/rec-docs-policy-mod
rec: polish docs describing how to modify policy decisions
Remi Gacogne [Thu, 10 Jul 2025 09:55:10 +0000 (11:55 +0200)]
Merge pull request #15794 from rgacogne/ddist-protocol-selector
dnsdist: Add a selector to match the incoming protocol
Remi Gacogne [Thu, 10 Jul 2025 09:54:53 +0000 (11:54 +0200)]
Merge pull request #15815 from rgacogne/ddist-fix-source-backend-yaml
dnsdist: Properly process the YAML source parameter for backends