]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 hours agoMerge pull request #17822 from miodvallat/cant_afford_writable_storage_anymore master
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

5 hours agoMerge pull request #17831 from miodvallat/the_1980s_called
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

6 hours agoMerge pull request #17794 from Habbie/crypto-cleanup
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

12 hours agoMerge pull request #17835 from Support-itecz/iputils-byte-aligned-prefix
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

2 days agoiputils: do not index past the address for byte-aligned prefixes 17835/head
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>
3 days agoRemove no-longer relevant or applicable limits in DNS update intro. 17831/head
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>
3 days agoMerge pull request #17829 from miodvallat/comboredom
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

3 days agoMake this build again. 17829/head
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>
4 days agoMerge pull request #17743 from miodvallat/inet_atonishment
Miod Vallat [Thu, 30 Jul 2026 10:16:10 +0000 (12:16 +0200)] 
Merge pull request #17743 from miodvallat/inet_atonishment

IPv4 sugar

4 days agoMerge pull request #17827 from miodvallat/lmdb_bargain
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

4 days agoMerge pull request #17742 from miodvallat/selenism
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

4 days agoUse sqlite3_open_v2() so that we can open the database read-only if need be. 17822/head
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>
4 days agoMerge pull request #17566 from miodvallat/mëtricks
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

4 days agoMerge pull request #17826 from miodvallat/x-no-api-key
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

4 days agoAppease clang-tidy due to unrelated changes in these areas. 17827/head
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>
4 days agoDo not create temporary transactions in methods which require one anymay.
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>
4 days agoEnfore active transactions in update{DNSSECOrderNameAndAuth,EmptyNonTerminals}
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>
4 days agoMerge pull request #17821 from miodvallat/no_smoke_without_pr
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

4 days agoDo not log x-api-key value in 'detailed' log level. 17826/head
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>
4 days agoMake less use of the StatBag globals. 17566/head
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>
4 days agoAdd counters for API calls and some of their results.
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>
4 days agoDo not truncate webserver statistics to int.
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>
4 days agoRemove dead prototype.
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>
4 days agoMerge pull request #17824 from Support-itecz/geoip-key-file-mode
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

4 days agocreate geoip dnssec key files with mode 0600 17824/head
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>
5 days agoMerge pull request #17804 from Habbie/new-in-51-not-52
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

5 days agoLet zone edit recreate the whole zone if it has invalid records. 17821/head
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>
5 days agoMerge pull request #17808 from ersingundem/dnsdist-fix-web-dashboard-drops
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

5 days agoMerge pull request #17770 from miodvallat/unknotted
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

5 days agoMerge pull request #17771 from miodvallat/retry_ignore
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

5 days agoMerge pull request #17778 from miodvallat/nonrandom_api_axfr
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

5 days agoMerge pull request #17787 from miodvallat/would_you_like_records_with_that
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

5 days agoAllow integers in contexts where bools are expected. 17742/head
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>
5 days agoPrefer to raise a more detailed exception.
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>
5 days agoTry and give more details if boost::get<> fails.
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>
5 days agoImplement lookupEnd().
Miod Vallat [Thu, 16 Jul 2026 12:15:19 +0000 (14:15 +0200)] 
Implement lookupEnd().

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
5 days agoFix documentation: Lua2 backend is (mostly) read-only.
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>
5 days agodnsdist: Fix drops in the web dashboard 17808/head
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>
6 days agoMerge pull request #17802 from rgacogne/ddist-nghttp2-in-set-last-io-blocked
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

6 days agoMerge pull request #17801 from rgacogne/ddist-modernize-nghttp2-code
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

6 days agonaptr-additional-processing is coming to 5.1.4 17804/head
Peter van Dijk [Tue, 28 Jul 2026 14:16:47 +0000 (16:16 +0200)] 
naptr-additional-processing is coming to 5.1.4

6 days agodefault-soa-edit-api is new in 5.1, not 5.2
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

6 days agodnsdist: USe the short `std::array` version suggested by Miod (thanks!) 17801/head
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>
6 days agodnsdist: Properly set the "last IO blocked" flag from incoming DoH 17802/head
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>
6 days agodnsdist: Modernize our `nghttp2`-related code
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>
6 days agorequire libcrypto 1.1 or up, and report version 17794/head
Peter van Dijk [Tue, 28 Jul 2026 12:43:46 +0000 (14:43 +0200)] 
require libcrypto 1.1 or up, and report version

6 days agoMerge pull request #17799 from Habbie/dnsdist-eol-word
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"

6 days agoMerge pull request #17798 from rgacogne/ddist-nghttp2-error-callback
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"

6 days agofully drop openssl_thread_setup/cleanup
Peter van Dijk [Tue, 28 Jul 2026 10:58:15 +0000 (12:58 +0200)] 
fully drop openssl_thread_setup/cleanup

