]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
6 weeks agorec and auth: implement stop command as alias for quit(-nicely) 15686/head
Otto Moerbeek [Tue, 17 Jun 2025 08:24:52 +0000 (10:24 +0200)] 
rec and auth: implement stop command as alias for quit(-nicely)

Fixes #15674

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoMerge pull request #15679 from miodvallat/fragmented_sun
Miod Vallat [Mon, 16 Jun 2025 13:56:45 +0000 (15:56 +0200)] 
Merge pull request #15679 from miodvallat/fragmented_sun

Provide an IP_OFFMASK value for systems lacking it

6 weeks agoMerge pull request #15681 from miodvallat/geoipfeetshooting
Miod Vallat [Mon, 16 Jun 2025 12:46:27 +0000 (14:46 +0200)] 
Merge pull request #15681 from miodvallat/geoipfeetshooting

Lua GeoIPQueryAttribute documentation update

6 weeks agoFix documentation build warning. 15681/head
Miod Vallat [Mon, 16 Jun 2025 12:13:59 +0000 (14:13 +0200)] 
Fix documentation build warning.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoMention that GeoIPQueryAttribute symbolic constants in Lua are v5+.
Miod Vallat [Mon, 16 Jun 2025 12:13:09 +0000 (14:13 +0200)] 
Mention that GeoIPQueryAttribute symbolic constants in Lua are v5+.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoProvide an IP_OFFMASK value for systems lacking it. 15679/head
Miod Vallat [Mon, 16 Jun 2025 10:58:58 +0000 (12:58 +0200)] 
Provide an IP_OFFMASK value for systems lacking it.

Fixes: #8060
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
6 weeks agoMerge pull request #15662 from rgacogne/ddist-apply-yaml-items-early
Remi Gacogne [Mon, 16 Jun 2025 07:32:28 +0000 (09:32 +0200)] 
Merge pull request #15662 from rgacogne/ddist-apply-yaml-items-early

dnsdist: Apply generic YAML configuration items early

6 weeks agoMerge pull request #15672 from miodvallat/silencing_the_signing
Miod Vallat [Mon, 16 Jun 2025 06:04:22 +0000 (08:04 +0200)] 
Merge pull request #15672 from miodvallat/silencing_the_signing

Stop listing the trusted keys at the end of tests

6 weeks agoMerge pull request #15661 from omoerbeek/rec-nta-retrieval
Otto Moerbeek [Mon, 16 Jun 2025 05:50:46 +0000 (07:50 +0200)] 
Merge pull request #15661 from omoerbeek/rec-nta-retrieval

rec: fix negativetrustanchor.server CH TXT query processing (disabled by default)

7 weeks agoMerge pull request #15654 from Habbie/rec-build-amazon2023-and-assorted-nits
Peter van Dijk [Fri, 13 Jun 2025 21:10:09 +0000 (23:10 +0200)] 
Merge pull request #15654 from Habbie/rec-build-amazon2023-and-assorted-nits

rec: amazon2023 build fix + nits

7 weeks agoStop listing the trusted keys at the end of tests. 15672/head
Miod Vallat [Fri, 13 Jun 2025 12:44:33 +0000 (14:44 +0200)] 
Stop listing the trusted keys at the end of tests.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
7 weeks agoMerge pull request #15640 from rgacogne/ddist-remove-records-on-rcode-action
Remi Gacogne [Fri, 13 Jun 2025 10:58:43 +0000 (12:58 +0200)] 
Merge pull request #15640 from rgacogne/ddist-remove-records-on-rcode-action

dnsdist: Clean up existing records when turning query into response

7 weeks agoMerge pull request #15221 from omoerbeek/loc-lat-long
Otto Moerbeek [Fri, 13 Jun 2025 10:34:37 +0000 (12:34 +0200)] 
Merge pull request #15221 from omoerbeek/loc-lat-long

Compute LOC text representation without using floating point for latitude and longitude

