]>
git.ipfire.org Git - thirdparty/pdns.git/log
Miod Vallat [Mon, 3 Aug 2026 11:51:33 +0000 (13:51 +0200)]
Merge pull request #17822 from miodvallat/cant_afford_writable_storage_anymore
auth: better handling of sqlite read-only databases
Miod Vallat [Mon, 3 Aug 2026 11:50:27 +0000 (13:50 +0200)]
Merge pull request #17831 from miodvallat/the_1980s_called
docs: the 1980s called, they want their WKS records back
Peter van Dijk [Mon, 3 Aug 2026 11:30:40 +0000 (13:30 +0200)]
Merge pull request #17794 from Habbie/crypto-cleanup
drop support for openssl 1.0 and very old libressl
Miod Vallat [Mon, 3 Aug 2026 05:27:16 +0000 (07:27 +0200)]
Merge pull request #17835 from Support-itecz/iputils-byte-aligned-prefix
iputils: do not index past the address for byte-aligned prefixes
Itecz Solution [Fri, 31 Jul 2026 21:30:37 +0000 (03:00 +0530)]
iputils: do not index past the address for byte-aligned prefixes
Signed-off-by: Itecz Solution <support@itecz.au>
Miod Vallat [Fri, 31 Jul 2026 13:09:39 +0000 (15:09 +0200)]
Remove no-longer relevant or applicable limits in DNS update intro.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 31 Jul 2026 10:11:57 +0000 (12:11 +0200)]
Merge pull request #17829 from miodvallat/comboredom
boring auth PR of the day
Miod Vallat [Fri, 31 Jul 2026 09:24:40 +0000 (11:24 +0200)]
Make this build again.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 30 Jul 2026 10:16:10 +0000 (12:16 +0200)]
Merge pull request #17743 from miodvallat/inet_atonishment
IPv4 sugar
Miod Vallat [Thu, 30 Jul 2026 09:53:32 +0000 (11:53 +0200)]
Merge pull request #17827 from miodvallat/lmdb_bargain
auth lmdb: remove dead transaction code
Miod Vallat [Thu, 30 Jul 2026 09:32:29 +0000 (11:32 +0200)]
Merge pull request #17742 from miodvallat/selenism
auth: minor Lua2 backend improvements
Miod Vallat [Wed, 29 Jul 2026 13:35:07 +0000 (15:35 +0200)]
Use sqlite3_open_v2() so that we can open the database read-only if need be.
Fixes: #13952 (again, but better)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 30 Jul 2026 09:17:47 +0000 (11:17 +0200)]
Merge pull request #17566 from miodvallat/mëtricks
auth: some API metrics
Miod Vallat [Thu, 30 Jul 2026 08:55:19 +0000 (10:55 +0200)]
Merge pull request #17826 from miodvallat/x-no-api-key
auth: do not log x-api-key value in 'detailed' log level
Miod Vallat [Thu, 30 Jul 2026 08:52:02 +0000 (10:52 +0200)]
Appease clang-tidy due to unrelated changes in these areas.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 30 Jul 2026 08:39:56 +0000 (10:39 +0200)]
Do not create temporary transactions in methods which require one anymay.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 30 Jul 2026 08:38:55 +0000 (10:38 +0200)]
Enfore active transactions in update{DNSSECOrderNameAndAuth,EmptyNonTerminals}
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 30 Jul 2026 08:12:23 +0000 (10:12 +0200)]
Merge pull request #17821 from miodvallat/no_smoke_without_pr
pdnsutil: let zone edit recreate the whole zone if it contains invalid records
Miod Vallat [Thu, 30 Jul 2026 07:44:19 +0000 (09:44 +0200)]
Do not log x-api-key value in 'detailed' log level.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 30 Jul 2026 05:49:27 +0000 (07:49 +0200)]
Make less use of the StatBag globals.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 12 Jun 2026 09:07:36 +0000 (11:07 +0200)]
Add counters for API calls and some of their results.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 12 Jun 2026 06:37:42 +0000 (08:37 +0200)]
Do not truncate webserver statistics to int.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 12 Jun 2026 06:25:50 +0000 (08:25 +0200)]
Remove dead prototype.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 30 Jul 2026 05:18:48 +0000 (07:18 +0200)]
Merge pull request #17824 from Support-itecz/geoip-key-file-mode
geoipbackend: create DNSSEC key files with mode 0600
Itecz Solution [Wed, 29 Jul 2026 18:56:14 +0000 (00:26 +0530)]
create geoip dnssec key files with mode 0600
Signed-off-by: Itecz Solution <support@itecz.au>
Peter van Dijk [Wed, 29 Jul 2026 14:09:17 +0000 (16:09 +0200)]
Merge pull request #17804 from Habbie/new-in-51-not-52
auth settings docs: fix "added-in" version numbers
Miod Vallat [Wed, 29 Jul 2026 13:01:08 +0000 (15:01 +0200)]
Let zone edit recreate the whole zone if it has invalid records.
Since zone edit knows the complete zone contents, we can recreate it and
fill it with the (possibily modified) contents, making these invalid records
disappear.
Fixes: #6070 (last nail into its coffin)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 29 Jul 2026 07:39:29 +0000 (09:39 +0200)]
Merge pull request #17808 from ersingundem/dnsdist-fix-web-dashboard-drops
dnsdist: Fix drops in the web dashboard
Miod Vallat [Wed, 29 Jul 2026 06:51:35 +0000 (08:51 +0200)]
Merge pull request #17770 from miodvallat/unknotted
auth: safer error handling in bind parser
Miod Vallat [Wed, 29 Jul 2026 06:50:58 +0000 (08:50 +0200)]
Merge pull request #17771 from miodvallat/retry_ignore
remove objectionable abort() calls
Miod Vallat [Wed, 29 Jul 2026 06:50:23 +0000 (08:50 +0200)]
Merge pull request #17778 from miodvallat/nonrandom_api_axfr
auth api: allow a primary server address to be passed to the axfr-retrieve endpoint
Miod Vallat [Wed, 29 Jul 2026 06:49:45 +0000 (08:49 +0200)]
Merge pull request #17787 from miodvallat/would_you_like_records_with_that
auth: yet another lmdb buglet
Miod Vallat [Thu, 16 Jul 2026 13:20:12 +0000 (15:20 +0200)]
Allow integers in contexts where bools are expected.
Fixes: #7008
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 16 Jul 2026 13:15:09 +0000 (15:15 +0200)]
Prefer to raise a more detailed exception.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 16 Jul 2026 12:33:51 +0000 (14:33 +0200)]
Try and give more details if boost::get<> fails.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 16 Jul 2026 12:15:19 +0000 (14:15 +0200)]
Implement lookupEnd().
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 16 Jul 2026 12:04:42 +0000 (14:04 +0200)]
Fix documentation: Lua2 backend is (mostly) read-only.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Ersin Gündem [Tue, 28 Jul 2026 18:15:23 +0000 (21:15 +0300)]
dnsdist: Fix drops in the web dashboard
Signed-off-by: Ersin Gündem <ersingundem@gmail.com>
Remi Gacogne [Tue, 28 Jul 2026 14:45:56 +0000 (16:45 +0200)]
Merge pull request #17802 from rgacogne/ddist-nghttp2-in-set-last-io-blocked
dnsdist: Properly set the "last IO blocked" flag from incoming DoH
Remi Gacogne [Tue, 28 Jul 2026 14:29:12 +0000 (16:29 +0200)]
Merge pull request #17801 from rgacogne/ddist-modernize-nghttp2-code
dnsdist: Modernize our `nghttp2`-related code
Peter van Dijk [Tue, 28 Jul 2026 14:16:47 +0000 (16:16 +0200)]
naptr-additional-processing is coming to 5.1.4
Peter van Dijk [Tue, 28 Jul 2026 14:15:46 +0000 (16:15 +0200)]
default-soa-edit-api is new in 5.1, not 5.2
Remi Gacogne [Tue, 28 Jul 2026 13:51:28 +0000 (15:51 +0200)]
dnsdist: USe the short `std::array` version suggested by Miod (thanks!)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 28 Jul 2026 13:48:15 +0000 (15:48 +0200)]
dnsdist: Properly set the "last IO blocked" flag from incoming DoH
It is used in at least one method inherited from `IncomingTCPConnectionState`.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 28 Jul 2026 12:05:42 +0000 (14:05 +0200)]
dnsdist: Modernize our `nghttp2`-related code
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Peter van Dijk [Tue, 28 Jul 2026 12:43:46 +0000 (14:43 +0200)]
require libcrypto 1.1 or up, and report version
Remi Gacogne [Tue, 28 Jul 2026 12:43:55 +0000 (14:43 +0200)]
Merge pull request #17799 from Habbie/dnsdist-eol-word
add "DNSdist" word after "PowerDNS"
Remi Gacogne [Tue, 28 Jul 2026 11:01:12 +0000 (13:01 +0200)]
Merge pull request #17798 from rgacogne/ddist-nghttp2-error-callback
dnsdist: `nghttp2`'s error callback is "solely for debugging purpose"
Peter van Dijk [Tue, 28 Jul 2026 10:58:15 +0000 (12:58 +0200)]
fully drop openssl_thread_setup/cleanup
Peter van Dijk [Tue, 28 Jul 2026 10:37:36 +0000 (12:37 +0200)]
add "DNSdist" word after "PowerDNS"
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Tue, 28 Jul 2026 10:22:46 +0000 (12:22 +0200)]
dnsdist: `nghttp2`'s error callback is "solely for debugging purpose"
So there is no need to terminate the stream/session ourselves.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 28 Jul 2026 10:09:43 +0000 (12:09 +0200)]
Merge pull request #17797 from rgacogne/dnsname-too-long
dnsname: Account for the existing content when parsing labels
Peter van Dijk [Mon, 27 Jul 2026 19:53:06 +0000 (21:53 +0200)]
we can trust SSL_set_hostflags to be there, libressl has had it for five years
Remi Gacogne [Tue, 28 Jul 2026 08:17:07 +0000 (10:17 +0200)]
test-dnsname_cc: clang-tidy fixes
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 28 Jul 2026 07:25:05 +0000 (09:25 +0200)]
Merge pull request #17751 from Support-itecz/lmdb-key-length-check
lmdbbackend: bounds-check compoundOrdername key decoders
Remi Gacogne [Tue, 21 Jul 2026 07:31:33 +0000 (09:31 +0200)]
dnsname: Don't mix additions and subtractions when possible
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 17 Jul 2026 14:45:11 +0000 (16:45 +0200)]
dnsname: Account for the existing content when parsing labels
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Peter van Dijk [Mon, 27 Jul 2026 19:10:02 +0000 (21:10 +0200)]
drop support for openssl 1.0 and very old libressl
Remi Gacogne [Mon, 27 Jul 2026 14:20:39 +0000 (16:20 +0200)]
Merge pull request #17790 from rgacogne/dnsname-256
dnsname: Properly reject 256-bytes wire-encoded DNS names
Otto Moerbeek [Mon, 27 Jul 2026 14:14:30 +0000 (16:14 +0200)]
Merge pull request #17789 from omoerbeek/coverity-
20260723
Two coverity fixes
Remi Gacogne [Mon, 27 Jul 2026 14:07:17 +0000 (16:07 +0200)]
Merge pull request #17791 from rgacogne/ddist-coveiryy-
20260727
dnsdist: Fix a missed performance optimization reported by Coverity
Otto Moerbeek [Mon, 27 Jul 2026 14:04:57 +0000 (16:04 +0200)]
Merge pull request #17360 from omoerbeek/rec-warmcache
rec: keep cache warm for a list of names
Remi Gacogne [Mon, 27 Jul 2026 13:41:33 +0000 (15:41 +0200)]
test-dnsname_cc: Fix coverity warning
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 27 Jul 2026 13:07:18 +0000 (15:07 +0200)]
dnsdist: Fix a missed performance optimization reported by Coverity
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Mon, 27 Jul 2026 11:58:07 +0000 (13:58 +0200)]
Handle review comments fomr @rgacogne
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 27 Jul 2026 10:36:51 +0000 (12:36 +0200)]
Merge pull request #17785 from omoerbeek/rec-warn-CARGO_USE_DEV
rec: add a comment wrt using g++ with CARGO_USE_DEV=1
Otto Moerbeek [Mon, 27 Jul 2026 10:36:32 +0000 (12:36 +0200)]
Merge pull request #17786 from omoerbeek/rec-unsupported-digest-is-not
rec: bandaid for disabling algo 8 also disables DS digest 2
Otto Moerbeek [Wed, 10 Jun 2026 09:33:49 +0000 (11:33 +0200)]
Add docs
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 9 Jun 2026 12:58:04 +0000 (14:58 +0200)]
Add basic tests
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 1 Jun 2026 14:36:14 +0000 (16:36 +0200)]
Apply suggestions from code review
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 13 May 2026 13:19:33 +0000 (15:19 +0200)]
Add conversion functions (just to be complete)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 13 May 2026 11:23:51 +0000 (13:23 +0200)]
Rework logic a bit to make it more resilient against failing cases
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 21 Apr 2026 14:21:40 +0000 (16:21 +0200)]
Make number of task threads configurable
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 8 Apr 2026 11:19:39 +0000 (13:19 +0200)]
Base of a working mechanism using a multi-index
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 1 Apr 2026 11:58:16 +0000 (13:58 +0200)]
Do the actual pin in cache work.
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 1 Apr 2026 08:30:01 +0000 (10:30 +0200)]
Add keepwarm to recordcache config
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 31 Mar 2026 14:34:53 +0000 (16:34 +0200)]
Compute root refresh period based no TTLs of actual records
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 26 Mar 2026 14:07:14 +0000 (15:07 +0100)]
Tie force refresh mode into syncres and tasks
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 26 Mar 2026 12:56:27 +0000 (13:56 +0100)]
Introduce a "forcedRefresh" flag, which regards the entry expired if half the TTL has passed
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 26 Mar 2026 12:37:24 +0000 (13:37 +0100)]
Refactor SyncRes constructor
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 26 Mar 2026 12:17:06 +0000 (13:17 +0100)]
Garbage collect unused SyncRes flag
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Mon, 27 Jul 2026 10:09:44 +0000 (12:09 +0200)]
Make sure we do not leave dangling internal transactions upon error.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 27 Jul 2026 09:36:28 +0000 (11:36 +0200)]
rec: bandaid for disabling algo 8 also disables DS digest 2
Fixes #17772 in a quick and dirty way.
Proper fix should separate algo handling and digest handling, as
more than one algo can use the same digest.
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 27 Jul 2026 09:29:35 +0000 (11:29 +0200)]
rec: add a comment wrt using g++ with CARGO_USE_DEV=1
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 27 Jul 2026 09:11:38 +0000 (11:11 +0200)]
Merge pull request #17737 from farrokhi/feature/recursor-ede-nta-33
Emit EDE 33 (Negative Trust Anchor) on NTA-covered responses
Remi Gacogne [Thu, 16 Jul 2026 10:31:21 +0000 (12:31 +0200)]
dnsname: Properly reject 256-bytes wire-encoded DNS names
The length check was off by one for uncompressed names.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
(cherry picked from commit
740f5ce2cee645926197115f1b97a8aa08300107 )
Miod Vallat [Mon, 27 Jul 2026 06:05:10 +0000 (08:05 +0200)]
Do not depend upon name mangling.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 24 Jul 2026 09:51:16 +0000 (11:51 +0200)]
Allow a primary server address to be passed to the axfr-retrieve endpoint.
Fixes: #14733
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 27 Jul 2026 05:13:58 +0000 (07:13 +0200)]
Merge pull request #17735 from miodvallat/o'malley's_bar
auth tests: preserve brain cells
Miod Vallat [Mon, 27 Jul 2026 05:13:04 +0000 (07:13 +0200)]
Merge pull request #17774 from miodvallat/lmdboom
auth: more lmdb stability
Miod Vallat [Mon, 27 Jul 2026 05:00:31 +0000 (07:00 +0200)]
Merge pull request #17780 from miodvallat/sqheavy
auth sqlite: prevent file descriptor leaks in some conditions
Miod Vallat [Mon, 27 Jul 2026 04:59:01 +0000 (06:59 +0200)]
Merge pull request #17782 from miodvallat/embarassing_lmdb_bug
auth: fix embarassing lmdb bug
Miod Vallat [Fri, 24 Jul 2026 14:15:49 +0000 (16:15 +0200)]
Write transient domain info correctly at domain creation, if split mode.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 24 Jul 2026 13:57:06 +0000 (15:57 +0200)]
Merge pull request #17779 from Support-itecz/svcb-duplicate-svcparamkey
reject duplicate SvcParamKeys in the SVCB/HTTPS text parser
Miod Vallat [Fri, 24 Jul 2026 10:38:11 +0000 (12:38 +0200)]
Check for write access to the SQLite3 database prior to opening it.
This prevents older SQLite libraries to leak file descriptors in some
configurations.
Fixes: #13952
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Itecz Solution [Fri, 24 Jul 2026 10:26:40 +0000 (15:56 +0530)]
reject duplicate SvcParamKeys in the SVCB/HTTPS text parser
Signed-off-by: Itecz Solution <support@itecz.au>
Remi Gacogne [Fri, 24 Jul 2026 08:26:19 +0000 (10:26 +0200)]
Merge pull request #17760 from Support-itecz/packetcache-edns-option-bound
Correct the EDNS option length bound in queryMatches
Remi Gacogne [Fri, 24 Jul 2026 07:23:25 +0000 (09:23 +0200)]
Delint test-packetcache_hh.cc
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Itecz Solution [Wed, 22 Jul 2026 10:48:18 +0000 (16:18 +0530)]
Correct the EDNS option length bound in queryMatches
queryMatches did not subtract the 4-byte option header that getNextEDNSOption consumes, so its length bound was looser than hashAfterQname's for the same RDATA and the two could disagree on a malformed OPT option.
Signed-off-by: Itecz Solution <support@itecz.au>
Miod Vallat [Thu, 23 Jul 2026 14:43:25 +0000 (16:43 +0200)]
doom-tidy
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>