]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Mon, 24 Oct 2022 14:25:59 +0000 (16:25 +0200)]
Timout handling for ixfrs as a client.
One complicating factor is that this is shared code, but auth and
rec do not agree on the definiton of the timeout value: auth states
it is a maximum idle time, while rec state it is the total xfr time.
While both apporaches make sense and in the end we would like to
enforce both, we now go for a more simple solution that respects
auth or rec behaviour based on a flag.
(cherry picked from commit
fee334ae0f5083d47f9adc207d5a1a6d36ebc2ac )
Otto Moerbeek [Fri, 4 Nov 2022 12:40:31 +0000 (13:40 +0100)]
Merge pull request #12169 from omoerbeek/backport-12081-to-rec-4.5.x
rec: Backport to rec-4.5.x: Log invalid RPZ content when obtained via IXFR
Otto Moerbeek [Fri, 4 Nov 2022 12:40:16 +0000 (13:40 +0100)]
Merge pull request #12166 from omoerbeek/backport-12038-to-rec-4.5.x
rec: Backport 12038 to rec-4.5.x: when an expired nsec3 entry is seen, move it to the front of the expiry queue
Otto Moerbeek [Fri, 4 Nov 2022 12:39:59 +0000 (13:39 +0100)]
Merge pull request #12165 from omoerbeek/backport-11338-to-rec-4.5.x
rec: Backport 11338 to rec-4.5.x: QType ADDR is supposed to be used internally only.
Remi Gacogne [Mon, 10 Oct 2022 15:47:46 +0000 (17:47 +0200)]
rec: Log invalid RPZ content when obtained via IXFR
That kind of content was properly logged and handled when received
during the initial loading (AXFR) but not when received via an
incremental update.
(cherry picked from commit
55a99233728fc01e3946a97fb8dbb073a3003622 )
Otto Moerbeek [Wed, 28 Sep 2022 07:35:22 +0000 (09:35 +0200)]
rec: when an expired nsec3 entry is seen, move it to the front of the expiry queue
(cherry picked from commit
05a4985708988eb10f9291a40406b205e7d5d5b2 )
Otto Moerbeek [Fri, 18 Feb 2022 15:24:11 +0000 (16:24 +0100)]
QType ADDR is supposed to be used internally only.
Should fix #11337
(cherry picked from commit
7a278799ee23e582c3b722cea578699db1791bc2 )
Peter van Dijk [Mon, 19 Sep 2022 17:50:06 +0000 (19:50 +0200)]
Merge pull request #11975 from Habbie/backport-11961-to-rec-4.5.x
rec 4.5.x docker: upgrade to bullseye
Peter van Dijk [Thu, 15 Sep 2022 13:14:34 +0000 (15:14 +0200)]
docker: upgrade to bullseye
(cherry picked from commit
a0d3acff25a92627186ee43bead110aef416f59a )
Otto Moerbeek [Tue, 13 Sep 2022 07:53:50 +0000 (09:53 +0200)]
Merge pull request #11944 from omoerbeek/backport-11641-to-rec-4.5.x
rec: Backport of 11641 to rec-4.5.x: Move to v2 for CodeQL action, v1 will be deprecated dec 2022
Otto Moerbeek [Mon, 12 Sep 2022 14:15:33 +0000 (16:15 +0200)]
Merge pull request #11939 from omoerbeek/backport-11904-to-rec-4.5.x
Backport 11904 to rec-4.5.x: For zones having many NS records, we are not interested in all so take a sample.
Otto Moerbeek [Mon, 12 Sep 2022 14:14:46 +0000 (16:14 +0200)]
Merge pull request #11942 from omoerbeek/backport-11890-to-rec-4.5.x
rec: Backport of 11890 to rec-4.5.x: Failure to retrieve DNSKEYs of an Insecure zone should not be fatal.
Otto Moerbeek [Tue, 24 May 2022 10:36:28 +0000 (12:36 +0200)]
Move to v2 for CodeQL action, v1 will be deprecated dec 2022
(cherry picked from commit
a0c99342e7aa22e16a75d9e7daa4de69d087bc38 )
Otto Moerbeek [Wed, 31 Aug 2022 08:34:18 +0000 (10:34 +0200)]
Failure to retrieve DNSKEYs of an Insecure zone should not be fatal.
This issue happens if a record set is signed even though the zone
itself is Insecure. Syncres then tries to retrieve DNSKEYs and a
timeout on that would lead to an ImmediateServFailException.
Only throw exception later in validateRecordsWithSigs, after checking
zone cuts, when we are sure the zone is Secure.
(cherry picked from commit
6dc8b0b2c6fb2e628356f8dc5c5de4dfd919ec5d )
Otto Moerbeek [Tue, 6 Sep 2022 07:50:52 +0000 (09:50 +0200)]
For zones having many NS records, we are not interested in all so take a sample.
(cherry picked from commit
a49b0b40a0c1c1af9531b99e9266a8c2aa89cd68 )
Otto Moerbeek [Fri, 9 Sep 2022 08:52:24 +0000 (10:52 +0200)]
Merge pull request #11899 from omoerbeek/backport-11848-to-rec-4.5.x
rec: Backport 11848 to rec-4.5.x: Also check qperq limit if throttling happened, as it increases counters.
Otto Moerbeek [Thu, 11 Aug 2022 12:30:48 +0000 (14:30 +0200)]
Also check qperq limit if throttling happened, as it increases counters.
This condition would be caught when going out previously, so is
an optimisation, not a behaviour difference.
(cherry picked from commit
c75d28f2b786b986ec10675e3c853a52eec11e37 )
Otto Moerbeek [Tue, 23 Aug 2022 10:17:14 +0000 (12:17 +0200)]
Merge pull request #11875 from omoerbeek/rec-backport-to-rec-4.5.x-pb-size
Backport of protobuf PSA 2022-02 (CVE-2022-37428) to rec-4.5.x
Otto Moerbeek [Wed, 3 Aug 2022 13:39:17 +0000 (15:39 +0200)]
Backport of protobuf PSA 2022-02 (CVE-2022-37428) to rec-4.5.x
Otto Moerbeek [Fri, 17 Jun 2022 11:54:17 +0000 (13:54 +0200)]
Merge pull request #11701 from Habbie/backport-11658-to-rec-4.5.x
rec-4.5.x: protobuf: use python implementation during tests
Peter van Dijk [Tue, 31 May 2022 10:13:57 +0000 (12:13 +0200)]
protobuf: use python implementation during tests
(cherry picked from commit
2dd4d60b8103a64c796296647ad7b45226d5a5bd )
Otto Moerbeek [Fri, 17 Jun 2022 08:58:23 +0000 (10:58 +0200)]
Merge pull request #11634 from omoerbeek/backport-11609-to-rec-4.5.x
Backport 11609 to rec 4.5.x: Fix API issue when asking config values for allow-from
Otto Moerbeek [Fri, 6 May 2022 09:54:23 +0000 (11:54 +0200)]
Document meaning of empty allow-from
(cherry picked from commit
a75c8e8019462827dae4599b6a24ef7a0645c30c )
Otto Moerbeek [Thu, 5 May 2022 08:04:20 +0000 (10:04 +0200)]
Fix API issue when asking config values for allow-from or allow-notify-from
(cherry picked from commit
3aa876deef257fc6d63da32df0742ed8cf91aaa1 )
Otto Moerbeek [Tue, 29 Mar 2022 15:04:53 +0000 (17:04 +0200)]
Merge pull request #11480 from omoerbeek/rec45-fix-rpz-incompletetest
rec: rec-4.5.x has no waitForTCPSocket in test code
Otto Moerbeek [Tue, 29 Mar 2022 13:41:23 +0000 (15:41 +0200)]
rec: rec-4.5.x has no waitForTCPSocket in test code
Plus counts are different due to rpz loading changes in master.
Otto Moerbeek [Tue, 29 Mar 2022 10:08:34 +0000 (12:08 +0200)]
Merge pull request #11419 from omoerbeek/backport-11376-to-rec-4.5.x
rec: Backport 11376 to rec 4.5.x: Be more careful using refresh mode only for the record asked
Otto Moerbeek [Fri, 25 Mar 2022 15:51:29 +0000 (16:51 +0100)]
Merge pull request #11457 from omoerbeek/rec-4.5.7-ixfr
Rec 4.5.x: Fix a case where an incomplete read caused by network error might result in a truncated zone
Otto Moerbeek [Fri, 25 Mar 2022 15:34:07 +0000 (16:34 +0100)]
Merge pull request #11463 from Habbie/backport-11449-to-rec-4.5.x
rec-4.5.x docs: Pin jinja2 to < 3.1.0
Remi Gacogne [Fri, 25 Mar 2022 08:45:55 +0000 (09:45 +0100)]
docs: Pin jinja2 to < 3.1.0
Jinja2 3.1.0 removed deprecated code that is still used by sphinx
1.8.x, and it looks like our custom sphinx extensions are not working
with more recent versions of sphinx..
See:
- https://github.com/pallets/jinja/issues/1631
- https://github.com/readthedocs/readthedocs.org/issues/9037
and
- https://github.com/PowerDNS/pdns/pull/7712
The exact error is:
```
Extension error:
Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/dnsdist/pdns/dnsdistdist/.venv/lib/python3.7/site-packages/jinja2/__init__.py))
```
(cherry picked from commit
92ad29702011ac7cbd0d7d118ba612e7e07cedbe )
Otto Moerbeek [Mon, 21 Mar 2022 10:24:14 +0000 (11:24 +0100)]
Disable refresh almost expired inside getAddrs()
Peter van Dijk [Mon, 31 Jan 2022 17:15:14 +0000 (18:15 +0100)]
builder: add el-7 alias for centos-7
(cherry picked from commit
6bd3c9bb23f5dfc385a66647ab175ec2812d6617 )
Peter van Dijk [Mon, 31 Jan 2022 15:43:54 +0000 (16:43 +0100)]
take centos 8-stream from quay
(cherry picked from commit
2f9edddc0c9c1f8a68e154f6c12e3fd214420563 )
Peter van Dijk [Mon, 31 Jan 2022 15:28:34 +0000 (16:28 +0100)]
builder CI: switch oraclelinux-8 to el-8
cleanup
(cherry picked from commit
1b27721782ad3dc547ed448a257c59829ff0bd94 )
Peter van Dijk [Mon, 31 Jan 2022 15:28:04 +0000 (16:28 +0100)]
builder: archs for oraclelinux-8; el-8 symlinks
(cherry picked from commit
dee53cf16161a6c45560475b647de420842532ef )
Peter van Dijk [Tue, 18 Jan 2022 15:40:52 +0000 (16:40 +0100)]
CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0
(cherry picked from commit
46a40ed033d64f58aa30013d7e68daa5b5e8d615 )
Otto Moerbeek [Tue, 8 Mar 2022 14:36:48 +0000 (15:36 +0100)]
auth, rec IXFR-in: Fix a case where an incomplete read caused by network error might result in a truncated zone.
As we might break from the loop early, we need to check if the end SOA was seen after the loop.
Also make sure we detect end conditions for both AXFR and IXFR style properly, to avoid processing
data after the end marker.
Otto Moerbeek [Fri, 11 Mar 2022 13:15:50 +0000 (14:15 +0100)]
Reinstate refresh mode for {C,D}NAME cache lookups
(cherry picked from commit
3263b3adf19081274a9e36891eb202d75685ecfa )
Otto Moerbeek [Mon, 28 Feb 2022 13:27:30 +0000 (14:27 +0100)]
Be more careful using refresh mode only for the record asked.
Otherwise we get bad interaction with QM, as newly discovered
delegation points are stored in the cache, but not seen the QM
algorithm. Might/should fix #11371.
(cherry picked from commit
7502f5f3b9293bed2601be2c479780f94438b45b )
Otto Moerbeek [Tue, 8 Mar 2022 08:19:21 +0000 (09:19 +0100)]
Merge pull request #11399 from omoerbeek/backport-11044-to-rec-4.5.x
rec: Backport 11044 to rec 4.5.x: Fix v6 test setup and start using a more modern auth on circleci
Otto [Mon, 29 Nov 2021 13:48:09 +0000 (14:48 +0100)]
Fix error in test zone that auth-45 does not like
(cherry picked from commit
f1f41a8aa9299a4d8bf369c4fc0cb611f5b979cd )
Otto [Mon, 29 Nov 2021 11:52:09 +0000 (12:52 +0100)]
One more occurence of --local-ipv6
(cherry picked from commit
9b3fc866b7f8133d4317aec9253e4b5fb0a385f9 )
Otto [Mon, 29 Nov 2021 10:56:25 +0000 (11:56 +0100)]
Fix v6 setup and start using a more modern auth on circleci
(cherry picked from commit
2d0fc474f8b03b536a95c6b9b05e96c6e8c51e30 )
Otto Moerbeek [Fri, 4 Mar 2022 08:31:25 +0000 (09:31 +0100)]
Merge pull request #11384 from omoerbeek/backport-11300-to-rec-4.5.x
Backport of 11300 to rec-4.5.x: Use the Lua context stored in SyncRes when calling hooks
Otto Moerbeek [Wed, 2 Mar 2022 08:57:30 +0000 (09:57 +0100)]
Backport of 11300 to rec-4.5.x: Use the Lua context stored in SyncRes when calling hooks
Peter van Dijk [Thu, 3 Feb 2022 12:55:48 +0000 (13:55 +0100)]
Merge pull request #11276 from Habbie/backport-11262-to-rec-4.5.x
rec-4.5.x: builder: migrate EL8 builds to oraclelinux, rename centos8 to el8 where possible
Peter van Dijk [Mon, 31 Jan 2022 17:15:14 +0000 (18:15 +0100)]
builder: add el-7 alias for centos-7
(cherry picked from commit
6bd3c9bb23f5dfc385a66647ab175ec2812d6617 )
Peter van Dijk [Mon, 31 Jan 2022 15:43:54 +0000 (16:43 +0100)]
take centos 8-stream from quay
(cherry picked from commit
2f9edddc0c9c1f8a68e154f6c12e3fd214420563 )
Peter van Dijk [Mon, 31 Jan 2022 15:28:34 +0000 (16:28 +0100)]
builder CI: switch oraclelinux-8 to el-8
cleanup
(cherry picked from commit
1b27721782ad3dc547ed448a257c59829ff0bd94 )
Peter van Dijk [Mon, 31 Jan 2022 15:28:04 +0000 (16:28 +0100)]
builder: archs for oraclelinux-8; el-8 symlinks
(cherry picked from commit
dee53cf16161a6c45560475b647de420842532ef )
Otto Moerbeek [Tue, 1 Feb 2022 09:42:21 +0000 (10:42 +0100)]
Merge pull request #11264 from omoerbeek/backport-11208-to-rec-4.5.x
rec: backport to rec-4.5.x: CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0
Peter van Dijk [Tue, 18 Jan 2022 15:40:52 +0000 (16:40 +0100)]
CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0
(cherry picked from commit
46a40ed033d64f58aa30013d7e68daa5b5e8d615 )
Otto Moerbeek [Tue, 23 Nov 2021 10:20:14 +0000 (11:20 +0100)]
Merge pull request #11024 from omoerbeek/backport-11010-to-rec-4.5.x
rec: backport 10110 to rec-4.5.x: Do cache negcache results, even when wasVariable() is true
Otto [Fri, 19 Nov 2021 10:57:28 +0000 (11:57 +0100)]
Do cache negcache results, even when wasVariable() is true
See https://datatracker.ietf.org/doc/html/rfc7871#section-7.4
Fixes #10994
(cherry picked from commit
2bcec14adbffbf4b28d698cb607877fb96054e87 )
Otto Moerbeek [Wed, 27 Oct 2021 13:01:19 +0000 (15:01 +0200)]
Merge pull request #10912 from omoerbeek/backport-10908-to-rec-4.5.x
rec: Backpoprt of 10908 to rec-4.5.x: A SHA-384 DS should not trump a SHA-256 one, so only potentially zap SHA-1
Otto Moerbeek [Wed, 27 Oct 2021 13:01:07 +0000 (15:01 +0200)]
Merge pull request #10911 from omoerbeek/backport-10905-to-rec-4.5.x
rec: Backport of 10905 to rec-4.5.x: wipe-cache-typed should check if a qtype arg is present and valid
Remi Gacogne [Wed, 27 Oct 2021 12:39:35 +0000 (14:39 +0200)]
Merge pull request #10914 from rgacogne/rec45-docutils-pin
rec-4.5.x: Pin docutils to < 0.18 for now
Remi Gacogne [Tue, 26 Oct 2021 14:07:03 +0000 (16:07 +0200)]
Pin docutils to < 0.18 for now
We will have to deal with that pain later, but let's unbreak our
CI first.
(cherry picked from commit
2503af018b72112a2422ce895d9e7418155cbc9f )
Otto [Wed, 27 Oct 2021 10:01:09 +0000 (12:01 +0200)]
A SHA-384 DS should not trump a SHA-256 one, so only potentially zap SHA-1
(cherry picked from commit
a660ce6dbfc4182922eea8e548eb504af31b6cc1 )
Otto [Wed, 27 Oct 2021 07:38:10 +0000 (09:38 +0200)]
wipe-cache-typed should check if a qtype arg is present and valid
(cherry picked from commit
a721f7b21a75cefaa189bf84b14979facde7d3ab )
Otto Moerbeek [Tue, 19 Oct 2021 08:36:20 +0000 (10:36 +0200)]
Merge pull request #10863 from omoerbeek/backport-10842-to-rec-4.5.x
rec: Backport 10842 to rec 4.5.x: Put the right string into appliedPolicyTrigger for Netmask matching rules
Otto [Mon, 18 Oct 2021 10:19:46 +0000 (12:19 +0200)]
Process review comments
(cherry picked from commit
e4387f4e74375699780175a75111eb32a1a3b039 )
Otto [Fri, 15 Oct 2021 10:07:29 +0000 (12:07 +0200)]
Also moved setting of hit value to find functions mostly.
In a few cases (wildcard processing) the matched value is not the
hit as seen by the find function and an overide is needed.
(cherry picked from commit
f9de1f7fd8e37ba91b8b4c85082b2f16c8890cba )
Otto [Fri, 15 Oct 2021 09:48:20 +0000 (11:48 +0200)]
Process review comments and extend unit tests
(cherry picked from commit
562c1c1db90709b5abf4d01fa6be319d6a48e971 )
Otto [Wed, 13 Oct 2021 14:24:28 +0000 (16:24 +0200)]
Add regression test
(cherry picked from commit
9524d9c1d12237dfc44f6a440dd9fc30d6c8b608 )
Otto [Wed, 13 Oct 2021 13:45:16 +0000 (15:45 +0200)]
Put the right string into appliedPolicyTrigger for Netmask matching rules
(ns, client, response). The NetMaskTree has it.
(cherry picked from commit
b143b5f53285957a7230a6e192935a4a45f3454d )
Remi Gacogne [Thu, 7 Oct 2021 07:57:52 +0000 (09:57 +0200)]
Merge pull request #10806 from omoerbeek/backport-10565-to-rec-4.5.x
rec: Backport 10565 to rec 4.5.x: Do not use DNSKEYs found below an apex for validation
Remi Gacogne [Thu, 7 Oct 2021 07:57:46 +0000 (09:57 +0200)]
Merge pull request #10807 from omoerbeek/backport-10622-to-rec-4.5.x
rec: Backport 10622 to rec 4.5.x: Detect a loop when the denial of the DS comes from the child zone
Remi Gacogne [Thu, 7 Oct 2021 07:57:39 +0000 (09:57 +0200)]
Merge pull request #10809 from omoerbeek/min-backport-10632-to-4.5.x
Rec: Minimal Backport of 10632: match ordering of PacketID using the Birtdah vs non-Birtday comparator
Remi Gacogne [Thu, 7 Oct 2021 07:57:31 +0000 (09:57 +0200)]
Merge pull request #10811 from omoerbeek/backport-10633-to-rec-4.5.x
rec: Backport 10633 to rec 4.5.x: Pass the Lua context to follow up queries (follow CNAME, dns64)
Remi Gacogne [Thu, 7 Oct 2021 07:57:23 +0000 (09:57 +0200)]
Merge pull request #10813 from omoerbeek/backport-10718-to-rec-4.5.x
rec: Backport 10718 to rec 4.5.x: Only the DNAME records are authoritative in DNAME answers
Remi Gacogne [Wed, 15 Sep 2021 13:13:34 +0000 (15:13 +0200)]
Update pdns/syncres.cc
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit
68a1512030b2e2fa721c17b010d5787a20951a1a )
Remi Gacogne [Mon, 13 Sep 2021 10:36:19 +0000 (12:36 +0200)]
rec: Only the DNAME records are authoritative in DNAME answers
(cherry picked from commit
58655363e983054a265249aca8297eb6a5ed67af )
Otto [Wed, 6 Oct 2021 09:13:17 +0000 (11:13 +0200)]
Reduce diff with branch
Remi Gacogne [Mon, 16 Aug 2021 15:45:18 +0000 (17:45 +0200)]
rec: check that the policy event filter is called for follow-up queries
(cherry picked from commit
4037914713bb8893cb66f4dbba60addaeca20b02 )
Remi Gacogne [Fri, 6 Aug 2021 07:51:49 +0000 (09:51 +0200)]
rec: Pass the Lua context to follow up queries (follow CNAME, dns64)
(cherry picked from commit
a4e9ad75186e883cdfcc87bc561a6e1f184d37f9 )
Otto [Wed, 6 Oct 2021 08:37:28 +0000 (10:37 +0200)]
Minimal backport of #10632: match ordering of PacketID using the
Birtdah vs non-Birtday comparator
Remi Gacogne [Tue, 17 Aug 2021 09:33:16 +0000 (11:33 +0200)]
rec: Add a test for 'denial of the DS comes from the child zone' loop
(cherry picked from commit
68ae8a86ab3943692fabeb134869e3d0a418dc03 )
Remi Gacogne [Sun, 1 Aug 2021 21:58:42 +0000 (23:58 +0200)]
rec: Detect a loop when the denial of the DS comes from the child zone
(cherry picked from commit
c3e96dca178cf355324ab34a08b3578e4fc44a31 )
Peter van Dijk [Tue, 6 Jul 2021 14:47:43 +0000 (16:47 +0200)]
rec: do not use DNSKEYs found below an apex for validation, also from cache
(cherry picked from commit
29ad87969c8a24fcc812ff4cb445a9e130d256ae )
Peter van Dijk [Mon, 5 Jul 2021 15:04:04 +0000 (17:04 +0200)]
rec: do not use DNSKEYs found below an apex for validation
(cherry picked from commit
90b85dd0e7bfb7a21ab07f2ab9b31c616c6c62b9 )
Otto Moerbeek [Wed, 6 Oct 2021 07:47:39 +0000 (09:47 +0200)]
Merge pull request #10803 from omoerbeek/backport-10768-to-rec-4.5.x
rec: Backport 10768 to rec-4.5.x: Use the correct RPZ policy name when loading via XFR
Remi Gacogne [Tue, 28 Sep 2021 09:12:23 +0000 (11:12 +0200)]
rec: Use the correct RPZ policy name when loading via XFR
This commit fixes two issues:
- if the existing zone name is not empty we should use it, instead of
the zone domain
- if the zone domain has to be used, it should not include a final dot
(cherry picked from commit
3e86a970828dda814a140c9613311a8507c3c458 )
Otto Moerbeek [Fri, 17 Sep 2021 14:40:46 +0000 (16:40 +0200)]
Merge pull request #10723 from omoerbeek/backport-10721-to-rec-4.5.x
rec: Backport 10721 to rec 4.5.x: require nose >= 1.3.7 everywhere
Peter van Dijk [Tue, 14 Sep 2021 14:06:55 +0000 (16:06 +0200)]
require nose >= 1.3.7 everywhere
(cherry picked from commit
8e8be088de0634fc561f5c7f6e26d6ed03f401e8 )
Otto Moerbeek [Tue, 14 Sep 2021 06:41:15 +0000 (08:41 +0200)]
Merge pull request #10717 from omoerbeek/backport-10701-to-rec-4.5.x
rec: Backport 10701 to rec-4.5.x: Fix the aggressive cache returning duplicated NSEC3 records
Remi Gacogne [Wed, 8 Sep 2021 09:11:53 +0000 (11:11 +0200)]
rec: Fix the aggressive cache returning duplicated NSEC3 records
No need to include the same record twice when it provides, at the same
time, a proof that the closest encloser exists and that the next closer
does not, and/or that the wildcard does not exist either.
This happens right away in a zone with a single record, like reported
by Matt Nordhoff, but it might happen in other cases as well.
(cherry picked from commit
eca47c4dd85d2711ebc26767dfa78bdbce2c7f16 )
Otto Moerbeek [Mon, 13 Sep 2021 07:21:03 +0000 (09:21 +0200)]
Merge pull request #10655 from omoerbeek/backport-10643-to-rec-4.5.x
rec: Backport 10643 to rec 4.5.x: NS from the cache could be a forwarder
Pieter Lexis [Fri, 3 Sep 2021 12:36:16 +0000 (14:36 +0200)]
Merge pull request #10680 from pieterlexis/backport-10407-to-rec-4.5.x
rec: Backport #10407; Debian Bullseye builder files
Chris Hofstaedtler [Thu, 13 May 2021 14:58:37 +0000 (16:58 +0200)]
recursor/debian-buster: remove obsolete dh-systemd Build-Depends
Merged into debhelper (>= 9.
20160709 )
(cherry picked from commit
58f41c5e304caf847c52a0951c2a5a4b9f6c02fb )
Chris Hofstaedtler [Thu, 13 May 2021 14:50:03 +0000 (16:50 +0200)]
builder-support: add Debian bullseye dockerfiles
(cherry picked from commit
ad53d76110228c6d0822b1b130e0bbe425872499 )
Otto [Wed, 18 Aug 2021 07:24:45 +0000 (09:24 +0200)]
Also check if the remoteIP is one of the IPs we would have forwarded to,
even if it's coming from the cache.
Otto [Wed, 11 Aug 2021 11:14:37 +0000 (13:14 +0200)]
If we get an NS from the cache, it still could be one forwarding applies to.
Take that into acount when determining dont-query status. Should fix #10638.
(cherry picked from commit
c03df9bb6f8cd71a67ef9505fcafa27d514a68ad )
Otto Moerbeek [Mon, 9 Aug 2021 06:21:30 +0000 (08:21 +0200)]
Merge pull request #10629 from omoerbeek/backport-10627-to-rec-4.5.x
rec: backport 10627 to rec 4.5.x: Check in more places if the policy has been updated before using or modifying it.
Otto [Tue, 3 Aug 2021 07:08:09 +0000 (09:08 +0200)]
Check in more places if the config policy has been updated before
using or modifying it.
(cherry picked from commit
0c98e3de2cf1daae3f7034803668c1ac10fefe49 )
Otto Moerbeek [Wed, 28 Jul 2021 10:51:46 +0000 (12:51 +0200)]
Merge pull request #10593 from rgacogne/rec45-aggressive-nsec3-ancestor
rec: Backport 10587 to rec-4.5.x: Ancestor NSEC3s can only deny the existence of a DS
Otto Moerbeek [Tue, 27 Jul 2021 14:12:00 +0000 (16:12 +0200)]
Merge pull request #10575 from omoerbeek/backport-10570-to-rec-4.5.x
rec: Backport 10570 to rec 4.5.x: Make really sure we did not miss a cut on validation failure
Remi Gacogne [Mon, 19 Jul 2021 14:41:27 +0000 (16:41 +0200)]
rec: Fix wrong comments in the Aggressive NSEC cache unit tests
(cherry picked from commit
b48a269ae32e9f1bc80966fd4e72eeaba49e68f5 )
Otto Moerbeek [Mon, 19 Jul 2021 11:52:22 +0000 (13:52 +0200)]
Merge pull request #10564 from omoerbeek/backport-10555-to-rec-4.5.x
Backport 10555 to rec 4.5.x: Work around clueless servers sending AA=0 answers
Otto Moerbeek [Mon, 19 Jul 2021 09:15:06 +0000 (11:15 +0200)]
Merge pull request #10573 from omoerbeek/backport-10515-to-rec-4.5.x
rec: Backport 10515 to rec-4.5.x: Clear the current proxy protocol values each iteration