]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
13 days agoTypos in comments 15910/head
Otto Moerbeek [Thu, 24 Jul 2025 08:06:21 +0000 (10:06 +0200)] 
Typos in comments

Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit 284d807746195952a735e342ef2f06119812ff54)

13 days agoUse unmodified flag for post policy
Otto Moerbeek [Thu, 24 Jul 2025 05:25:13 +0000 (07:25 +0200)] 
Use unmodified flag for post policy

(cherry picked from commit 26c4f7c44ca739fe4a9446677b532e5b56b35806)

13 days agorec: if a RPZ hit has a custom CNAME record, we should try harder to follow it
Otto Moerbeek [Wed, 23 Jul 2025 10:06:41 +0000 (12:06 +0200)] 
rec: if a RPZ hit has a custom CNAME record, we should try harder to follow it

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit 66c8b8bca9218f6d14a76c830634e1e0d39e8f9f)

2 weeks agoMerge pull request #15852 from omoerbeek/backport-ecs-to-5.1.x rec-5.1.6
Otto Moerbeek [Thu, 17 Jul 2025 09:01:25 +0000 (11:01 +0200)] 
Merge pull request #15852 from omoerbeek/backport-ecs-to-5.1.x

rec: Backport to 5.1.x: chain and harden ECS enabled queries

3 weeks agoFix test, it was using a feature only available on master 15852/head
Otto Moerbeek [Wed, 16 Jul 2025 07:22:55 +0000 (09:22 +0200)] 
Fix test, it was using a feature only available on master

3 weeks agoBackport of Fix two issues with chaining ECS enabled queries
Otto Moerbeek [Tue, 15 Jul 2025 11:54:30 +0000 (13:54 +0200)] 
Backport of Fix two issues with chaining ECS enabled queries

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
6 weeks agoSwitch off leak detect in CI
Otto Moerbeek [Thu, 19 Jun 2025 12:52:58 +0000 (14:52 +0200)] 
Switch off leak detect in CI

2 months agoMerge pull request #15622 from romeroalx/backport-14565-to-rec-5.1.x
Otto Moerbeek [Tue, 3 Jun 2025 17:27:25 +0000 (19:27 +0200)] 
Merge pull request #15622 from romeroalx/backport-14565-to-rec-5.1.x

rec-5.1.x: backport 14565 - gh actions - coveralls: avoid CI failure by setting fail-on-error: false

2 months agogh actions - coveralls: avoid CI failure by setting fail-on-error: false 15622/head
romeroalx [Mon, 15 Jul 2024 10:41:57 +0000 (12:41 +0200)] 
gh actions - coveralls: avoid CI failure by setting fail-on-error: false

2 months agoFix test names
Otto Moerbeek [Wed, 28 May 2025 12:23:02 +0000 (14:23 +0200)] 
Fix test names

2 months agoImplement metrics
Otto Moerbeek [Wed, 28 May 2025 11:43:02 +0000 (13:43 +0200)] 
Implement metrics

2 months agoAlwas detect mismatches in outgoing and incoming ECS; add tests for that as well
Otto Moerbeek [Mon, 19 May 2025 12:31:38 +0000 (14:31 +0200)] 
Alwas detect mismatches in outgoing and incoming ECS; add tests for that as well

2 months agoRefactor: get rid of an unneccesary loop
Otto Moerbeek [Fri, 16 May 2025 09:01:19 +0000 (11:01 +0200)] 
Refactor: get rid of an unneccesary loop

2 months agoRun all ECS tests also in hardened mode and add a specific hardened mode test
Otto Moerbeek [Thu, 8 May 2025 12:05:39 +0000 (14:05 +0200)] 
Run all ECS tests also in hardened mode and add a specific hardened mode test

2 months agoAdd setting and metric
Otto Moerbeek [Thu, 8 May 2025 10:25:36 +0000 (12:25 +0200)] 
Add setting and metric

2 months agoParse ECS info if relevant and act on it if it mismatches
Otto Moerbeek [Wed, 23 Apr 2025 11:50:51 +0000 (13:50 +0200)] 
Parse ECS info if relevant and act on it if it mismatches

