]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 weeks agoUpdate to current release branch status 16975/head
Otto Moerbeek [Thu, 12 Mar 2026 13:13:27 +0000 (14:13 +0100)] 
Update to current release branch status

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoTypo
Otto Moerbeek [Thu, 12 Mar 2026 12:56:55 +0000 (13:56 +0100)] 
Typo

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoSome advice: only expose web server on a as-needed basis
Otto Moerbeek [Thu, 12 Mar 2026 12:31:53 +0000 (13:31 +0100)] 
Some advice: only expose web server on a as-needed basis

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMerge pull request #16966 from rgacogne/ddist210-beta2
Remi Gacogne [Thu, 12 Mar 2026 09:24:36 +0000 (10:24 +0100)] 
Merge pull request #16966 from rgacogne/ddist210-beta2

dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta2

6 weeks agoMerge pull request #16944 from pieterlexis/dev-tasks
Pieter Lexis [Thu, 12 Mar 2026 09:12:19 +0000 (10:12 +0100)] 
Merge pull request #16944 from pieterlexis/dev-tasks

chore: Add invoke tasks to configure with meson for development

6 weeks agoMerge pull request #16956 from miodvallat/neper
Miod Vallat [Thu, 12 Mar 2026 08:50:00 +0000 (09:50 +0100)] 
Merge pull request #16956 from miodvallat/neper

Remove error-prone logger interfaces

6 weeks agoMerge pull request #16965 from rgacogne/auth-pp-buffer-size
Remi Gacogne [Thu, 12 Mar 2026 08:49:06 +0000 (09:49 +0100)] 
Merge pull request #16965 from rgacogne/auth-pp-buffer-size

auth: Use the proper size after processing a proxy protocol payload

7 weeks agoMerge pull request #14057 from mind04/auth-catalog-cleanup
Miod Vallat [Wed, 11 Mar 2026 15:51:36 +0000 (16:51 +0100)] 
Merge pull request #14057 from mind04/auth-catalog-cleanup

Auth: fix a crash and some cleanup in the auth-catalogzone.cc

7 weeks agoBe less scary in logs 16956/head
Miod Vallat [Wed, 11 Mar 2026 14:35:52 +0000 (15:35 +0100)] 
Be less scary in logs

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoauth: improve changed catalog detection 14057/head
Kees Monshouwer [Fri, 12 Apr 2024 08:50:16 +0000 (10:50 +0200)] 
auth: improve changed catalog detection

Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
7 weeks agoauth: don't crash when a catalog SOA is invalid
Kees Monshouwer [Tue, 9 Apr 2024 23:09:57 +0000 (01:09 +0200)] 
auth: don't crash when a catalog SOA is invalid

Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
7 weeks agoauth: cleanup auth-catalogzone.cc a bit
Kees Monshouwer [Tue, 9 Apr 2024 20:35:24 +0000 (22:35 +0200)] 
auth: cleanup auth-catalogzone.cc a bit

Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
7 weeks agoFix two cases of lacking/wrong max size compares (YWH-PGM6095-90) 17200/head
Otto Moerbeek [Tue, 10 Mar 2026 09:36:27 +0000 (10:36 +0100)] 
Fix two cases of lacking/wrong max size compares (YWH-PGM6095-90)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agochore(auth): add task to configure auth for dev 16944/head
Pieter Lexis [Wed, 4 Mar 2026 13:33:40 +0000 (14:33 +0100)] 
chore(auth): add task to configure auth for dev

7 weeks agochore(rec): add task to configure recursor for dev
Pieter Lexis [Wed, 4 Mar 2026 13:23:56 +0000 (14:23 +0100)] 
chore(rec): add task to configure recursor for dev

