]>
git.ipfire.org Git - thirdparty/pdns.git/log
Peter van Dijk [Tue, 27 Sep 2022 11:58:28 +0000 (13:58 +0200)]
circleci auth-py: set pdns_control path
Peter van Dijk [Tue, 20 Sep 2022 07:18:26 +0000 (09:18 +0200)]
Merge pull request #11979 from Habbie/backport-11961-to-auth-4.5.x
auth 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 )
Peter van Dijk [Mon, 28 Mar 2022 09:51:32 +0000 (11:51 +0200)]
Merge pull request #11454 from Habbie/auth-4.5.x-xfr
auth 4.5.x IXFR-in: Fix a case where an incomplete read caused by netw…
Otto Moerbeek [Fri, 25 Mar 2022 15:33:32 +0000 (16:33 +0100)]
Merge pull request #11460 from Habbie/backport-11449-to-auth-4.5.x
auth-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 [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.
Peter van Dijk [Thu, 3 Feb 2022 10:20:51 +0000 (11:20 +0100)]
Merge pull request #11273 from Habbie/backport-11262-to-auth-4.5.x
auth-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 )
Peter van Dijk [Wed, 19 Jan 2022 11:07:44 +0000 (12:07 +0100)]
Merge pull request #11214 from Habbie/backport-11182-to-auth-4.5.x
auth-4.5.x: update copyright years to 2022
Peter van Dijk [Wed, 19 Jan 2022 10:52:26 +0000 (11:52 +0100)]
fix copyright year in README.md
Peter van Dijk [Thu, 13 Jan 2022 15:14:56 +0000 (16:14 +0100)]
also bump ws-auth.cc copyright year
(cherry picked from commit
0ced10325d9baefd0f9eafa914d03dde0dbd2905 )
Otto Moerbeek [Fri, 7 Jan 2022 08:00:30 +0000 (09:00 +0100)]
Peter van Dijk [Tue, 18 Jan 2022 21:41:37 +0000 (22:41 +0100)]
Merge pull request #11211 from Habbie/backport-11208-to-auth-4.5.x
auth-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 )
Peter van Dijk [Tue, 11 Jan 2022 14:30:31 +0000 (15:30 +0100)]
Merge pull request #11146 from Habbie/backport-11144-to-auth-4.5.x
auth-4.5.x: pdnsutil edit-zone: fix n and e behaviour on increase-serial prompt, fixes #11142
Peter van Dijk [Tue, 11 Jan 2022 13:28:10 +0000 (14:28 +0100)]
Merge pull request #11158 from mind04/pdns-bp-lmdb-lookup
auth-4.5.x: lmdb, check if the lookup name is part of the zone
Kees Monshouwer [Fri, 7 Jan 2022 23:29:38 +0000 (00:29 +0100)]
auth: lmdb, check if the lookup name is part of the zone
Peter van Dijk [Wed, 5 Jan 2022 19:04:13 +0000 (20:04 +0100)]
pdnsutil edit-zone: fix n and e behaviour on increase-serial prompt, fixes #11142
(cherry picked from commit
fef0fbfc86aaeee03acf62c9d13af70f373679eb )
Peter van Dijk [Tue, 28 Dec 2021 15:43:26 +0000 (16:43 +0100)]
Merge pull request #11123 from mind04/auth-4.5.3-bp
Auth-4.5.x: backports
Kees Monshouwer [Wed, 22 Dec 2021 12:18:57 +0000 (13:18 +0100)]
auth: improve tcp exception handling
Kees Monshouwer [Mon, 20 Dec 2021 15:57:40 +0000 (16:57 +0100)]
auth: lmdb: fix records removal in deleteDomain()
Peter van Dijk [Tue, 23 Nov 2021 09:46:26 +0000 (10:46 +0100)]
Merge pull request #11002 from Habbie/backport-10981-to-auth-4.5.x
auth-4.5.x: apply new TTL to whole RRset, not only to the added record
Peter van Dijk [Mon, 15 Nov 2021 15:28:58 +0000 (16:28 +0100)]
auth 2136: apply new TTL to whole RRset, not only to the added record
fixes #10921
(cherry picked from commit
a725879238540d73c8e782f7bb3101de8a90459d )
Peter van Dijk [Mon, 15 Nov 2021 15:28:47 +0000 (16:28 +0100)]
auth 2136: improve some log messages
(cherry picked from commit
c712ec020fb6c4e62a23ea4667f09a6bf6d2306a )
Peter van Dijk [Tue, 9 Nov 2021 15:56:43 +0000 (16:56 +0100)]
Merge pull request #10968 from Habbie/backport-10941-to-auth-4.5.x
auth-4.x. bindbackend: skip rejected zones during list and search, fixes #10885
Peter van Dijk [Wed, 3 Nov 2021 13:00:30 +0000 (14:00 +0100)]
auth bindbackend: skip rejected zones during list and search, fixes #10885
(cherry picked from commit
3d9c1aabb30c95a621d9f5343398980a1b416d51 )
Peter van Dijk [Tue, 9 Nov 2021 10:52:22 +0000 (11:52 +0100)]
Merge pull request #10964 from mind04/pdns-soa-backend-bp
auth-4.5.x: make the zonecache more robust for bad data and save some SOA q…
Peter van Dijk [Tue, 9 Nov 2021 10:52:05 +0000 (11:52 +0100)]
Merge pull request #10962 from mind04/pdns-napex-soa-bp
auth-4.5.x: api, check SOA location
Peter van Dijk [Tue, 9 Nov 2021 10:51:05 +0000 (11:51 +0100)]
Merge pull request #10952 from mind04/pdns-catch-more-bp
auth-4.5.x: improve dnsname exception handling for SOA records
Kees Monshouwer [Sun, 7 Nov 2021 15:07:10 +0000 (16:07 +0100)]
auth: api, check qtype location. Some types only live apex and some are not allowed (or useful) there.
Kees Monshouwer [Fri, 5 Nov 2021 10:53:36 +0000 (11:53 +0100)]
auth: improve SOA dnsname exception handling
Kees Monshouwer [Mon, 8 Nov 2021 11:22:31 +0000 (12:22 +0100)]
auth: make the zonecache more robust for bad data and save some SOA queries
for dnssec zones
Peter van Dijk [Mon, 8 Nov 2021 12:30:48 +0000 (13:30 +0100)]
Merge pull request #10961 from Habbie/backport-10902-to-auth-4.5.x
auth-4.5.x: Pin docutils to < 0.18 for now, remove rec/dnsdist from CI
Peter van Dijk [Mon, 8 Nov 2021 10:54:21 +0000 (11:54 +0100)]
remove rec&dnsdist from GH and CircleCI config
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 )
Peter van Dijk [Fri, 8 Oct 2021 12:28:14 +0000 (14:28 +0200)]
Merge pull request #10792 from mind04/pdns-getalldomains-bp
auth-4.5.x: improve SOA parse exception handling
Kees Monshouwer [Fri, 1 Oct 2021 08:33:27 +0000 (10:33 +0200)]
auth: fix the SOA check in pdnsutil
Kees Monshouwer [Fri, 1 Oct 2021 21:39:13 +0000 (23:39 +0200)]
auth: ignore broken SOA content in getAllDomains()
Peter van Dijk [Thu, 30 Sep 2021 06:52:41 +0000 (08:52 +0200)]
Merge pull request #10778 from mind04/pdns-bind-reload-bp
auth-4.5.x: try to reload rejected zones in bind-backend once every b…
Kees Monshouwer [Tue, 21 Sep 2021 18:25:35 +0000 (20:25 +0200)]
auth-4.5.x: try to reload rejected zones in bind-backend once every bind-check-interval
Peter van Dijk [Mon, 26 Jul 2021 12:27:18 +0000 (14:27 +0200)]
Merge pull request #10611 from Habbie/auth-45x-type65535
auth-4.5.x: correct upper bounds on d_qtypecounters
Peter van Dijk [Thu, 15 Jul 2021 13:47:18 +0000 (15:47 +0200)]
correct upper bounds on d_qtypecounters
(cherry picked from commit
9949e87aad7968d929cd110a8a9bcfa86b9a9d48 )
Peter van Dijk [Mon, 12 Jul 2021 11:47:54 +0000 (13:47 +0200)]
Merge pull request #10579 from Habbie/backport-10568-to-auth-4.5.x
auth-4.5.x: allow building bindbackend without sqlite3
Peter van Dijk [Tue, 6 Jul 2021 11:16:19 +0000 (13:16 +0200)]
auth: allow building bindbackend without sqlite3
I broke this in #10549
reported by Ralf van der Enden
(cherry picked from commit
96c9ea2833debe84b1471afb824ab2991a4be855 )
Peter van Dijk [Thu, 1 Jul 2021 19:44:31 +0000 (21:44 +0200)]
Merge pull request #10551 from Habbie/backport-10535-to-auth-4.5.x
auth-4.5.x: make UeberBackend::addCache pick the correct ttl
Peter van Dijk [Thu, 1 Jul 2021 19:23:24 +0000 (21:23 +0200)]
Merge pull request #10552 from Habbie/backport-10549-to-auth-4.5.x
auth 4.5.x bindbackend: NSEC(3) setting consistency, reload improvements
Peter van Dijk [Thu, 1 Jul 2021 10:45:10 +0000 (12:45 +0200)]
bindbackend: purge caches on zone reload
(cherry picked from commit
a2b419621734f3c72681d23ba24d12edd44b5d0a )
Peter van Dijk [Thu, 1 Jul 2021 10:15:25 +0000 (12:15 +0200)]
pdnsutil: add reload notes for bindbackend
(cherry picked from commit
a4471afb43612740a558470730663166a647e1a1 )
Peter van Dijk [Sat, 8 May 2021 19:18:20 +0000 (21:18 +0200)]
auth bindbackend: store nsec3 settings at zone load
This keeps, inside the bindbackend, the nsec(3) settings consistent
with the 'rectification' applied on zone load. This avoids crashes
when nsec3 is enabled or disabled without reloading the zone in the
bindbackend.
reported by Matt Nordhoff
(cherry picked from commit
ccb6405fffaf3b13133ca6fbb4159369c3aed169 )
Robin Geuze [Tue, 29 Jun 2021 12:57:30 +0000 (14:57 +0200)]
Completely remove lowering the TTL, just use d_cache_ttl
(cherry picked from commit
184bf1434a1ef92fa2d5b94e4dc774cf54233edb )
Robin Geuze [Tue, 29 Jun 2021 12:37:31 +0000 (14:37 +0200)]
Fix it so addCache actually picks the minimal ttl rather than the last one < d_cache_ttl
(cherry picked from commit
f5089f3a3598a27fe0be5695554c14a4f6a45c93 )
Peter van Dijk [Thu, 24 Jun 2021 15:07:00 +0000 (17:07 +0200)]
Merge pull request #10524 from Habbie/auth-4.5.0-rc1-backports
auth-4.5.0-rc1: backports
Peter van Dijk [Wed, 23 Jun 2021 10:42:20 +0000 (12:42 +0200)]
auth SVCB additional processing: delay inserts to avoid invalidating iterator
(cherry picked from commit
ee2163cdb1e0de07afa48d1f652285e3a61ebcd5 )
auth SVCB additional processing: do not chase chains outside of zone
fixes #10521
(cherry picked from commit
669004579aa873e34c6acbc61e6d84b6bc57d37b )
Only perform AdditionalServiceProcessing for aliasform records.
Co-authored-by: Kees Monshouwer <mind04@monshouwer.org>
(cherry picked from commit
210b625ac6626f72609bc5cdb4252262f40e786d )
Charles-Henri Bruyand [Wed, 9 Jun 2021 10:21:04 +0000 (12:21 +0200)]
auth: fix missing rename of QType.getName() to QType.toString()
(cherry picked from commit
1dd49ac614ca44798b2851923f529ad0830cc604 )
Peter van Dijk [Mon, 21 Jun 2021 11:55:10 +0000 (13:55 +0200)]
auth 2136: allow placing DNSKEY/CDS/CDNSKEY regardless of direct-dnskey setting. Fixes #10321
(cherry picked from commit
959e72e3a4df1620ea5ddaa1d5754aa45e712dfa )
auth: correctly respect direct-dnskey when putting DNSKEY/CDS/CDNSKEY in NSEC(3) bitmaps. Thanks @mind04. Fixes #10516
(cherry picked from commit
597e49e2db272064888df16eeadaa5b91e175595 )
Peter van Dijk [Mon, 21 Jun 2021 11:40:02 +0000 (13:40 +0200)]
pdnsutil edit-zone: correctly reask inc-serial question. Fixes #10328
(cherry picked from commit
be6484af481af470ff568dc1455dcb300ebfaafc )
Peter van Dijk [Mon, 21 Jun 2021 10:38:10 +0000 (12:38 +0200)]
pdnsutil add-autoprimary: print error when exiting with 1. Fixes #10435.
(cherry picked from commit
390124a02530cd084a2a8b9ea4705c776af7c9ee )
Peter van Dijk [Mon, 21 Jun 2021 10:18:04 +0000 (12:18 +0200)]
SVCB: on parse error, throw instead of truncate. Fixes #10442
(cherry picked from commit
dda5e23439e91c6a2d9bb31a38d61da7f8948598 )
Pieter Lexis [Fri, 18 Jun 2021 14:58:59 +0000 (16:58 +0200)]
SVCB: Fix auto hints removing non-auto hints
Closes #10258
(cherry picked from commit
607d1296b284309cb5e8c71966f2db070a2a5c06 )
Peter van Dijk [Sat, 19 Jun 2021 11:33:55 +0000 (13:33 +0200)]
pdnsutil create-zone: better error if default-soa-content is broken
(cherry picked from commit
9b2ff836e0fb0cc82fff29577bfcf8e45e0c60ed )
Peter van Dijk [Fri, 18 Jun 2021 13:50:29 +0000 (15:50 +0200)]
auth: remove pubsuffix
(cherry picked from commit
20e341708156c320d8ce0db74d1b8770188a1742 )
Peter van Dijk [Mon, 14 Jun 2021 11:33:56 +0000 (13:33 +0200)]
in secpoll testing, do not start the auth
(cherry picked from commit
540fddabae630281f9bc54a84c969a969dbc24a0 )
Peter van Dijk [Mon, 21 Jun 2021 11:30:06 +0000 (13:30 +0200)]
pdnsutil add-zone-key: clarify ZSK default
(cherry picked from commit
9dc140be253237921c2fb391abf6ce195f4a7fa1 )
Peter van Dijk [Wed, 16 Sep 2020 08:21:24 +0000 (10:21 +0200)]
newCAFromRaw(): create ComboAddress from raw 4/16 byte strings, plus test
(code copied from dnsdist)
(cherry picked from commit
aec9c9074c9485bd6ac36e258b6ea3260a9131fb )
Remi Gacogne [Mon, 7 Jun 2021 08:43:39 +0000 (10:43 +0200)]
Merge pull request #10469 from Habbie/dnsdist-no-dnsdist-table
dnsdist: remove dnsdist.* lookup fallback
Peter van Dijk [Sun, 6 Jun 2021 18:32:30 +0000 (20:32 +0200)]
Merge pull request #10463 from Habbie/lua-forward-reverse
auth LUA: add filterForward function, to limit the scope of createForward[6]
Peter van Dijk [Tue, 1 Jun 2021 13:54:02 +0000 (15:54 +0200)]
add filterForward function, plus initialiser helper in newNMG
Peter van Dijk [Mon, 31 May 2021 15:15:14 +0000 (17:15 +0200)]
auth LUA testing: test the exception feature
Peter van Dijk [Mon, 31 May 2021 10:51:18 +0000 (12:51 +0200)]
expand LUA createForward/Reverse testing
Peter van Dijk [Mon, 31 May 2021 14:46:22 +0000 (16:46 +0200)]
authtests.py: fix rcode comparison and reporting
Peter van Dijk [Fri, 28 May 2021 21:14:21 +0000 (23:14 +0200)]
rename suffix to format
Peter van Dijk [Sun, 6 Jun 2021 15:03:21 +0000 (17:03 +0200)]
Merge pull request #10470 from mind04/pdns-auth-py
auth: disable zone-cache for the regression.auth-py tests
Kees Monshouwer [Sun, 6 Jun 2021 11:01:12 +0000 (13:01 +0200)]
auth: fix the nobackend tests
Kees Monshouwer [Sat, 5 Jun 2021 23:33:03 +0000 (01:33 +0200)]
auth: disable zone-cache for the regression.auth-py tests
Peter van Dijk [Sat, 5 Jun 2021 16:57:56 +0000 (18:57 +0200)]
dnsdist: remove dnsdist.* lookup fallback
Otto Moerbeek [Fri, 4 Jun 2021 14:34:49 +0000 (16:34 +0200)]
Merge pull request #10426 from omoerbeek/rec-refresh-ns-and-addr-fix
rec: When refreshing, do not consider root almost expired
Otto Moerbeek [Fri, 4 Jun 2021 12:58:50 +0000 (14:58 +0200)]
make ttl value's origin clear
Co-authored-by: Remi Gacogne <github@coredump.fr>
Otto [Fri, 4 Jun 2021 11:27:44 +0000 (13:27 +0200)]
Add testcase for "almost expired".
Peter van Dijk [Thu, 3 Jun 2021 20:36:55 +0000 (22:36 +0200)]
Merge pull request #10450 from pieterlexis/modernize-ax_check_sign
Update AX_CHECK_SIGN for autoconf 2.71
Peter van Dijk [Thu, 3 Jun 2021 18:57:41 +0000 (20:57 +0200)]
Merge pull request #10454 from mind04/pdns-tiny-getalldomains
auth: add/fix getAllDomains()
Peter van Dijk [Thu, 3 Jun 2021 14:57:29 +0000 (16:57 +0200)]
Merge pull request #10466 from tuxis-ie/fix_issue_10465
Update documentation to reflect changes in default-soa-content.
Peter van Dijk [Thu, 3 Jun 2021 14:57:18 +0000 (16:57 +0200)]
add markup
Peter van Dijk [Thu, 3 Jun 2021 14:51:19 +0000 (16:51 +0200)]
Merge pull request #10461 from mind04/pdns-createdomain
auth: simplify createDomain()
Peter van Dijk [Thu, 3 Jun 2021 13:46:31 +0000 (15:46 +0200)]
Merge pull request #10452 from cmouse/doc-unknown-rr
docs: Document unknown record type in supported types
Kees Monshouwer [Thu, 3 Jun 2021 06:44:38 +0000 (08:44 +0200)]
auth: document and check backend zone-cache capability
Mark Schouten [Thu, 3 Jun 2021 11:59:37 +0000 (13:59 +0200)]
Update with @Habbie's suggestions
Mark Schouten [Thu, 3 Jun 2021 10:32:06 +0000 (12:32 +0200)]
Update documentation to reflect changes in default-soa-content.
There are more settings that need replacing.
Remi Gacogne [Thu, 3 Jun 2021 08:44:39 +0000 (10:44 +0200)]
Merge pull request #10460 from rgacogne/rec-referral-from-parent-on-ds
rec: Don't follow referral from the parent to the child for DS queries
Kees Monshouwer [Mon, 31 May 2021 21:25:13 +0000 (23:25 +0200)]
auth: simplify createDomain()
Remi Gacogne [Wed, 2 Jun 2021 14:36:13 +0000 (16:36 +0200)]
Merge pull request #10419 from rgacogne/ddist-fix-edns-notify
dnsdist: Properly handle ECS for queries with ancount or nscount > 0
Remi Gacogne [Wed, 2 Jun 2021 14:29:40 +0000 (16:29 +0200)]
rec: Cleaner way of handling a referral to a child zone for DS queries
Remi Gacogne [Wed, 2 Jun 2021 14:26:14 +0000 (16:26 +0200)]
rec: Also test for the "referral to child on DS query" case in a Secure zone
Otto [Wed, 2 Jun 2021 14:11:44 +0000 (16:11 +0200)]
Better approach: just never consider root records "almost expired".
They will be refreshed by the periodic task anyway.
Remi Gacogne [Wed, 2 Jun 2021 13:02:42 +0000 (15:02 +0200)]
rec: Fix a typo in a comment
Remi Gacogne [Wed, 2 Jun 2021 13:00:32 +0000 (15:00 +0200)]
rec: Add a unit test for the "referral to child on DS query" case
Otto Moerbeek [Wed, 2 Jun 2021 11:28:18 +0000 (13:28 +0200)]
Merge pull request #10445 from rgacogne/rec-typo-edns-prometheus-metric
rec: Fix a typo in the prometheus "edns-ping-mismatches" metric