]>
git.ipfire.org Git - thirdparty/pdns.git/log
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:03:30 +0000 (15:03 +0100)]
strip semicolon from import files
strip semicolon from import files
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 [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
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>
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>
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
Remi Gacogne [Thu, 10 Jul 2025 09:17:04 +0000 (11:17 +0200)]
Merge pull request #15813 from rgacogne/ddist-autotools-dlopen
dnsdist: Properly link with `libdl` when building with `autotools`
Remi Gacogne [Thu, 10 Jul 2025 08:53:19 +0000 (10:53 +0200)]
dnsdist: Properly process the YAML source parameter for backends
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 10 Jul 2025 07:55:13 +0000 (09:55 +0200)]
dnsdist: Properly link with `libdl` when building with `autotools`
Depending on the system we might actually need to link with `libdl`
when our Rust library is used, and the mechanism to do that was not
properly set up when building with `autotools` (we were adding `LIBDL`
to the the libraries we need but the variable was not properly filled).
Unfortunately the systems we are exercising in our CI do not need to
explicitly link with `libdl` so we did not notice.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Wed, 9 Jul 2025 11:03:40 +0000 (13:03 +0200)]
Merge pull request #15807 from omoerbeek/rec-prep-5.3.0-alpha2
Prep for rec-5.3.0-alpha2
Otto Moerbeek [Tue, 8 Jul 2025 11:01:32 +0000 (13:01 +0200)]
Process review comments from rgacogne
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 8 Jul 2025 08:59:57 +0000 (10:59 +0200)]
Add missing files to testrunner sources
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 8 Jul 2025 08:56:58 +0000 (10:56 +0200)]
Formatting
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 8 Jul 2025 08:20:01 +0000 (10:20 +0200)]
name of nsspeed entries can be empty (auth case)
Otto Moerbeek [Mon, 7 Jul 2025 10:28:12 +0000 (12:28 +0200)]
Add test
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 7 Jul 2025 10:27:59 +0000 (12:27 +0200)]
Documentation
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 3 Jul 2025 11:26:00 +0000 (13:26 +0200)]
Reorg sources, split nsspeeds_t out into separate .cc and .hh
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 3 Jul 2025 10:03:41 +0000 (12:03 +0200)]
Add size limit
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 3 Jul 2025 09:05:22 +0000 (11:05 +0200)]
Basic code to fill ns speed table from a dump
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 3 Jul 2025 07:07:49 +0000 (09:07 +0200)]
Expose getNSSPeedsTable() to Lua script
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 2 Jul 2025 14:19:10 +0000 (16:19 +0200)]
Dump ns speed map in protobuf format
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 9 Jul 2025 08:38:05 +0000 (10:38 +0200)]
Prep for rec-5.3.0-alpha2
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Wed, 9 Jul 2025 07:31:02 +0000 (09:31 +0200)]
Make updateEmptyNonTerminals conform to its specification...
...by performing the insertions (if any) when all ENT had to be removed
first.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 9 Jul 2025 04:42:44 +0000 (06:42 +0200)]
Merge pull request #15798 from miodvallat/flaggerbasted
lmdb NSEC3 record handling hygiene: return of the wrath of the seventh son of the phantom of the beast
Otto Moerbeek [Tue, 8 Jul 2025 12:51:31 +0000 (14:51 +0200)]
Merge pull request #15799 from kpfleming/pblogger-rs
Add Protobuf logger written in Rust.
Otto Moerbeek [Tue, 8 Jul 2025 12:50:51 +0000 (14:50 +0200)]
Merge pull request #15759 from elenril/preoutquery_force_tcp
rec: allow forcing TCP from preoutquery()
Otto Moerbeek [Tue, 8 Jul 2025 11:30:35 +0000 (13:30 +0200)]
Tidy
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 8 Jul 2025 10:03:00 +0000 (12:03 +0200)]
Add test
Anton Khirnov [Mon, 7 Jul 2025 09:37:19 +0000 (11:37 +0200)]
rec: allow forcing TCP from preoutquery()
Remi Gacogne [Tue, 8 Jul 2025 08:57:26 +0000 (10:57 +0200)]
Merge pull request #15801 from rgacogne/ddist200rc1-changelog-secpoll
dnsdist: Prepare ChangeLog and security polling zone for 2.0.0-rc1
Peter van Dijk [Tue, 8 Jul 2025 07:51:43 +0000 (09:51 +0200)]
Merge pull request #15639 from Habbie/alma10
builder: add el-10 target, based on rockylinux:10 for now
Remi Gacogne [Tue, 8 Jul 2025 07:24:20 +0000 (09:24 +0200)]
Merge pull request #15788 from neheb/npd
clang-tidy: replace lock_guard with scoped_lock
Rosen Penev [Fri, 4 Jul 2025 00:53:55 +0000 (17:53 -0700)]
clang-tidy: replace lock_guard with scoped_lock
Found with modernize-use-scoped-lock
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Peter van Dijk [Mon, 7 Jul 2025 13:42:05 +0000 (15:42 +0200)]
docs: add new targets to daily master builds
Peter van Dijk [Mon, 7 Jul 2025 13:40:20 +0000 (15:40 +0200)]
nit
Remi Gacogne [Mon, 7 Jul 2025 10:52:25 +0000 (12:52 +0200)]
dnsdist: Use the correct month for the release date
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Kevin P. Fleming [Mon, 7 Jul 2025 10:14:43 +0000 (06:14 -0400)]
Address review feedback.
Kevin P. Fleming [Sun, 6 Jul 2025 15:54:45 +0000 (11:54 -0400)]
Eliminate some code duplication.
Kevin P. Fleming [Sun, 6 Jul 2025 15:46:28 +0000 (11:46 -0400)]
Improve make_addr_port by letting SocketAddrV4/V6 format themselves.
Kevin P. Fleming [Sat, 5 Jul 2025 20:27:24 +0000 (16:27 -0400)]
Add Protobuf logger written in Rust.
This was inspired by the ProtobufLogger.py already present in the
'contrib' directory.
In addition to being written in Rust instead of Python, there are
various other differences:
* Each line of output is prefixed with the sender's 'socket address'
(IP address and port number).
* Messages from multiple clients will be properly output, they will
not be mixed.
* Timestamp format is slightly different (full ISO-8601 with UTC
offset).
* Command-line arguments are handled by a full parser, which can
generate help text and report the program's version.
* All 'optional' fields in the protobuf messages are checked for
presence before being read.
* Output to stdout will never block reception/decoding/formatting of
protobuf messages; if stdout blocks for some reason, incoming
messages will be stored in memory until they can be printed.
* Summary, meta, and question lines are printed; responses are not,
nor is OpenTelemetry data. Future work for another contributor!
* 'meta' output is untested.
* A Cargo feature 'opentelemetry' is available to be the starting
point of OT support.
No AI or LLM tools were used in the creation or testing of this code.
Remi Gacogne [Fri, 4 Jul 2025 10:55:47 +0000 (12:55 +0200)]
dnsdist: Prepare ChangeLog and security polling zone for 2.0.0-rc1
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Mon, 7 Jul 2025 09:36:12 +0000 (11:36 +0200)]
Merge pull request #15792 from miodvallat/auth496
auth-4.9.7 secpoll & changelog
Miod Vallat [Mon, 7 Jul 2025 08:35:51 +0000 (10:35 +0200)]
Document ill-fated 4.9.6 so that people aren't surprised too much.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 7 Jul 2025 07:12:32 +0000 (09:12 +0200)]
Turns out it will be called 4.9.7
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>