Moved slowParseEDNSOptions() from dnsdist specific code to common code

2 months agoFix invalid scope test to do what I think is actually intended
Otto Moerbeek [Mon, 20 Jan 2025 13:08:02 +0000 (14:08 +0100)] 
Fix invalid scope test to do what I think is actually intended

2 months agoTo match incoming, don't look at subnet
Otto Moerbeek [Fri, 17 Jan 2025 10:49:21 +0000 (11:49 +0100)] 
To match incoming, don't look at subnet

2 months agoChain on ECS matching, and consider a mismatch in returned ECS as a spoof attempt
Otto Moerbeek [Wed, 15 Jan 2025 13:23:04 +0000 (14:23 +0100)] 
Chain on ECS matching, and consider a mismatch in returned ECS as a spoof attempt

2 months agoPass actual (optional) ecs instead of bool to asendto()
Otto Moerbeek [Wed, 15 Jan 2025 11:21:07 +0000 (12:21 +0100)] 
Pass actual (optional) ecs instead of bool to asendto()

3 months agoMerge pull request #15405 from omoerbeek/backport-15352-to-rec-5.1.x rec-5.1.4
Otto Moerbeek [Tue, 8 Apr 2025 08:15:40 +0000 (10:15 +0200)] 
Merge pull request #15405 from omoerbeek/backport-15352-to-rec-5.1.x

rec: Backport 15352 to rec 5.1.x: in test_SimpleDot.py make sure we have the root DNSKEY in cache, it might require TCP

3 months agoUpdate regression-tests.recursor-dnssec/test_SimpleDoT.py 15405/head
Otto Moerbeek [Mon, 24 Mar 2025 12:56:17 +0000 (13:56 +0100)] 
Update regression-tests.recursor-dnssec/test_SimpleDoT.py

Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
(cherry picked from commit 173e64959ab4ea2890d76825be2742601727cc42)

3 months agorec: in test_SimpleDot.py make sure we have the root DNSKEY in cache, it might requir...
Otto Moerbeek [Mon, 24 Mar 2025 12:10:28 +0000 (13:10 +0100)] 
rec: in test_SimpleDot.py make sure we have the root DNSKEY in cache, it might require TCP

Previously we assumed we didn't need TCP at all.

(cherry picked from commit 4025ecc524689b38527e31c1f38aa1ebb23e7bc3)

4 months agoMerge pull request #15280 from omoerbeek/rec-backport-15254-to-5.1.x
Otto Moerbeek [Fri, 14 Mar 2025 07:37:32 +0000 (08:37 +0100)] 
Merge pull request #15280 from omoerbeek/rec-backport-15254-to-5.1.x

rec: Backport 15254 to 5.1.x: If we see both a CNAME and answer records, follow CNAME and discard the answer records

4 months agoMerge pull request #15287 from omoerbeek/rec-stop-using-ubuntu-20-on-rec-5.1.x
Otto Moerbeek [Fri, 14 Mar 2025 07:37:04 +0000 (08:37 +0100)] 
Merge pull request #15287 from omoerbeek/rec-stop-using-ubuntu-20-on-rec-5.1.x

rec-5.1.x: Stop formatting check and start using Ubuntu-24.04 for fuzzing

4 months agoStop formatting check and start using Ubuntu-24.04 for fuzzing 15287/head
Otto Moerbeek [Tue, 11 Mar 2025 15:31:38 +0000 (16:31 +0100)] 
Stop formatting check and start using Ubuntu-24.04 for fuzzing

4 months agoClang-tidy annotation 15280/head
Otto Moerbeek [Tue, 11 Mar 2025 10:16:49 +0000 (11:16 +0100)] 
Clang-tidy annotation

4 months agoIf we see both a CNAME and answer records, follow CNAME and discard the answer records
Otto Moerbeek [Tue, 4 Mar 2025 08:52:15 +0000 (09:52 +0100)] 
If we see both a CNAME and answer records, follow CNAME and discard the answer records

5 months agoMerge pull request #15215 from omoerbeek/backport-14525-to-rec-5.1.x
Otto Moerbeek [Tue, 25 Feb 2025 07:32:30 +0000 (08:32 +0100)] 
Merge pull request #15215 from omoerbeek/backport-14525-to-rec-5.1.x