7 weeks agodnsdist: Apply Otto's suggestion of reordering ancount/arcount 15640/head
Remi Gacogne [Fri, 13 Jun 2025 10:05:46 +0000 (12:05 +0200)] 
dnsdist: Apply Otto's suggestion of reordering ancount/arcount

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Remi Gacogne <github@coredump.fr>
7 weeks agoMerge pull request #15602 from rgacogne/ddist-fix-edns-self-gen-from-packet
Remi Gacogne [Fri, 13 Jun 2025 10:05:07 +0000 (12:05 +0200)] 
Merge pull request #15602 from rgacogne/ddist-fix-edns-self-gen-from-packet

dnsdist: Do not replace EDNS in answers self-generated from a packet

7 weeks agomatch FROM/AS case 15654/head
Peter van Dijk [Tue, 10 Jun 2025 13:26:14 +0000 (15:26 +0200)] 
match FROM/AS case

7 weeks agorecursor.spec: explicitly check for el8 and amazon2023
Peter van Dijk [Tue, 10 Jun 2025 11:22:02 +0000 (13:22 +0200)] 
recursor.spec: explicitly check for el8 and amazon2023

7 weeks agoUpgrade guide note 15221/head
Otto Moerbeek [Fri, 21 Mar 2025 08:02:52 +0000 (09:02 +0100)] 
Upgrade guide note

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoCompute LOC text representation without using floating point for latitude and longitude
Otto Moerbeek [Tue, 25 Feb 2025 16:19:10 +0000 (17:19 +0100)] 
Compute LOC text representation without using floating point for latitude and longitude

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
7 weeks agoMerge pull request #15619 from Habbie/views-wsauth-netmask-error
Miod Vallat [Fri, 13 Jun 2025 09:26:59 +0000 (11:26 +0200)] 
Merge pull request #15619 from Habbie/views-wsauth-netmask-error

auth views http: report network typos to user

7 weeks agoMerge pull request #15593 from Habbie/auth-version-loglevel
Miod Vallat [Fri, 13 Jun 2025 09:26:37 +0000 (11:26 +0200)] 
Merge pull request #15593 from Habbie/auth-version-loglevel

auth: restore correct logging level for startup version message

7 weeks agoMerge pull request #15664 from miodvallat/cleaning_me_softly
Miod Vallat [Fri, 13 Jun 2025 08:32:44 +0000 (10:32 +0200)] 
Merge pull request #15664 from miodvallat/cleaning_me_softly

Low-hanging signature cache hanging fruit

7 weeks agoMerge pull request #15659 from miodvallat/spring_paranoia
Miod Vallat [Fri, 13 Jun 2025 08:32:12 +0000 (10:32 +0200)] 
Merge pull request #15659 from miodvallat/spring_paranoia

Some spring paranoia

7 weeks agoMerge pull request #15657 from miodvallat/out_of_domain
Miod Vallat [Fri, 13 Jun 2025 08:31:39 +0000 (10:31 +0200)] 
Merge pull request #15657 from miodvallat/out_of_domain

More domain ID love

7 weeks agoMerge pull request #15609 from miodvallat/shard_removal
Miod Vallat [Fri, 13 Jun 2025 08:31:10 +0000 (10:31 +0200)] 
Merge pull request #15609 from miodvallat/shard_removal

Packet Cache fixes for views

7 weeks agoMerge pull request #15641 from Habbie/auth-2136-test-script-failure
Peter van Dijk [Fri, 13 Jun 2025 08:08:13 +0000 (10:08 +0200)] 
Merge pull request #15641 from Habbie/auth-2136-test-script-failure

dyndns test: report script failure

7 weeks agoMerge pull request #15667 from miodvallat/my_counter_is_rich
Miod Vallat [Fri, 13 Jun 2025 07:35:09 +0000 (09:35 +0200)] 
Merge pull request #15667 from miodvallat/my_counter_is_rich

minor tsan fixes

7 weeks agoUse atomic types for the latency metrics. 15667/head
Miod Vallat [Fri, 13 Jun 2025 06:58:36 +0000 (08:58 +0200)] 
Use atomic types for the latency metrics.

7 weeks agoUse atomic types for "time for next cache cleanup" variable.
Miod Vallat [Fri, 13 Jun 2025 06:37:56 +0000 (08:37 +0200)] 
Use atomic types for "time for next cache cleanup" variable.

