]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
10 months agoForce callers of getMDBEnv() to always specify the maximum map size. 15677/head
Miod Vallat [Mon, 16 Jun 2025 06:22:24 +0000 (08:22 +0200)] 
Force callers of getMDBEnv() to always specify the maximum map size.

Fixes: #12901
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
10 months agoChange integer type from uint8_t to int in the docs
Oliver Chen [Mon, 16 Jun 2025 06:08:12 +0000 (06:08 +0000)] 
Change integer type from uint8_t to int in the docs

10 months 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

10 months 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)

10 months agodnsdist: add a count to track the number of query restarts
Oliver Chen [Mon, 16 Jun 2025 00:52:24 +0000 (00:52 +0000)] 
dnsdist: add a count to track the number of query restarts

10 months agoAddress PR review comments
Oliver Chen [Sat, 14 Jun 2025 13:18:58 +0000 (13:18 +0000)] 
Address PR review comments

10 months 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

10 months agoMake clang-tidy checks happy
Oliver Chen [Fri, 13 Jun 2025 13:30:11 +0000 (13:30 +0000)] 
Make clang-tidy checks happy

10 months 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>
10 months agodnsdist: add route policy of first ordered then weighted
Oliver Chen [Fri, 13 Jun 2025 11:20:48 +0000 (11:20 +0000)] 
dnsdist: add route policy of first ordered then weighted

User may require two levels of routing policy to select downstream
servers. First choose the least ordered, then distribute queries
according to weights among the same ordered servers. It also added
special filtering on selecting servers for query restart. If user
sets the required tag in the restarted query then the policy will
not select server(s) that had been tried before.

10 months 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

10 months 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

10 months 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>
10 months 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

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

10 months 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

10 months 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>
10 months 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>
10 months agoRewrite comment that no longer reflects reality
Otto Moerbeek [Fri, 13 Jun 2025 09:36:09 +0000 (11:36 +0200)] 
Rewrite comment that no longer reflects reality

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoTypos in comments from miod
Otto Moerbeek [Fri, 13 Jun 2025 09:28:35 +0000 (11:28 +0200)] 
Typos in comments from miod

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months 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

10 months 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

10 months agoFix autotools build and avoid a few g++ warnings by initing all members explicitly
Otto Moerbeek [Thu, 12 Jun 2025 13:42:41 +0000 (15:42 +0200)] 
Fix autotools build and avoid a few g++ warnings by initing all members explicitly

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoFactor code responsible for serial increase. NFCI
Miod Vallat [Fri, 13 Jun 2025 08:39:11 +0000 (10:39 +0200)] 
Factor code responsible for serial increase. NFCI

10 months agoCorrectly return the previous serial number in X-PDNS-Old-Serial.
Miod Vallat [Fri, 13 Jun 2025 08:37:28 +0000 (10:37 +0200)] 
Correctly return the previous serial number in X-PDNS-Old-Serial.

10 months agoBetter and more tests 15646/head
Otto Moerbeek [Fri, 13 Jun 2025 08:19:34 +0000 (10:19 +0200)] 
Better and more tests

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months agoRestructure EDE computation to follow RFC1982 as well
Otto Moerbeek [Fri, 13 Jun 2025 07:41:53 +0000 (09:41 +0200)] 
Restructure EDE computation to follow RFC1982 as well

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months 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

10 months 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.

10 months 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
10 months 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

10 months 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>
10 months 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.

10 months 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.

10 months 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.

10 months agoRename sdig argument from otid to traceid
Otto Moerbeek [Thu, 12 Jun 2025 12:27:37 +0000 (14:27 +0200)] 
Rename sdig argument from otid to traceid

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months 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.