rec: Backport 14525 to rec-5.1.x: add 38696 root anchor

5 months agorecursor: add 38696 root anchor 15215/head
Peter van Dijk [Thu, 25 Jul 2024 09:35:31 +0000 (11:35 +0200)] 
recursor: add 38696 root anchor

fetched from https://www.iana.org/dnssec/files after their 2024-07-24 update

(cherry picked from commit 0bbbdd60ab054e7bbfc2b0d0604d1f7e15f0a229)

8 months agoMerge pull request #14872 from romeroalx/backport-14862-to-rec-5.1.x
Otto Moerbeek [Mon, 25 Nov 2024 08:01:00 +0000 (09:01 +0100)] 
Merge pull request #14872 from romeroalx/backport-14862-to-rec-5.1.x

rec-5.1.x: Backport 14862 - builder: remove ubuntu lunar+mantic as they are EOL

8 months agobuilder: remove ubuntu lunar+mantic as they are EOL 14872/head
Peter van Dijk [Fri, 22 Nov 2024 09:08:40 +0000 (10:08 +0100)] 
builder: remove ubuntu lunar+mantic as they are EOL

9 months agoMerge pull request #14797 from omoerbeek/backport-14766-to-rec-5.1.x rec-5.1.3
Otto Moerbeek [Thu, 24 Oct 2024 13:04:42 +0000 (15:04 +0200)] 
Merge pull request #14797 from omoerbeek/backport-14766-to-rec-5.1.x

rec: Backport 14766 to rec 5.1.x: bump SNMP ignore from buster to bookworm after buildbot VM upgrade

9 months agobump SNMP ignore from buster to bookworm after buildbot VM upgrade 14797/head
Peter van Dijk [Fri, 11 Oct 2024 08:47:47 +0000 (10:47 +0200)] 
bump SNMP ignore from buster to bookworm after buildbot VM upgrade

(cherry picked from commit 32ac2627fad9d398756c6ec05ae423eec22eff7e)

9 months agoMerge pull request #14774 from omoerbeek/backport-14693-to-rec-5.1.x
Otto Moerbeek [Thu, 24 Oct 2024 08:48:32 +0000 (10:48 +0200)] 
Merge pull request #14774 from omoerbeek/backport-14693-to-rec-5.1.x

rec: Backport 14693 to rec 5.1.x: implement rfc6303 special zones (mostly v6 reverse mappings)

9 months agoMerge pull request #14773 from omoerbeek/backport-14628-to-rec-5.1.x
Otto Moerbeek [Thu, 24 Oct 2024 06:26:35 +0000 (08:26 +0200)] 
Merge pull request #14773 from omoerbeek/backport-14628-to-rec-5.1.x

rec: Backport 14628 to rec 5.1.x: rec: avoid duplicated waiter ids for chained requests

9 months agoMerge pull request #14772 from omoerbeek/backport-14554-to-rec-5.1.x
Otto Moerbeek [Thu, 24 Oct 2024 06:01:42 +0000 (08:01 +0200)] 
Merge pull request #14772 from omoerbeek/backport-14554-to-rec-5.1.x

rec: Backport 14554 to rec-5.1.x: distinguish OS imposed limits from app imposed limits, specifically on chains

9 months agoMerge pull request #14771 from omoerbeek/backport-14550-to-rec-5.1.x
Otto Moerbeek [Thu, 24 Oct 2024 05:30:02 +0000 (07:30 +0200)] 
Merge pull request #14771 from omoerbeek/backport-14550-to-rec-5.1.x

rec: Backport 14550 to rec 5.1.x: json11: add include for cstdint

9 months agoInclude more recent version of test_Chain.py 14773/head
Otto Moerbeek [Tue, 15 Oct 2024 12:32:11 +0000 (14:32 +0200)] 
Include more recent version of test_Chain.py

9 months agoEnsure serve-rfc1918 is enabled when doing serve-rfc6303 14774/head
Otto Moerbeek [Mon, 7 Oct 2024 10:26:11 +0000 (12:26 +0200)] 
Ensure serve-rfc1918 is enabled when doing serve-rfc6303