Fixes: #11816
7 weeks agoMerge pull request #15665 from jpmens/patch-18
Miod Vallat [Thu, 12 Jun 2025 14:58:07 +0000 (16:58 +0200)] 
Merge pull request #15665 from jpmens/patch-18

pdnsutil: clarify provenance of default TTL

7 weeks agopdnsutil: clarify provenance of default TTL 15665/head
Jan-Piet Mens [Thu, 12 Jun 2025 14:29:12 +0000 (16:29 +0200)] 
pdnsutil: clarify provenance of default TTL

Signed-off-by: Jan-Piet Mens <jp@mens.de>
7 weeks agoThrow some bones to clang-tidy. 15664/head
Miod Vallat [Thu, 12 Jun 2025 13:29:26 +0000 (15:29 +0200)] 
Throw some bones to clang-tidy.

7 weeks agoClear DNSSEC signature cache outside of its write lock.
Miod Vallat [Thu, 12 Jun 2025 13:00:55 +0000 (15:00 +0200)] 
Clear DNSSEC signature cache outside of its write lock.

7 weeks agoMerge pull request #15663 from miodvallat/blind_as_a_mole
Miod Vallat [Thu, 12 Jun 2025 13:13:38 +0000 (15:13 +0200)] 
Merge pull request #15663 from miodvallat/blind_as_a_mole

End sentences with dots, not commas.

7 weeks agoEnd sentences with dots, not commas. 15663/head
Miod Vallat [Thu, 12 Jun 2025 12:29:55 +0000 (14:29 +0200)] 
End sentences with dots, not commas.

7 weeks agoMerge pull request #15656 from miodvallat/deadbool
Miod Vallat [Thu, 12 Jun 2025 11:42:19 +0000 (13:42 +0200)] 
Merge pull request #15656 from miodvallat/deadbool

Remove never used argument

7 weeks agoMerge pull request #15605 from miodvallat/random_random
Miod Vallat [Thu, 12 Jun 2025 11:41:51 +0000 (13:41 +0200)] 
Merge pull request #15605 from miodvallat/random_random

Boring coverity-induced changes

7 weeks agodnsdist: Re-generate the YAML settings documentation 15662/head
Remi Gacogne [Thu, 12 Jun 2025 10:42:34 +0000 (12:42 +0200)] 
dnsdist: Re-generate the YAML settings documentation

7 weeks agodnsdist: Add a regression test for randomized IDs over UDP
Remi Gacogne [Thu, 12 Jun 2025 10:42:05 +0000 (12:42 +0200)] 
dnsdist: Add a regression test for randomized IDs over UDP

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: Apply generic YAML configuration items early
Remi Gacogne [Thu, 12 Jun 2025 10:40:31 +0000 (12:40 +0200)] 
dnsdist: Apply generic YAML configuration items early

Some of these are used when more complicated objects (backends,
for example) are created, so we need them to be applied before
we start creating objects.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoReintroduce comment form rcpgenerator.cc 15661/head
Otto Moerbeek [Thu, 12 Jun 2025 09:49:16 +0000 (11:49 +0200)] 
Reintroduce comment form rcpgenerator.cc

7 weeks agorec: quote NTA reason retruned in negativetrustanchor.server and set answer to be...
Otto Moerbeek [Thu, 12 Jun 2025 09:43:44 +0000 (11:43 +0200)] 
rec: quote NTA reason retruned in negativetrustanchor.server and set answer to be variable

7 weeks agoExpose and tidy txtEscape
Otto Moerbeek [Thu, 12 Jun 2025 09:43:20 +0000 (11:43 +0200)] 
Expose and tidy txtEscape

7 weeks agoDrop domainid argument from DNSSECKeeper::startTransaction. 15659/head
Miod Vallat [Thu, 12 Jun 2025 07:37:05 +0000 (09:37 +0200)] 
Drop domainid argument from DNSSECKeeper::startTransaction.

It is never used in a destructive way.