6 days agoadd "DNSdist" word after "PowerDNS" 17799/head
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>
6 days agodnsdist: `nghttp2`'s error callback is "solely for debugging purpose" 17798/head
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>
6 days agoMerge pull request #17797 from rgacogne/dnsname-too-long
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

6 days agowe can trust SSL_set_hostflags to be there, libressl has had it for five years
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

6 days agotest-dnsname_cc: clang-tidy fixes 17797/head
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>
6 days agoMerge pull request #17751 from Support-itecz/lmdb-key-length-check
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

6 days agodnsname: Don't mix additions and subtractions when possible
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>
6 days agodnsname: Account for the existing content when parsing labels
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>
6 days agodrop support for openssl 1.0 and very old libressl
Peter van Dijk [Mon, 27 Jul 2026 19:10:02 +0000 (21:10 +0200)] 
drop support for openssl 1.0 and very old libressl

7 days agoMerge pull request #17790 from rgacogne/dnsname-256
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

7 days agoMerge pull request #17789 from omoerbeek/coverity-20260723
Otto Moerbeek [Mon, 27 Jul 2026 14:14:30 +0000 (16:14 +0200)] 
Merge pull request #17789 from omoerbeek/coverity-20260723

Two coverity fixes

7 days agoMerge pull request #17791 from rgacogne/ddist-coveiryy-20260727
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

7 days agoMerge pull request #17360 from omoerbeek/rec-warmcache
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

7 days agotest-dnsname_cc: Fix coverity warning 17790/head
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>
7 days agodnsdist: Fix a missed performance optimization reported by Coverity 17791/head
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>
7 days agoHandle review comments fomr @rgacogne 17360/head
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>
7 days agoMerge pull request #17785 from omoerbeek/rec-warn-CARGO_USE_DEV
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

7 days agoMerge pull request #17786 from omoerbeek/rec-unsupported-digest-is-not
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

7 days agoAdd docs
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>
7 days agoAdd basic tests
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>
7 days agoApply suggestions from code review
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>
7 days agoAdd conversion functions (just to be complete)
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>
7 days agoRework logic a bit to make it more resilient against failing cases
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>
7 days agoMake number of task threads configurable
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>
7 days agoBase of a working mechanism using a multi-index
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>
7 days agoDo the actual pin in cache work.
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>
7 days agoAdd keepwarm to recordcache config
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>
7 days agoCompute root refresh period based no TTLs of actual records
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>
7 days agoTie force refresh mode into syncres and tasks
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>
7 days agoIntroduce a "forcedRefresh" flag, which regards the entry expired if half the TTL...
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>
7 days agoRefactor SyncRes constructor
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>
7 days agoGarbage collect unused SyncRes flag
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>
7 days agoMake sure we do not leave dangling internal transactions upon error. 17787/head
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>
7 days agorec: bandaid for disabling algo 8 also disables DS digest 2 17786/head
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>
7 days agorec: add a comment wrt using g++ with CARGO_USE_DEV=1 17785/head
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>
7 days agoMerge pull request #17737 from farrokhi/feature/recursor-ede-nta-33
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

7 days agodnsname: Properly reject 256-bytes wire-encoded DNS names
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)

7 days agoDo not depend upon name mangling. 17770/head
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>
7 days agoAllow a primary server address to be passed to the axfr-retrieve endpoint. 17778/head
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>
7 days agoMerge pull request #17735 from miodvallat/o'malley's_bar
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

7 days agoMerge pull request #17774 from miodvallat/lmdboom
Miod Vallat [Mon, 27 Jul 2026 05:13:04 +0000 (07:13 +0200)] 
Merge pull request #17774 from miodvallat/lmdboom

auth: more lmdb stability

7 days agoMerge pull request #17780 from miodvallat/sqheavy
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

7 days agoMerge pull request #17782 from miodvallat/embarassing_lmdb_bug
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

10 days agoWrite transient domain info correctly at domain creation, if split mode. 17782/head
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>
10 days agoMerge pull request #17779 from Support-itecz/svcb-duplicate-svcparamkey
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

10 days agoCheck for write access to the SQLite3 database prior to opening it. 17780/head
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>
10 days agoreject duplicate SvcParamKeys in the SVCB/HTTPS text parser 17779/head
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>
10 days agoMerge pull request #17760 from Support-itecz/packetcache-edns-option-bound
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

10 days agoDelint test-packetcache_hh.cc 17760/head
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>
11 days agoCorrect the EDNS option length bound in queryMatches
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>
11 days agodoom-tidy 17774/head
Miod Vallat [Thu, 23 Jul 2026 14:43:25 +0000 (16:43 +0200)] 
doom-tidy

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