(cherry picked from commit 458a9064cc3e6eb56a8d6dfb7d501295dd1cf1dd)

9 months agoApply suggestions from code review
Otto Moerbeek [Mon, 7 Oct 2024 10:00:59 +0000 (12:00 +0200)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
(cherry picked from commit 565587b70215b7968c9fa711d0bc1b85938f79ed)

9 months agorec: implement rfc6303 special zones (mostly v6 reverse mappings)
Otto Moerbeek [Thu, 19 Sep 2024 09:46:06 +0000 (11:46 +0200)] 
rec: implement rfc6303 special zones (mostly v6 reverse mappings)

(cherry picked from commit 9557d437c239d672c49195847a794bb9537f7223)

9 months agorec: distinguish OS imposed limits from app imposed limits, specifically on chains 14772/head
Otto Moerbeek [Tue, 13 Aug 2024 07:56:54 +0000 (09:56 +0200)] 
rec: distinguish OS imposed limits from app imposed limits, specifically on chains

(cherry picked from commit b22ec811be8c094605df49e015be02e9a85d978e)

9 months agoDisable tracing for test_Chain, it chokes GH
Otto Moerbeek [Fri, 6 Sep 2024 12:23:31 +0000 (14:23 +0200)] 
Disable tracing for test_Chain, it chokes GH

(cherry picked from commit 3755f2f9fa4aac368ac73dc351a38f2af5e63c7e)

9 months agoAdd basic chain test that hits the case of #14624
Otto Moerbeek [Fri, 6 Sep 2024 11:29:17 +0000 (13:29 +0200)] 
Add basic chain test that hits the case of #14624

We do rely on that OS queueing the UDP packets, hope it will do so long enough

(cherry picked from commit 44b1de9830c4c8d7ceec86799c1bdb5a670d3d3e)

9 months agorec: avoid duplicated waiter ids for chained requests
Otto Moerbeek [Fri, 6 Sep 2024 10:12:14 +0000 (12:12 +0200)] 
rec: avoid duplicated waiter ids for chained requests

(cherry picked from commit b04c64e61cd7b3440ea014da375f47114fe9364b)

9 months agojson11: add include for cstdint 14771/head
Peter van Dijk [Fri, 9 Aug 2024 17:41:46 +0000 (19:41 +0200)] 
json11: add include for cstdint

fixes #14549, which came with a patch

(cherry picked from commit 8d6d32bef74aa2cba41421645936fade35c71c72)

10 months agoMerge pull request #14743 from omoerbeek/rec-5.1.2-branch
Otto Moerbeek [Thu, 3 Oct 2024 11:35:27 +0000 (13:35 +0200)] 
Merge pull request #14743 from omoerbeek/rec-5.1.2-branch

rec: backport of CVE-2024-25590 to rec-5.1.x: limit maximum size of rr sets in record cache

11 months agoOptimization for the ADDR case: stop loop if we found 2 (A and AAAA) 14743/head rec-5.1.2
Otto Moerbeek [Wed, 21 Aug 2024 09:55:35 +0000 (11:55 +0200)] 
Optimization for the ADDR case: stop loop if we found 2 (A and AAAA)

11 months agorec: refuse to store very large RRSets in the cache and ServFail on retrieval of...
Otto Moerbeek [Wed, 21 Aug 2024 09:09:42 +0000 (11:09 +0200)] 
rec: refuse to store very large RRSets in the cache and ServFail on retrieval of those

11 months agoMerge pull request #14571 from omoerbeek/backport-14562-to-rec-5.1.x
Otto Moerbeek [Fri, 23 Aug 2024 05:52:01 +0000 (07:52 +0200)] 
Merge pull request #14571 from omoerbeek/backport-14562-to-rec-5.1.x

rec: Backport to rec-5.1.x: Fix build with boost 1.86.0

11 months agoFix build with boost 1.86.0 14571/head
Michael Cho [Fri, 16 Aug 2024 02:49:17 +0000 (22:49 -0400)] 
Fix build with boost 1.86.0

Boost 1.86.0 changes seem to no longer indirectly include header which
causes build to fail with:
```
uuid-utils.cc:38:58:
error: 'random' is not a class, namespace, or enumeration
```

boost/random/mersenne_twister.hpp has been available since Boost 1.21.2

(cherry picked from commit eed56000b1d68ac083b8e8bea4ff0ea30a1579c4)

12 months agoMerge pull request #14516 from omoerbeek/backport-14514-to-rec-5.1.x rec-5.1.1
Otto Moerbeek [Mon, 22 Jul 2024 07:35:26 +0000 (09:35 +0200)] 
Merge pull request #14516 from omoerbeek/backport-14514-to-rec-5.1.x

rec: Backport 14514 to rec 5.1.x: fix maintenanceCalls vs maintenanceCount

12 months agoUpdate RECURSOR-MIB.txt 14516/head
Harald Kapper [Sun, 21 Jul 2024 17:27:07 +0000 (19:27 +0200)] 
Update RECURSOR-MIB.txt

fixed maintenanceCalls vs maintenanceCount
It's anyones guess if it should be called Calls or Count in the end, it should be the same name in the end.

(cherry picked from commit 551641127c26799ff8ef80f56887a6ccd0d2b74f)

12 months agoMerge pull request #14501 from omoerbeek/backport-14499-to-rec-5.1.x
Otto Moerbeek [Thu, 18 Jul 2024 12:32:25 +0000 (14:32 +0200)] 
Merge pull request #14501 from omoerbeek/backport-14499-to-rec-5.1.x

rec: Backport 14499 to rec-5.1.x: limit the number of async tasks pushed to resolve NS names

12 months agorec: limit the number of async tasks pushed to resolve NS names 14501/head
Otto Moerbeek [Wed, 17 Jul 2024 08:46:58 +0000 (10:46 +0200)] 
rec: limit the number of async tasks pushed to resolve NS names

Plus: as we only use a limited set of NS names for resolving,
processing all additional records does not help.

(cherry picked from commit cd2de2ee7ad55f295a00dfce5488ee3863d974d6)

12 months agoMerge pull request #14481 from omoerbeek/backport-14471-to-rec-5.1.x
Otto Moerbeek [Thu, 18 Jul 2024 10:05:27 +0000 (12:05 +0200)] 
Merge pull request #14481 from omoerbeek/backport-14471-to-rec-5.1.x

rec: Backport 14471 to rec-5.1.x: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true

12 months agoMerge pull request #14478 from omoerbeek/backport-14404-to-rec-5.1.x
Otto Moerbeek [Thu, 18 Jul 2024 09:42:39 +0000 (11:42 +0200)] 
Merge pull request #14478 from omoerbeek/backport-14404-to-rec-5.1.x

rec: Backport 14404 to rec 5.1.x: Yahttp router: avoid unsigned underflow in match()

12 months agoMerge pull request #14477 from omoerbeek/backport-14459-to-rec-5.1.x
Otto Moerbeek [Thu, 18 Jul 2024 09:42:10 +0000 (11:42 +0200)] 
Merge pull request #14477 from omoerbeek/backport-14459-to-rec-5.1.x

rec: Backport 14459 to rec 5.1.x: move default Docker config to YAML

12 months agoMerge pull request #14488 from omoerbeek/backport-14486-to-rec-5.1.x
Otto Moerbeek [Thu, 18 Jul 2024 08:08:18 +0000 (10:08 +0200)] 
Merge pull request #14488 from omoerbeek/backport-14486-to-rec-5.1.x

rec: Backport 14486 to rec 5.1.x: pin pysnmp to version 5 for regression tests

12 months agoAlso pin pysnmp version for dnsdist regression tests 14488/head
Otto Moerbeek [Wed, 17 Jul 2024 12:44:11 +0000 (14:44 +0200)] 
Also pin pysnmp version for dnsdist regression tests

(cherry picked from commit 5d3db32982e7a06a9e653529baa2fb67e24d7189)

12 months agorec: pin pysnmp to version 5 for regression tests
Otto Moerbeek [Wed, 17 Jul 2024 12:03:32 +0000 (14:03 +0200)] 
rec: pin pysnmp to version 5 for regression tests

(cherry picked from commit 4d44d3076051fe27ee91e847a3600ad19c44fd72)

12 months agorec: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true 14481/head
Otto Moerbeek [Mon, 15 Jul 2024 09:41:38 +0000 (11:41 +0200)] 
rec: dump right SOA into dumpFile and report non-relative SOA for includeSOA=true

(cherry picked from commit 397da738caad01df0da04387083c73a0e941608b)

12 months agoFix example command line 14477/head
Otto Moerbeek [Wed, 10 Jul 2024 13:33:36 +0000 (15:33 +0200)] 
Fix example command line

(cherry picked from commit 7bfa760eb2a7df849c88252f471fc6626fbd4f97)

12 months agorec: move default Docker config to YAML
Otto Moerbeek [Wed, 10 Jul 2024 13:02:00 +0000 (15:02 +0200)] 
rec: move default Docker config to YAML

(cherry picked from commit 0f1374a7689a4ee6adcf9ea1185c6116142708df)

12 months agoAvoid upos underflowing in match loop 14478/head
Otto Moerbeek [Tue, 2 Jul 2024 10:22:29 +0000 (12:22 +0200)] 
Avoid upos underflowing in match loop

(cherry picked from commit 09462bda7f8da4e59307e0d6a7446d499c1da34c)

12 months agono else block after break statement
Otto Moerbeek [Tue, 2 Jul 2024 10:20:48 +0000 (12:20 +0200)] 
no else block after break statement

(cherry picked from commit 9ecf2b37287270be3d06ac3d5570f5d67a0bb364)

12 months agoMerge pull request #14442 from omoerbeek/rec-5.1.x-daily-el7
Otto Moerbeek [Fri, 12 Jul 2024 07:47:58 +0000 (09:47 +0200)] 
Merge pull request #14442 from omoerbeek/rec-5.1.x-daily-el7

rec 5.1.x: daily build for el-7 instead of centos-7

12 months agorec 5.1.x: daily build for el-7 instead of centos-7 14442/head
Otto Moerbeek [Tue, 9 Jul 2024 08:16:14 +0000 (10:16 +0200)] 
rec 5.1.x: daily build for el-7 instead of centos-7

12 months agoMerge pull request #14435 from omoerbeek/backport-14425-to-rec-5.1.x rec-5.1.0
Otto Moerbeek [Mon, 8 Jul 2024 07:20:45 +0000 (09:20 +0200)] 
Merge pull request #14435 from omoerbeek/backport-14425-to-rec-5.1.x

rec: Backport 14425 to rec 5.1.x: fix typo in log message

12 months agoFix processsing typo. 14435/head
Andreas Jakum [Thu, 4 Jul 2024 13:29:47 +0000 (15:29 +0200)] 
Fix processsing typo.

(cherry picked from commit c91c84f640e32a7d24925a78cf3609e731d098e9)

13 months agoMerge pull request #14402 from Habbie/backport-14400-to-rec-5.1.x
Otto Moerbeek [Tue, 2 Jul 2024 11:37:14 +0000 (13:37 +0200)] 
Merge pull request #14402 from Habbie/backport-14400-to-rec-5.1.x

rec-5.1: switch el7 builds to Oracle Linux 7

13 months agoswitch el7 builds to Oracle Linux 7 14402/head
Peter van Dijk [Tue, 2 Jul 2024 09:19:31 +0000 (11:19 +0200)] 
switch el7 builds to Oracle Linux 7

(cherry picked from commit 73a1b98f92c671c590540ac19d74d70499f89066)

13 months agoMerge pull request #14389 from omoerbeek/backport-14384-to-rec-5.1.x
Otto Moerbeek [Fri, 28 Jun 2024 06:26:27 +0000 (08:26 +0200)] 
Merge pull request #14389 from omoerbeek/backport-14384-to-rec-5.1.x

rec: Backport 14384 to rec-5.1.x: keep Lua config as existing configs might use it

13 months agorec: keep Lua config as existing configs might use it 14389/head
Otto Moerbeek [Tue, 25 Jun 2024 14:31:48 +0000 (16:31 +0200)] 
rec: keep Lua config as existing configs might use it

(cherry picked from commit 6b2d9507dab4d64623bbca6fcd3bbd57ddebff8e)

13 months agoMerge pull request #14375 from omoerbeek/rec-specialize-5.1.x rec-5.1.0-rc1
Otto Moerbeek [Mon, 24 Jun 2024 11:54:42 +0000 (13:54 +0200)] 
Merge pull request #14375 from omoerbeek/rec-specialize-5.1.x

rec: specialize rel/rec-5.1.x branch to rec only workflows

13 months agorec: specialize rel/rec-5.1.x branch to rec only workflows 14375/head
Otto Moerbeek [Mon, 24 Jun 2024 11:16:07 +0000 (13:16 +0200)] 
rec: specialize rel/rec-5.1.x branch to rec only workflows

13 months agoMerge pull request #14374 from omoerbeek/rec-debian-tweaks rec-5.2.0-alpha0
Otto Moerbeek [Mon, 24 Jun 2024 10:56:34 +0000 (12:56 +0200)] 
Merge pull request #14374 from omoerbeek/rec-debian-tweaks

Rec followup to #14265: use correct file suffix for reloading and debian tweaks

13 months agoAlso use variable suffix for file when reloading YAML-Lua config 14374/head
Otto Moerbeek [Mon, 24 Jun 2024 09:32:00 +0000 (11:32 +0200)] 
Also use variable suffix for file when reloading YAML-Lua config

13 months agoMerge pull request #14363 from omoerbeek/rec-rename-new-udr-settings
Otto Moerbeek [Mon, 24 Jun 2024 09:10:51 +0000 (11:10 +0200)] 
Merge pull request #14363 from omoerbeek/rec-rename-new-udr-settings

rec: make names of new udr settings consistent with existing scheme

13 months agoMerge pull request #14373 from omoerbeek/rec-dns64-double-soa
Otto Moerbeek [Mon, 24 Jun 2024 07:54:58 +0000 (09:54 +0200)] 
Merge pull request #14373 from omoerbeek/rec-dns64-double-soa

rec: don't send double SOA record in the case of a dns64 CNAME that does not resolve

13 months agoAdd test for duplicate SOA record in the dns64/NODATA case 14373/head
Otto Moerbeek [Fri, 21 Jun 2024 14:31:24 +0000 (16:31 +0200)] 
Add test for duplicate SOA record in the dns64/NODATA case

13 months agorec: tweak debian install, as suggested by @zeha
Otto Moerbeek [Mon, 24 Jun 2024 07:12:58 +0000 (09:12 +0200)] 
rec: tweak debian install, as suggested by @zeha

13 months agoMerge pull request #14265 from omoerbeek/rec-yaml-as-conf
Otto Moerbeek [Fri, 21 Jun 2024 10:20:34 +0000 (12:20 +0200)] 
Merge pull request #14265 from omoerbeek/rec-yaml-as-conf

rec: allow recursor.conf file to contain YAML to ease transition to YAML config

13 months agoMerge pull request #14366 from PowerDNS/dependabot/pip/pdns/keyroller/urllib3-1.26.19
Remi Gacogne [Fri, 21 Jun 2024 10:07:23 +0000 (12:07 +0200)] 
Merge pull request #14366 from PowerDNS/dependabot/pip/pdns/keyroller/urllib3-1.26.19

build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /pdns/keyroller

13 months agoMerge pull request #14360 from rgacogne/auth-fix-distributor-unit-test-leak
Remi Gacogne [Fri, 21 Jun 2024 10:04:06 +0000 (12:04 +0200)] 
Merge pull request #14360 from rgacogne/auth-fix-distributor-unit-test-leak

auth: Better fix for the leak reported by LSAN in test-distributor_hh.cc

13 months agobuild(deps): bump urllib3 from 1.26.18 to 1.26.19 in /pdns/keyroller 14366/head
dependabot[bot] [Fri, 21 Jun 2024 09:27:02 +0000 (09:27 +0000)] 
build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /pdns/keyroller

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.18 to 1.26.19.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.18...1.26.19)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
13 months agoMerge pull request #14345 from PowerDNS/dependabot/pip/pdns/recursordist/docs/urllib3...
Otto Moerbeek [Fri, 21 Jun 2024 09:21:42 +0000 (11:21 +0200)] 
Merge pull request #14345 from PowerDNS/dependabot/pip/pdns/recursordist/docs/urllib3-2.2.2