7 weeks agoMake comments slightly less inaccurate.
Miod Vallat [Thu, 12 Jun 2025 07:36:46 +0000 (09:36 +0200)] 
Make comments slightly less inaccurate.

7 weeks agodnsdist: Fix a typo in the upgrade guide, spotted by Miod
Remi Gacogne [Thu, 12 Jun 2025 08:22:16 +0000 (10:22 +0200)] 
dnsdist: Fix a typo in the upgrade guide, spotted by Miod

7 weeks agodnsdist: Use `uint8_t` for rcodes, not `uint16_t`
Remi Gacogne [Thu, 12 Jun 2025 08:22:06 +0000 (10:22 +0200)] 
dnsdist: Use `uint8_t` for rcodes, not `uint16_t`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoMerge pull request #15532 from nokia/master
Remi Gacogne [Thu, 12 Jun 2025 08:04:31 +0000 (10:04 +0200)] 
Merge pull request #15532 from nokia/master

dnsdist: add option to support cache sharing between different payload sizes

7 weeks agoReturn proper domain id values in DNSResourceRecord. 15657/head
Miod Vallat [Wed, 11 Jun 2025 09:19:32 +0000 (11:19 +0200)] 
Return proper domain id values in DNSResourceRecord.

7 weeks agoTry harder to have valid domain id values.
Miod Vallat [Wed, 11 Jun 2025 09:19:22 +0000 (11:19 +0200)] 
Try harder to have valid domain id values.

This makes sure the domain id in struct DomainInfo always gets set to
something (i.e. UnknownDomainID when the backend can't figure out a
meaningful value).

Fixes: #551
7 weeks agoRemove never used third argument of xfrName(). 15656/head
Miod Vallat [Wed, 11 Jun 2025 07:48:07 +0000 (09:48 +0200)] 
Remove never used third argument of xfrName().

7 weeks agoPurge views more thoroughly. 15609/head
Miod Vallat [Wed, 11 Jun 2025 05:27:05 +0000 (07:27 +0200)] 
Purge views more thoroughly.

7 weeks agoAdd a few more std::move() when possible (coverity) 15605/head
Miod Vallat [Wed, 28 May 2025 09:25:11 +0000 (11:25 +0200)] 
Add a few more std::move() when possible (coverity)

7 weeks agoWhen emptying a view, purge all its packetcache data.
Miod Vallat [Wed, 28 May 2025 12:45:25 +0000 (14:45 +0200)] 
When emptying a view, purge all its packetcache data.

7 weeks agoLet AuthZoneCache::removeFromView return whether the view is now empty.
Miod Vallat [Wed, 28 May 2025 12:44:23 +0000 (14:44 +0200)] 
Let AuthZoneCache::removeFromView return whether the view is now empty.

7 weeks agoAdd the ability to purge an entire view from the packetcache.
Miod Vallat [Wed, 28 May 2025 12:50:31 +0000 (14:50 +0200)] 
Add the ability to purge an entire view from the packetcache.

7 weeks agoLock the topmost map (view->cache) in the packet cache.
Miod Vallat [Wed, 28 May 2025 12:46:16 +0000 (14:46 +0200)] 
Lock the topmost map (view->cache) in the packet cache.

7 weeks agoAddress PR comments of reword and remove rsp payload size check 15532/head
Oliver Chen [Mon, 9 Jun 2025 01:54:00 +0000 (01:54 +0000)] 
Address PR comments of reword and remove rsp payload size check

7 weeks agodnsdist: Gracefully handle list of integers in YAML
Remi Gacogne [Fri, 6 Jun 2025 09:01:10 +0000 (11:01 +0200)] 
dnsdist: Gracefully handle list of integers in YAML

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agoadd missing empty condition check on payload rank option
Oliver Chen [Sat, 10 May 2025 03:56:07 +0000 (03:56 +0000)] 
add missing empty condition check on payload rank option

7 weeks agoUse payload size ranking for cache sharing
Oliver Chen [Fri, 9 May 2025 14:29:34 +0000 (14:29 +0000)] 
Use payload size ranking for cache sharing