10 months agodocs plus some cleanup
Otto Moerbeek [Thu, 12 Jun 2025 09:07:10 +0000 (11:07 +0200)] 
docs plus some cleanup

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoRemove helper files used for development
Otto Moerbeek [Thu, 12 Jun 2025 08:10:14 +0000 (10:10 +0200)] 
Remove helper files used for development

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoBetter processing of parent info of event traces (and Spans)
Otto Moerbeek [Fri, 6 Jun 2025 08:05:56 +0000 (10:05 +0200)] 
Better processing of parent info of event traces (and Spans)

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoOptionally pass OT trace to a collector in ProtobufLogger.py
Otto Moerbeek [Thu, 5 Jun 2025 11:47:44 +0000 (13:47 +0200)] 
Optionally pass OT trace to a collector in ProtobufLogger.py

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agosdig adding OT IDs and rec incoming processing of OT IDs
Otto Moerbeek [Mon, 26 May 2025 07:23:38 +0000 (09:23 +0200)] 
sdig adding OT IDs and rec incoming processing of OT IDs

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoFramework to add opentelemetry trace data in rec
Otto Moerbeek [Tue, 20 May 2025 12:23:15 +0000 (14:23 +0200)] 
Framework to add opentelemetry trace data in rec

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoTeach contrib/ProtobufLogger.py code to decode opentelemetry protobuf data
Otto Moerbeek [Tue, 20 May 2025 12:22:31 +0000 (14:22 +0200)] 
Teach contrib/ProtobufLogger.py code to decode opentelemetry protobuf data

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoAdded comments on the semantics of the various fields, added forgotten flags field...
Otto Moerbeek [Tue, 20 May 2025 08:30:30 +0000 (10:30 +0200)] 
Added comments on the semantics of the various fields, added forgotten flags field to Span

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoAdded more extensive test, fixed a few small things
Otto Moerbeek [Wed, 30 Apr 2025 11:12:33 +0000 (13:12 +0200)] 
Added more extensive test, fixed a few small things

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months agoOpenTelemetry trace data protobuf encode/decode using protozero
Otto Moerbeek [Mon, 28 Apr 2025 11:45:41 +0000 (13:45 +0200)] 
OpenTelemetry trace data protobuf encode/decode using protozero

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months 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

10 months 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

10 months 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

10 months 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>
10 months 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>
10 months 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

10 months 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

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

10 months 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.

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

10 months 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

10 months 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>
10 months 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

10 months 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.

10 months 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
10 months 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().

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

10 months 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)

10 months 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.

10 months 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.

10 months 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.

10 months 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.

10 months 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

10 months 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>
10 months 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

10 months 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

10 months 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.

10 months agoAdded a test for the interpretation of 0 and 0xffffff as RRSIG timestamps
Otto Moerbeek [Tue, 10 Jun 2025 14:43:31 +0000 (16:43 +0200)] 
Added a test for the interpretation of 0 and 0xffffff as RRSIG timestamps

10 months agoImplement and use rfc1982LessThanOrEqual, use C++ style casts
Otto Moerbeek [Tue, 10 Jun 2025 10:44:34 +0000 (12:44 +0200)] 
Implement and use rfc1982LessThanOrEqual, use C++ style casts

10 months 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

10 months agorec: when using ZTC, do not store non-auth data if the name is subject to recursive... 15652/head
Otto Moerbeek [Tue, 10 Jun 2025 07:02:47 +0000 (09:02 +0200)] 
rec: when using ZTC, do not store non-auth data if the name is subject to recursive forwarding

Fixes #15651

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
10 months 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

10 months 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>
10 months 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.

10 months agorec validate: use rfc1982 math for RRSIG timestamps
Peter van Dijk [Mon, 9 Jun 2025 13:44:18 +0000 (15:44 +0200)] 
rec validate: use rfc1982 math for RRSIG timestamps

10 months agogh actions: Use Spectral CLI to validate auth Swagger API spec 15643/head
Kevin P. Fleming [Sun, 8 Jun 2025 11:52:13 +0000 (07:52 -0400)] 
gh actions: Use Spectral CLI to validate auth Swagger API spec

Installs @stoplight/spectral-cli into the CI image, and uses it to
validate the Swagger API spec against the Swagger 2.0 schema.

10 months 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>
10 months 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>
10 months 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>
10 months 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>
10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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>