build(deps): bump urllib3 from 2.2.0 to 2.2.2 in /pdns/recursordist/docs

13 months agoauth: Use [[maybe_unused]] in the distributor unit tests 14360/head
Remi Gacogne [Fri, 21 Jun 2024 09:10:28 +0000 (11:10 +0200)] 
auth: Use [[maybe_unused]] in the distributor unit tests

As suggested by Otto.

13 months agoMerge pull request #14318 from omoerbeek/rec-nsname-pbout
Otto Moerbeek [Fri, 21 Jun 2024 09:07:03 +0000 (11:07 +0200)] 
Merge pull request #14318 from omoerbeek/rec-nsname-pbout

rec: add nsName into outgoing protobuf request/response messages

13 months agoInstall a small YAML default config instead of one with everything commented out 14265/head
Otto Moerbeek [Fri, 7 Jun 2024 11:49:49 +0000 (13:49 +0200)] 
Install a small YAML default config instead of one with everything commented out

13 months agoDocument the new approach of reading YAML from a recursor.conf file
Otto Moerbeek [Fri, 7 Jun 2024 08:01:17 +0000 (10:01 +0200)] 
Document the new approach of reading YAML from a recursor.conf file

13 months agoGenerate no more .conf-dist file
Otto Moerbeek [Mon, 3 Jun 2024 12:37:35 +0000 (14:37 +0200)] 
Generate no more .conf-dist file