7 weeks agodnsdist: support skip hashing AR section for caching
Oliver Chen [Wed, 7 May 2025 07:35:18 +0000 (07:35 +0000)] 
dnsdist: support skip hashing AR section for caching

Use case arise that two clients with different udp payload size,
a customized client uses 4096 while glibc resolver uses 1232.
User would like to share cache result for the same query name,
type and class in this case. The downstream servers does not use
ECS and would not return different answers upon other EDNS
options so this is to add an option to support such use case.

7 weeks agoMerge pull request #15650 from edmonds/fix-yaml-bind-enable-proxy-protocol
Remi Gacogne [Tue, 10 Jun 2025 08:50:36 +0000 (10:50 +0200)] 
Merge pull request #15650 from edmonds/fix-yaml-bind-enable-proxy-protocol

dnsdist: YAML: Correct `enable_proxy_protocol` value for TCP/UDP binds

7 weeks agoMerge pull request #15634 from rgacogne/rec-fix-asan-stack-use-after-scope
Remi Gacogne [Tue, 10 Jun 2025 08:30:05 +0000 (10:30 +0200)] 
Merge pull request #15634 from rgacogne/rec-fix-asan-stack-use-after-scope

rec: Fix stack-use-after-scope reported by ASAN

7 weeks agodnsdist: Update documentation for `binds.enable_proxy_protocol` 15650/head
Remi Gacogne [Tue, 10 Jun 2025 07:48:55 +0000 (09:48 +0200)] 
dnsdist: Update documentation for `binds.enable_proxy_protocol`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
7 weeks agodnsdist: YAML: Correct `enable_proxy_protocol` value for TCP/UDP binds
Robert Edmonds [Tue, 10 Jun 2025 03:15:15 +0000 (23:15 -0400)] 
dnsdist: YAML: Correct `enable_proxy_protocol` value for TCP/UDP binds

The YAML `enable_proxy_protocol` property of `BindConfiguration` is
documented as defaulting to "true", but is actually defined to default
to false. This commit redefines this property to default to "true",
which matches the documentation. It also matches the documentation of
the `enableProxyProtocol` option to the Lua `addLocal()` function.

However, when `loadBinds()` constructs the `ClientState` for a TCP
or UDP bind, it hardcodes the last parameter (`enableProxyProtocol`)
to false, i.e. it ignores the configured value. In this commit, the
`enableProxyProtocol` parameter to the `ClientState` constructor is
taken from the corresponding value loaded by the YAML parser.

8 weeks agodnsdist: Clean up existing records when turning query into response
Remi Gacogne [Fri, 6 Jun 2025 14:36:44 +0000 (16:36 +0200)] 
dnsdist: Clean up existing records when turning query into response

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Do not waste CPU cycles handling EDNS twice on self-generated answers 15602/head
Remi Gacogne [Fri, 6 Jun 2025 13:14:13 +0000 (15:14 +0200)] 
dnsdist: Do not waste CPU cycles handling EDNS twice on self-generated answers

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Add a test for EDNS on answers self-generated from a packet
Remi Gacogne [Tue, 27 May 2025 14:43:22 +0000 (16:43 +0200)] 
dnsdist: Add a test for EDNS on answers self-generated from a packet

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Do not replace EDNS in answers self-generated from a packet
Remi Gacogne [Tue, 27 May 2025 14:23:39 +0000 (16:23 +0200)] 
dnsdist: Do not replace EDNS in answers self-generated from a packet

While it makes sense to add/remove EDNS when the answer was generated
from the query itself, we should not be doing that when it has been
generated from a whole DNS packet, as it probably contains exactly
what the user intended it to.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodyndns test: report script failure 15641/head
Peter van Dijk [Fri, 6 Jun 2025 13:58:50 +0000 (15:58 +0200)] 
dyndns test: report script failure

8 weeks agoMerge pull request #15630 from rgacogne/ddist-generated
Remi Gacogne [Fri, 6 Jun 2025 11:18:58 +0000 (13:18 +0200)] 
Merge pull request #15630 from rgacogne/ddist-generated

dnsdist: Better handling of generated files