7 weeks agoRemove unused "verbosity" part of the Logger.
Miod Vallat [Wed, 11 Mar 2026 06:45:09 +0000 (07:45 +0100)] 
Remove unused "verbosity" part of the Logger.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoRemove no longer useful Logger::enabled().
Miod Vallat [Wed, 11 Mar 2026 06:39:31 +0000 (07:39 +0100)] 
Remove no longer useful Logger::enabled().

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoRemove no longer used Logr::Absent.
Miod Vallat [Wed, 11 Mar 2026 06:38:46 +0000 (07:38 +0100)] 
Remove no longer used Logr::Absent.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agochore(dndist): add task to configure dnsdist for dev
Pieter Lexis [Wed, 4 Mar 2026 12:53:09 +0000 (13:53 +0100)] 
chore(dndist): add task to configure dnsdist for dev

7 weeks agoMerge pull request #16968 from rgacogne/ddist-fix-compression-dname-srv
Remi Gacogne [Tue, 10 Mar 2026 15:07:56 +0000 (16:07 +0100)] 
Merge pull request #16968 from rgacogne/ddist-fix-compression-dname-srv

dnsdist: Fix the use of compression for SRV and DNAME targets

7 weeks agodnsdist: Fix the use of compression for SRV and DNAME targets 16968/head
Remi Gacogne [Tue, 10 Mar 2026 14:12:36 +0000 (15:12 +0100)] 
dnsdist: Fix the use of compression for SRV and DNAME targets

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoMerge pull request #16967 from rgacogne/ddist-compress-when-changing-name
Remi Gacogne [Tue, 10 Mar 2026 14:04:33 +0000 (15:04 +0100)] 
Merge pull request #16967 from rgacogne/ddist-compress-when-changing-name

dnsdist: Compress DNS names when changing the name in a packet

7 weeks agodnsdist: Compress DNS names when changing the name in a packet 16967/head
Remi Gacogne [Tue, 10 Mar 2026 12:01:48 +0000 (13:01 +0100)] 
dnsdist: Compress DNS names when changing the name in a packet

Otherwise the resulting packet might be bigger than needed.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: Update ChangeLog and security polling zone for 2.1.0-beta2 16966/head
Remi Gacogne [Tue, 10 Mar 2026 11:47:01 +0000 (12:47 +0100)] 
dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta2

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoauth: Use the proper size after processing a proxy protocol payload 16965/head
Remi Gacogne [Tue, 10 Mar 2026 09:48:08 +0000 (10:48 +0100)] 
auth: Use the proper size after processing a proxy protocol payload

Reported in #YWH-PGM6095-116. While it is a bug, I don't believe it
is a security issue because I'm not aware of any implementation
actually releasing the memory unless `shrink_to_fit()` is called,
and even then it's not always the case. The content of the memory
contains part of the existing query and it is still owned by this
buffer so there is no information disclosure.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoMerge pull request #16946 from omoerbeek/rec-rpz-defpol-test
Otto Moerbeek [Tue, 10 Mar 2026 06:17:20 +0000 (07:17 +0100)] 
Merge pull request #16946 from omoerbeek/rec-rpz-defpol-test

rec: add a regresion test for defpol handling

7 weeks agoDNSWriter: Prevent overflow when generating (too) large DNS packets 17071/head
Remi Gacogne [Mon, 9 Mar 2026 14:48:48 +0000 (15:48 +0100)] 
DNSWriter: Prevent overflow when generating (too) large DNS packets

The current API expects the caller to check if the current size
exceeds 65535 bytes before calling `commit()`, and potentially
triggers an out-of-bounds write otherwise when `d_sor` wraps around.
This commit adds an additional safety layer ensuring that we do not
write out of bounds even if the caller is not careful enough.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoMerge pull request #16955 from pieterlexis/lua-headers
Pieter Lexis [Mon, 9 Mar 2026 13:02:30 +0000 (14:02 +0100)] 
Merge pull request #16955 from pieterlexis/lua-headers

auth: Allow adding HTTP Headers in LUA Record ifurlup

7 weeks agofix(auth): Properly sort API RRSets by content 16951/head
Pieter Lexis [Thu, 5 Mar 2026 13:48:53 +0000 (14:48 +0100)] 
fix(auth): Properly sort API RRSets by content