13 months agoAdapt RH packaging
Otto Moerbeek [Mon, 3 Jun 2024 12:59:08 +0000 (14:59 +0200)] 
Adapt RH packaging

13 months agoAdapt Debian packaging
Otto Moerbeek [Mon, 3 Jun 2024 14:07:27 +0000 (16:07 +0200)] 
Adapt Debian packaging

13 months agorec: allow recursor.conf file to contain YAML
Otto Moerbeek [Wed, 29 May 2024 09:20:52 +0000 (11:20 +0200)] 
rec: allow recursor.conf file to contain YAML

This should us to work around the packaging issues discussed in #13935.
THe idea is that modify the parsing so that .conf files also *may* contain YAML.

The search for a config file then becomes:

1. Try read recuror.yml if it exists. If valid, done. If it is invalid punt.
2. Try read recursor.conf as YAML. If it is valid, done.
3. If it is invalid, try to read as old-style.

This means that the status of recursor.conf as a config file does not change.

This allows us to install a default YAML config into recursor.conf for new installs.
Of course we leave recursor.conf (and recursor.yml) alone for existing installs.

This is a draft. I will add docs and packaging changes after this is deemed
the way to proceed.

13 months agorec: make names of new udr settings consistent with existing scheme 14363/head
Otto Moerbeek [Wed, 19 Jun 2024 14:26:29 +0000 (16:26 +0200)] 
rec: make names of new udr settings consistent with existing scheme

13 months agoRemove potential double SOA records if the target of a dns64 name is NODATA
Otto Moerbeek [Fri, 21 Jun 2024 08:05:42 +0000 (10:05 +0200)] 
Remove potential double SOA records if the target of a dns64 name is NODATA

13 months agoUse const ref for string arg 14318/head
Otto Moerbeek [Fri, 21 Jun 2024 07:46:33 +0000 (09:46 +0200)] 
Use const ref for string arg

Co-authored-by: Remi Gacogne <github@coredump.fr>
13 months agoMerge pull request #14359 from omoerbeek/use-ucharview
Otto Moerbeek [Fri, 21 Jun 2024 05:45:08 +0000 (07:45 +0200)] 
Merge pull request #14359 from omoerbeek/use-ucharview

dns.cc: use pdns::views::UnsignedCharView