8 weeks agoMerge pull request #15633 from Habbie/dnsdist-pp-doc-nit
Remi Gacogne [Fri, 6 Jun 2025 11:18:49 +0000 (13:18 +0200)] 
Merge pull request #15633 from Habbie/dnsdist-pp-doc-nit

dnsdist settings docs: fix derailed sentence

8 weeks agoMerge pull request #15342 from romeroalx/regression-tests-meson
Remi Gacogne [Fri, 6 Jun 2025 11:18:34 +0000 (13:18 +0200)] 
Merge pull request #15342 from romeroalx/regression-tests-meson

GH Actions - build-and-test-all: use meson builds for regression tests

8 weeks agoMerge pull request #15637 from omoerbeek/dnsdist-docs-rules-toc
Otto Moerbeek [Fri, 6 Jun 2025 10:02:46 +0000 (12:02 +0200)] 
Merge pull request #15637 from omoerbeek/dnsdist-docs-rules-toc

dnsdist docs: Place "Rule Selectors" in more appropriate place in TOC

8 weeks agodnsdist docs: Place "Rule Selectors" in more appropriate place in TOC 15637/head
Otto Moerbeek [Fri, 6 Jun 2025 09:18:03 +0000 (11:18 +0200)] 
dnsdist docs: Place "Rule Selectors" in more appropriate place in TOC

8 weeks agoMerge pull request #15636 from omoerbeek/rec-meson-packages-followup3
Otto Moerbeek [Fri, 6 Jun 2025 09:09:55 +0000 (11:09 +0200)] 
Merge pull request #15636 from omoerbeek/rec-meson-packages-followup3

rec meson followup: extend unittest max time once more and add trixie daily builds

8 weeks agorec meson followup: extend unittest max time once more, ubicloud is slow in some... 15636/head
Otto Moerbeek [Fri, 6 Jun 2025 08:38:33 +0000 (10:38 +0200)] 
rec meson followup: extend unittest max time once more, ubicloud is slow in some cases

And add trixie to dnsdist and rec daily package build targets

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8 weeks agoMerge pull request #14473 from Habbie/centos-10-stream
Peter van Dijk [Fri, 6 Jun 2025 07:40:26 +0000 (09:40 +0200)] 
Merge pull request #14473 from Habbie/centos-10-stream

builder: add centos-10-stream target

8 weeks agorec: Fix a leak reported by LSAN in the mtasker unit tests 15634/head
Remi Gacogne [Thu, 5 Jun 2025 14:40:28 +0000 (16:40 +0200)] 
rec: Fix a leak reported by LSAN in the mtasker unit tests

8 weeks agodnsdist: Ignore generated dnsdist-rust-lib/rust/src/lib.rs 15630/head
Remi Gacogne [Thu, 5 Jun 2025 14:22:57 +0000 (16:22 +0200)] 
dnsdist: Ignore generated dnsdist-rust-lib/rust/src/lib.rs

8 weeks agoMerge pull request #15632 from omoerbeek/rec-meson-packages-followup2
Otto Moerbeek [Thu, 5 Jun 2025 14:22:18 +0000 (16:22 +0200)] 
Merge pull request #15632 from omoerbeek/rec-meson-packages-followup2

rec: Disable fortify on package builds, it is supplied db package build infra

8 weeks agodnsdist: Add a missing change in the YAML response actions docs
Remi Gacogne [Thu, 5 Jun 2025 14:17:51 +0000 (16:17 +0200)] 
dnsdist: Add a missing change in the YAML response actions docs

8 weeks agodnsdist: Add missing boost dependencies spotted by Otto (thanks!)
Remi Gacogne [Thu, 5 Jun 2025 14:05:20 +0000 (16:05 +0200)] 
dnsdist: Add missing boost dependencies spotted by Otto (thanks!)