For content, we need to lexographically sort. I would have preferred
canonical ordering of the content. But as this point we have strings we
don't need to roundtrip through the parser.

This also adds an RRSet ordering test.

7 weeks agoSort by content if name and type are equal
Adrien Delle Cave [Mon, 3 Jan 2022 11:10:12 +0000 (12:10 +0100)] 
Sort by content if name and type are equal

Signed-off-by: Adrien Delle Cave <adrien.delle.cave@commandersact.com>
7 weeks agoMerge pull request #16958 from miodvallat/cover_your_log
Miod Vallat [Mon, 9 Mar 2026 12:31:48 +0000 (13:31 +0100)] 
Merge pull request #16958 from miodvallat/cover_your_log

auth: coverity-induced fixes

7 weeks agoThere is no guarantee that the slog initializer is a compile-time constant. 16958/head
Miod Vallat [Mon, 9 Mar 2026 08:51:42 +0000 (09:51 +0100)] 
There is no guarantee that the slog initializer is a compile-time constant.

Therefore we can not safely assume it is safe to check its value in other
global constructors.

Reported by Coverity.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoFix various inefficiencies pointed by Coverity.
Miod Vallat [Mon, 9 Mar 2026 08:48:15 +0000 (09:48 +0100)] 
Fix various inefficiencies pointed by Coverity.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoMerge pull request #16959 from omoerbeek/prep-rec-5.4.0
Otto Moerbeek [Mon, 9 Mar 2026 10:48:43 +0000 (11:48 +0100)] 
Merge pull request #16959 from omoerbeek/prep-rec-5.4.0

rec: prep for rec-5.4.0 final release

7 weeks agorec: prep for rec-5.4.0 final release 16959/head
Otto Moerbeek [Thu, 5 Mar 2026 08:46:41 +0000 (09:46 +0100)] 
rec: prep for rec-5.4.0 final release

Code equal to rc1, one missed PR in changelog of rc1

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoMerge pull request #16957 from jsoref/codeql-set-first-query-false-for-next-query
Miod Vallat [Mon, 9 Mar 2026 05:55:15 +0000 (06:55 +0100)] 
Merge pull request #16957 from jsoref/codeql-set-first-query-false-for-next-query

Set `firstQuery` to false for next query

7 weeks agoSet firstQuery to false for next query 16957/head
Josh Soref [Sun, 8 Mar 2026 00:52:07 +0000 (19:52 -0500)] 
Set firstQuery to false for next query

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
7 weeks agoMerge pull request #13360 from stasic/patch-5
Miod Vallat [Fri, 6 Mar 2026 16:30:37 +0000 (17:30 +0100)] 
Merge pull request #13360 from stasic/patch-5

Update alias.rst

7 weeks agofeat(dnsdist): Add instance field to OT Trace messages 16741/head
Pieter Lexis [Tue, 20 Jan 2026 09:28:16 +0000 (10:28 +0100)] 
feat(dnsdist): Add instance field to OT Trace messages

And drop hostname as a result.

7 weeks agodocs(auth): Add suggestions from @miodvallat 13360/head
Pieter Lexis [Fri, 6 Mar 2026 11:58:01 +0000 (12:58 +0100)] 
docs(auth): Add suggestions from @miodvallat

7 weeks agodocs(auth): address review comments
Pieter Lexis [Fri, 6 Mar 2026 11:27:47 +0000 (12:27 +0100)] 
docs(auth): address review comments

7 weeks agoUpdate alias.rst
Arsen Stasic [Thu, 12 Oct 2023 06:52:23 +0000 (06:52 +0000)] 
Update alias.rst

If a zone is operated with different nameserver software than PowerDNS and ALIAS is used it could result in an out-of-sync sencondary.

Signed-off-by: Arsen Stasic <arsen.stasic@gmail.com>
7 weeks agoRemove logging interfaces which lack a priority.
Miod Vallat [Fri, 6 Mar 2026 10:05:30 +0000 (11:05 +0100)] 
Remove logging interfaces which lack a priority.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoMake sure not to use logging interfaces not taking priority by mistake.
Miod Vallat [Fri, 6 Mar 2026 10:23:19 +0000 (11:23 +0100)] 
Make sure not to use logging interfaces not taking priority by mistake.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agofeat(auth): Allow HTTP Headers in ifurlup requests 16955/head
Pieter Lexis [Fri, 6 Mar 2026 10:58:09 +0000 (11:58 +0100)] 
feat(auth): Allow HTTP Headers in ifurlup requests

Closes: #8295
Closes: #11610
7 weeks agofeat(auth): Allow arrays in LUA Record config
Pieter Lexis [Fri, 6 Mar 2026 10:57:39 +0000 (11:57 +0100)] 
feat(auth): Allow arrays in LUA Record config

7 weeks agofeat: Allow setting HTTP Headers in MiniCurl
Pieter Lexis [Fri, 6 Mar 2026 10:53:58 +0000 (11:53 +0100)] 
feat: Allow setting HTTP Headers in MiniCurl

7 weeks agoMerge pull request #16954 from miodvallat/slowapi
Miod Vallat [Fri, 6 Mar 2026 10:19:39 +0000 (11:19 +0100)] 
Merge pull request #16954 from miodvallat/slowapi

Remove dead code

7 weeks agoMerge pull request #16693 from miodvallat/log_at_first_sight
Miod Vallat [Fri, 6 Mar 2026 10:13:19 +0000 (11:13 +0100)] 
Merge pull request #16693 from miodvallat/log_at_first_sight

auth: structured logging

7 weeks agoRemove dead code. 16954/head
Miod Vallat [Fri, 6 Mar 2026 09:42:08 +0000 (10:42 +0100)] 
Remove dead code.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoMerge pull request #16953 from jsoref/codeql-remove-duplicate-variable-assignment
Miod Vallat [Fri, 6 Mar 2026 06:14:09 +0000 (07:14 +0100)] 
Merge pull request #16953 from jsoref/codeql-remove-duplicate-variable-assignment

Remove double assignment

7 weeks agoMerge pull request #16952 from jsoref/codeql-remove-stray-udp-query
Otto Moerbeek [Thu, 5 Mar 2026 19:40:31 +0000 (20:40 +0100)] 
Merge pull request #16952 from jsoref/codeql-remove-stray-udp-query

Remove unnecessary udp query

7 weeks agoRemove double assignment 16953/head
Josh Soref [Thu, 5 Mar 2026 17:35:43 +0000 (12:35 -0500)] 
Remove double assignment

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
7 weeks agoRemove unnecessary udp query 16952/head
Josh Soref [Thu, 5 Mar 2026 17:30:26 +0000 (12:30 -0500)] 
Remove unnecessary udp query

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
7 weeks agoGive users the ability to enable structured logging in Auth. 16693/head
Miod Vallat [Fri, 27 Feb 2026 14:18:04 +0000 (15:18 +0100)] 
Give users the ability to enable structured logging in Auth.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoStructured logging support for the Authoritative server.
Miod Vallat [Mon, 6 Oct 2025 08:56:08 +0000 (10:56 +0200)] 
Structured logging support for the Authoritative server.

Setup a syslog structured logger for pdns-server and pdnsutil,
copied from recursor.

Add structured logging flavour of existing log messages in the
Authoritative server, except in tools (ixfrdist and pdnsutil).

Structured logging is not enabled yet in the server or any of its tools
and can not be enabled yet.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoMerge pull request #16598 from jsoref/codeql-remove-unused-variables
Pieter Lexis [Thu, 5 Mar 2026 16:00:12 +0000 (17:00 +0100)] 
Merge pull request #16598 from jsoref/codeql-remove-unused-variables

Codeql remove unused variables