8 weeks agodnsdist: Hopefully fixes consistency issues in our build
Remi Gacogne [Tue, 3 Jun 2025 11:10:16 +0000 (13:10 +0200)] 
dnsdist: Hopefully fixes consistency issues in our build

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Also ignore dnsdist-rust-lib/dnsdist-configuration-yaml-items-generated.cc
Remi Gacogne [Tue, 3 Jun 2025 11:13:25 +0000 (13:13 +0200)] 
dnsdist: Also ignore dnsdist-rust-lib/dnsdist-configuration-yaml-items-generated.cc

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Ignore generated "body" header files
Remi Gacogne [Tue, 3 Jun 2025 10:42:29 +0000 (12:42 +0200)] 
dnsdist: Ignore generated "body" header files

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Remove generated files from git
Remi Gacogne [Tue, 3 Jun 2025 10:41:16 +0000 (12:41 +0200)] 
dnsdist: Remove generated files from git

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Rename dnsdist-configuration-yaml-items-generated-pre-in.cc
Remi Gacogne [Tue, 3 Jun 2025 08:22:28 +0000 (10:22 +0200)] 
dnsdist: Rename dnsdist-configuration-yaml-items-generated-pre-in.cc

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Always process `dnsdist-rust-lib/meson.build`
Remi Gacogne [Mon, 2 Jun 2025 13:48:02 +0000 (15:48 +0200)] 
dnsdist: Always process `dnsdist-rust-lib/meson.build`

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Update stale YAML selectors documentation
Remi Gacogne [Mon, 2 Jun 2025 13:41:07 +0000 (15:41 +0200)] 
dnsdist: Update stale YAML selectors documentation

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Automatically generate YAML settings documentation
Remi Gacogne [Mon, 2 Jun 2025 13:40:44 +0000 (15:40 +0200)] 
dnsdist: Automatically generate YAML settings documentation

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Fix paths in the YAML settings documentation generator
Remi Gacogne [Mon, 2 Jun 2025 12:28:22 +0000 (14:28 +0200)] 
dnsdist: Fix paths in the YAML settings documentation generator

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agodnsdist: Move the YAML settings documentation generator
Remi Gacogne [Mon, 2 Jun 2025 12:27:55 +0000 (14:27 +0200)] 
dnsdist: Move the YAML settings documentation generator

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #15631 from rgacogne/ddist-fix-spurious-test-failure
Remi Gacogne [Thu, 5 Jun 2025 14:08:10 +0000 (16:08 +0200)] 
Merge pull request #15631 from rgacogne/ddist-fix-spurious-test-failure

dnsdist: Fix a flaky Proxy Protocol regression test

8 weeks agoMerge pull request #15610 from ns-sjorgedeaguiar/ddist-add-set-edns-response-action
Remi Gacogne [Thu, 5 Jun 2025 14:07:53 +0000 (16:07 +0200)] 
Merge pull request #15610 from ns-sjorgedeaguiar/ddist-add-set-edns-response-action

dnsdist: add SetEDNSOptionResponseAction

8 weeks agodnsdist settings docs: fix derailed sentence 15633/head
Peter van Dijk [Thu, 5 Jun 2025 13:52:22 +0000 (15:52 +0200)] 
dnsdist settings docs: fix derailed sentence

8 weeks agorec: Fix stack-use-after-scope reported by ASAN
Remi Gacogne [Thu, 5 Jun 2025 13:55:29 +0000 (15:55 +0200)] 
rec: Fix stack-use-after-scope reported by ASAN

Technically we are indeed using a stack that is no longer the active
one, because we just switched to a different context, but since the
previous stack still exists that I do not believe it is a real issue.
After this commit we access the previous stack before notifying ASAN
that the stack switch is finished, so we are still allowed to do that.
Note that clang 19 ASAN is fine with both behaviour, but GCC 14 and 15
ASAN aren't.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
8 weeks agoMerge pull request #15389 from miodvallat/wittlching_hour
Peter van Dijk [Thu, 5 Jun 2025 13:47:14 +0000 (15:47 +0200)] 
Merge pull request #15389 from miodvallat/wittlching_hour

[tools] Honour default-ttl in pdnsutil load-zone

8 weeks agobuild-and-test-all: Enable coverage back on our repository 15342/head
Remi Gacogne [Tue, 20 May 2025 13:56:24 +0000 (15:56 +0200)] 
build-and-test-all: Enable coverage back on our repository