7 weeks agoMerge pull request #11147 from jsoref/tinydns
Pieter Lexis [Thu, 5 Mar 2026 15:06:02 +0000 (16:06 +0100)] 
Merge pull request #11147 from jsoref/tinydns

doc: clarify tinydns wildcard divergence

7 weeks agoMerge pull request #16947 from miodvallat/tsigarillo
Miod Vallat [Thu, 5 Mar 2026 14:39:02 +0000 (15:39 +0100)] 
Merge pull request #16947 from miodvallat/tsigarillo

auth: correctly update tsig keys with PostgreSQL

7 weeks agoMerge pull request #16949 from omoerbeek/rec-clarify-rpz-defpol
Otto Moerbeek [Thu, 5 Mar 2026 14:35:05 +0000 (15:35 +0100)] 
Merge pull request #16949 from omoerbeek/rec-clarify-rpz-defpol

rec: clarify RPZ defpol docs

7 weeks agoMention gpgsql query change. 16947/head
Miod Vallat [Thu, 5 Mar 2026 13:49:22 +0000 (14:49 +0100)] 
Mention gpgsql query change.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoMerge pull request #16950 from miodvallat/both_but_singular
Otto Moerbeek [Thu, 5 Mar 2026 13:39:15 +0000 (14:39 +0100)] 
Merge pull request #16950 from miodvallat/both_but_singular

rec: minor documentation tweak

7 weeks agoMerge pull request #16948 from pieterlexis/auth-lua-records-positive-weight
Pieter Lexis [Thu, 5 Mar 2026 13:38:38 +0000 (14:38 +0100)] 
Merge pull request #16948 from pieterlexis/auth-lua-records-positive-weight

auth: Ensure LUA record weights are > 0

7 weeks agoGrammar. 16950/head
Miod Vallat [Thu, 5 Mar 2026 12:55:25 +0000 (13:55 +0100)] 
Grammar.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoTake suggestion from Miod 16949/head
Otto Moerbeek [Thu, 5 Mar 2026 12:54:20 +0000 (13:54 +0100)] 
Take suggestion from Miod

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoMerge pull request #16831 from miodvallat/dnsnotupdate
Miod Vallat [Thu, 5 Mar 2026 12:50:41 +0000 (13:50 +0100)] 
Merge pull request #16831 from miodvallat/dnsnotupdate

auth: stricter handing of the Lua DNS update policy

7 weeks agorec: Add axample for rzpPrimary with defpol=Policy.Custom
Otto Moerbeek [Thu, 5 Mar 2026 12:26:42 +0000 (13:26 +0100)] 
rec: Add axample for rzpPrimary with defpol=Policy.Custom

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agofix(auth): check LUA record weights are > 0 16948/head
Pieter Lexis [Thu, 5 Mar 2026 10:39:40 +0000 (11:39 +0100)] 
fix(auth): check LUA record weights are > 0

7 weeks agofeat: add `pdns::checked_conv_nonzero`
Pieter Lexis [Thu, 5 Mar 2026 10:38:21 +0000 (11:38 +0100)] 
feat: add `pdns::checked_conv_nonzero`

This function just calls `pdns::checked_conv` and verifies the result is
not `0`.

This commit also adds some basic tests for
`pdns::checked_conv{,nonzero}`.

7 weeks agorec: add a regresion test for defpol handling 16946/head
Otto Moerbeek [Thu, 5 Mar 2026 10:31:35 +0000 (11:31 +0100)] 
rec: add a regresion test for defpol handling

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoUpdate pgsql set-tsig-key query to handle conflicts.
Miod Vallat [Thu, 5 Mar 2026 10:28:00 +0000 (11:28 +0100)] 
Update pgsql set-tsig-key query to handle conflicts.

This relies upon a feature introduced in PostgreSQL 9.5, 10 years ago.
We can reasonably assume that distributions people use to run
PowerDNS on those days carry at least that version (which is EOL since
five years now).

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoClarify comment documenting set-tsig-key limitations.
Miod Vallat [Thu, 5 Mar 2026 10:27:30 +0000 (11:27 +0100)] 
Clarify comment documenting set-tsig-key limitations.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
8 weeks agoMerge pull request #16942 from omoerbeek/rec-pc-ttl-docs
Otto Moerbeek [Wed, 4 Mar 2026 15:30:34 +0000 (16:30 +0100)] 
Merge pull request #16942 from omoerbeek/rec-pc-ttl-docs

rec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl

8 weeks agorec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl 16942/head
Otto Moerbeek [Wed, 4 Mar 2026 09:54:19 +0000 (10:54 +0100)] 
rec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl

Currently there is a quoting issue in packetcache.servfail_ttl, making it render badly.
Also remove the ref to 4.0.0, it's *way* too old.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMerge pull request #16939 from pieterlexis/dnsdist-rcoderatio-16934
Pieter Lexis [Tue, 3 Mar 2026 10:29:08 +0000 (11:29 +0100)] 
Merge pull request #16939 from pieterlexis/dnsdist-rcoderatio-16934

dnsdist: fix AllowedRCodeRatio with Lua config

8 weeks agofix(dnsdist): Lua config DBR w/ AllowedRCodeRatio 16939/head
Pieter Lexis [Mon, 2 Mar 2026 18:18:25 +0000 (19:18 +0100)] 
fix(dnsdist): Lua config DBR w/ AllowedRCodeRatio

@omoerbeek wrote the fix, I added a test.

Closes: #16934
8 weeks agoChange chunk_size type to size_t, so that two casts can be removed
Otto Moerbeek [Mon, 2 Mar 2026 12:16:21 +0000 (13:16 +0100)] 
Change chunk_size type to size_t, so that two casts can be removed

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoauth, dnsdist: handle negative chunk sizes correctly
Otto Moerbeek [Mon, 2 Mar 2026 09:55:03 +0000 (10:55 +0100)] 
auth, dnsdist: handle negative chunk sizes correctly

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMerge pull request #16936 from omoerbeek/rec-qr0-response
Otto Moerbeek [Mon, 2 Mar 2026 09:52:09 +0000 (10:52 +0100)] 
Merge pull request #16936 from omoerbeek/rec-qr0-response

rec: drop QR=0 responses from auths

8 weeks agoAdd tests 16936/head
Otto Moerbeek [Thu, 26 Feb 2026 10:43:11 +0000 (11:43 +0100)] 
Add tests

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agoMerge pull request #16920 from miodvallat/structured_recursion
Miod Vallat [Thu, 26 Feb 2026 14:04:36 +0000 (15:04 +0100)] 
Merge pull request #16920 from miodvallat/structured_recursion

plumbing: pass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet.

2 months agoPass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet. 16920/head
Miod Vallat [Fri, 20 Feb 2026 13:26:24 +0000 (14:26 +0100)] 
Pass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 months agoRemove old backward compability cases for broken servers
Otto Moerbeek [Thu, 26 Feb 2026 10:42:27 +0000 (11:42 +0100)] 
Remove old backward compability cases for broken servers

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agorec: do not treat qr=0 responses lenient
Otto Moerbeek [Thu, 26 Feb 2026 09:06:09 +0000 (10:06 +0100)] 
rec: do not treat qr=0 responses lenient

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agorec: continue processing response Policies if a discared policy is hit 17005/head
Otto Moerbeek [Wed, 25 Feb 2026 12:12:07 +0000 (13:12 +0100)] 
rec: continue processing response Policies if a discared policy is hit

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agoMerge pull request #16891 from omoerbeek/rec-aggr-cache-wrap
Otto Moerbeek [Wed, 25 Feb 2026 10:15:50 +0000 (11:15 +0100)] 
Merge pull request #16891 from omoerbeek/rec-aggr-cache-wrap

rec: handle NSEC3 records where hash(owner) > hash(next) in aggressive cache decision

2 months agoMerge pull request #16930 from omoerbeek/rec-tidy-main
Otto Moerbeek [Wed, 25 Feb 2026 09:32:12 +0000 (10:32 +0100)] 
Merge pull request #16930 from omoerbeek/rec-tidy-main

Tidy rec-main.??

2 months agoMerge pull request #16928 from miodvallat/trim
Miod Vallat [Tue, 24 Feb 2026 15:21:50 +0000 (16:21 +0100)] 
Merge pull request #16928 from miodvallat/trim

auth: trim labels faster

2 months agoAdd faster logic for trimToLabels(0) 16928/head
Miod Vallat [Mon, 23 Feb 2026 09:26:32 +0000 (10:26 +0100)] 
Add faster logic for trimToLabels(0)

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
2 months agoTidy rec-main.?? 16930/head
Otto Moerbeek [Mon, 23 Feb 2026 14:08:42 +0000 (15:08 +0100)] 
Tidy rec-main.??

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agoMerge pull request #16927 from omoerbeek/rec-tidy-tcp
Otto Moerbeek [Mon, 23 Feb 2026 11:48:33 +0000 (12:48 +0100)] 
Merge pull request #16927 from omoerbeek/rec-tidy-tcp

rec: tidy rec-tcp.cc and fix a type

2 months agoMerge pull request #16926 from omoerbeek/rec-validate-tidy
Otto Moerbeek [Mon, 23 Feb 2026 11:47:44 +0000 (12:47 +0100)] 
Merge pull request #16926 from omoerbeek/rec-validate-tidy

Tidy and format valdidate.?? and validate-recursor.??

2 months agoMerge pull request #16905 from omoerbeek/rec-save-tls-context
Otto Moerbeek [Mon, 23 Feb 2026 11:03:57 +0000 (12:03 +0100)] 
Merge pull request #16905 from omoerbeek/rec-save-tls-context

rec: save outgoing TLSContext for later re-use

2 months agorec: tidy rec-txp.cc and fix a type 16927/head
Otto Moerbeek [Mon, 23 Feb 2026 09:45:26 +0000 (10:45 +0100)] 
rec: tidy rec-txp.cc and fix a type

Including a type fix: a negative return from parseProxyHeader() is
converted to an unsigned type. This is harmless in the sense that
such a return value will produce the wrong error message as the value
will be interpreted as a very big value, no out of bound access
or similar occurs. The type was wrong since this code was introduced in
95f851d662d5a35ff3fb74f427747f42dd857792.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agoTidy and format valdidate.?? and validate-recursor.?? 16926/head
Otto Moerbeek [Mon, 23 Feb 2026 09:28:42 +0000 (10:28 +0100)] 
Tidy and format valdidate.?? and validate-recursor.??

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agoDon't forget to clear saved TLS contexts on (re)load. 16905/head
Otto Moerbeek [Mon, 23 Feb 2026 09:13:45 +0000 (10:13 +0100)] 
Don't forget to clear saved TLS contexts on (re)load.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 months agoMerge pull request #16921 from rgacogne/ddist210-b1
Remi Gacogne [Mon, 23 Feb 2026 08:46:49 +0000 (09:46 +0100)] 
Merge pull request #16921 from rgacogne/ddist210-b1

dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1

2 months agoMerge pull request #16919 from miodvallat/obafgkm
Miod Vallat [Fri, 20 Feb 2026 15:37:11 +0000 (16:37 +0100)] 
Merge pull request #16919 from miodvallat/obafgkm

auth: remove configurable random generator leftovers, take 2

2 months agodnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1 16921/head
Remi Gacogne [Tue, 17 Feb 2026 10:10:35 +0000 (11:10 +0100)] 
dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
2 months agoPDNS_ENABLE_KISS is no more. 16919/head
Miod Vallat [Fri, 20 Feb 2026 13:57:47 +0000 (14:57 +0100)] 
PDNS_ENABLE_KISS is no more.

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