]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoalso update expected_results for the tinydns-data-check test 11746/head
Peter van Dijk [Mon, 4 Jul 2022 14:54:43 +0000 (16:54 +0200)] 
also update expected_results for the tinydns-data-check test

(cherry picked from commit 98a841f1438e015ae254f44af17cc1dcaa437d1b)

3 years agoauth 2136: in recently added TXT tests, hide SOA details
Peter van Dijk [Mon, 4 Jul 2022 14:07:22 +0000 (16:07 +0200)] 
auth 2136: in recently added TXT tests, hide SOA details

(cherry picked from commit 735dcf2cd1d0838368d2231a3c815f4f31b92087)

3 years agoauth 2136: match autosplit TXT correctly
Peter van Dijk [Fri, 1 Jul 2022 10:24:13 +0000 (12:24 +0200)] 
auth 2136: match autosplit TXT correctly

(cherry picked from commit d040cb869d63d78a34e9efe9f517fa8829fbf6d9)

3 years agoauth: add a bunch of passing rfc2136 TXT tests
Peter van Dijk [Fri, 1 Jul 2022 07:44:24 +0000 (09:44 +0200)] 
auth: add a bunch of passing rfc2136 TXT tests

(cherry picked from commit 9fca38077c5538d4a886629fc229f9b0f3150b02)

3 years agoMerge pull request #11406 from Habbie/4.6.x-lmdb-backports auth-4.6.2
Peter van Dijk [Mon, 28 Mar 2022 18:16:13 +0000 (20:16 +0200)] 
Merge pull request #11406 from Habbie/4.6.x-lmdb-backports

auth-4.6.x: LMDB backports

3 years agoMerge pull request #11409 from Habbie/backport-11389-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 17:15:58 +0000 (19:15 +0200)] 
Merge pull request #11409 from Habbie/backport-11389-to-auth-4.6.x

auth-4.6.x API: fetch individual rrsets

3 years agoMerge pull request #11407 from Habbie/backport-11314-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 17:15:48 +0000 (19:15 +0200)] 
Merge pull request #11407 from Habbie/backport-11314-to-auth-4.6.x

auth-4.6.x: fix proxy protocol query statistics and add more detailed latency metrics

3 years agoMerge pull request #11408 from Habbie/backport-11227-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 16:14:35 +0000 (18:14 +0200)] 
Merge pull request #11408 from Habbie/backport-11227-to-auth-4.6.x

auth 4.6.x LUA: add ifurlextup function

3 years agoMerge pull request #11404 from Habbie/backport-11199-to-auth-4.6.x
Peter van Dijk [Mon, 28 Mar 2022 16:13:01 +0000 (18:13 +0200)] 
Merge pull request #11404 from Habbie/backport-11199-to-auth-4.6.x

auth-4.6.x: add Ubuntu jammy target

3 years agoMerge pull request #11455 from Habbie/auth-4.6.x-xfr
Peter van Dijk [Mon, 28 Mar 2022 09:51:16 +0000 (11:51 +0200)] 
Merge pull request #11455 from Habbie/auth-4.6.x-xfr

auth 4.6.x IXFR-in: Fix a case where an incomplete read caused by netw…

3 years agoMerge pull request #11461 from Habbie/backport-11449-to-auth-4.6.x
Otto Moerbeek [Fri, 25 Mar 2022 15:33:39 +0000 (16:33 +0100)] 
Merge pull request #11461 from Habbie/backport-11449-to-auth-4.6.x

auth-4.6.x docs: Pin jinja2 to < 3.1.0

3 years agodocs: Pin jinja2 to < 3.1.0 11461/head
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)

3 years agoauth, rec IXFR-in: Fix a case where an incomplete read caused by network error might... 11455/head auth-4.6.1
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.

3 years agoauth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A 11409/head
Peter van Dijk [Thu, 3 Mar 2022 10:42:58 +0000 (11:42 +0100)] 
auth /zones/example.com.?rrset_name=www.example.com.&rrset_type=A

(cherry picked from commit 486210b80662f9d87050283bd6d0e81f0152140b)

3 years agows-auth: small refactor to pass full req to fillZone
Peter van Dijk [Thu, 3 Mar 2022 10:18:56 +0000 (11:18 +0100)] 
ws-auth: small refactor to pass full req to fillZone

(cherry picked from commit de7fd3c605ed09d75efb8e456d7b187d645dbb0e)

3 years agoauth LUA: add ifurlextup function 11408/head
Peter van Dijk [Fri, 21 Jan 2022 14:58:46 +0000 (15:58 +0100)] 
auth LUA: add ifurlextup function

(cherry picked from commit 95d0df69a79243d4a510d24afa07e08734ac5200)

3 years agoauth: fix proxy protocol query statistics 11407/head
Kees Monshouwer [Thu, 10 Feb 2022 23:13:19 +0000 (00:13 +0100)] 
auth: fix proxy protocol query statistics

(cherry picked from commit 208abc4cd8d13d683e3703f533140d350304eef1)

3 years agoauth: add cache and backend latency metrics
Kees Monshouwer [Thu, 10 Feb 2022 22:36:47 +0000 (23:36 +0100)] 
auth: add cache and backend latency metrics

(cherry picked from commit 386c5b136c62427e53ab74ed7dbed5a3aea20606)

3 years agoauth lmdb: default values for KeyDataDB members, thanks ubsan 11406/head
Peter van Dijk [Wed, 9 Feb 2022 10:55:25 +0000 (11:55 +0100)] 
auth lmdb: default values for KeyDataDB members, thanks ubsan

(cherry picked from commit 9f5f4decf700e0616608e8dff67d29c312de2584, backport of #11306)

3 years agoauth lmdb: make map size configurable
Peter van Dijk [Tue, 15 Feb 2022 15:21:32 +0000 (16:21 +0100)] 
auth lmdb: make map size configurable

(cherry picked from commit aded4962afb7232d7ef878b6197eaeb273eef871, backport of #11328)

3 years agoauth lmdb random-ids: stop generating negative numbers
Peter van Dijk [Thu, 24 Feb 2022 16:19:21 +0000 (17:19 +0100)] 
auth lmdb random-ids: stop generating negative numbers

regression testing now happens with random IDs, except for HTTP API testing

(cherry picked from commit 529fe29fd4064447a3298a02076059cc7ac0596b, backport of #11354)

3 years agoauth lmdb: add random ID generation feature
Peter van Dijk [Fri, 4 Feb 2022 15:08:18 +0000 (16:08 +0100)] 
auth lmdb: add random ID generation feature

(cherry picked from commit a824a629ab13d2d5516221ec47a849755b221e5f, backport of #11309)

3 years agoauth lmdb: add a UUID to newly created databases
Peter van Dijk [Wed, 26 Jan 2022 12:24:25 +0000 (13:24 +0100)] 
auth lmdb: add a UUID to newly created databases

(cherry picked from commit ba731a422ab3eb3c31d85d3683338abadb5a800b, backport of #11241)

3 years agotest ubuntu jammy build target 11404/head
Peter van Dijk [Fri, 14 Jan 2022 11:12:09 +0000 (12:12 +0100)] 
test ubuntu jammy build target

(cherry picked from commit e3d50799180eb4499f8dda5263773775301bfa7e)

3 years agoadd ubuntu jammy build target
Peter van Dijk [Fri, 14 Jan 2022 11:12:04 +0000 (12:12 +0100)] 
add ubuntu jammy build target

(cherry picked from commit 6c1e5fd70b4dd4e75b18ff8c75f93c7d22122643)

3 years agoMerge pull request #11272 from Habbie/backport-11262-to-auth-4.6.x
Peter van Dijk [Thu, 3 Feb 2022 10:20:43 +0000 (11:20 +0100)] 
Merge pull request #11272 from Habbie/backport-11262-to-auth-4.6.x

auth-4.6.x: builder: migrate EL8 builds to oraclelinux, rename centos8 to el8 where possible

3 years agobuilder: add el-7 alias for centos-7 11272/head
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)

3 years agotake centos 8-stream from quay
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)

3 years agobuilder CI: switch oraclelinux-8 to el-8
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)

3 years agobuilder: archs for oraclelinux-8; el-8 symlinks
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)

3 years agoMerge pull request #11235 from Habbie/backport-11197-to-auth-4.6.x
Peter van Dijk [Thu, 27 Jan 2022 12:58:15 +0000 (13:58 +0100)] 
Merge pull request #11235 from Habbie/backport-11197-to-auth-4.6.x

auth-4.6.x: Stop using the now deprecated and useless std::binary_function

3 years agoMerge pull request #11233 from Habbie/backport-11196-to-auth-4.6.x
Peter van Dijk [Tue, 25 Jan 2022 15:54:13 +0000 (16:54 +0100)] 
Merge pull request #11233 from Habbie/backport-11196-to-auth-4.6.x

auth-4.6: Fix build with OpenSSL 3.0.0

3 years agoStop using the now deprecated and useless std::binary_function 11235/head
Peter van Dijk [Tue, 25 Jan 2022 15:51:46 +0000 (16:51 +0100)] 
Stop using the now deprecated and useless std::binary_function

It is no longer needed since the types can now be automatically
deduced, has been deprecated in C++11 and removed in C++17.

(cherry picked from commit 7587bcbea8a9cb3058cb2e6d7f6a2597494b6713)

3 years agoFix build with OpenSSL 3.0.0 11233/head
Remi Gacogne [Mon, 17 Jan 2022 15:13:09 +0000 (16:13 +0100)] 
Fix build with OpenSSL 3.0.0

(cherry picked from commit 8535f66672ec9d1eebf5835d3e53238973a80478)

3 years agoMerge pull request #11206 from Habbie/backport-11090-to-auth-4.6.x auth-4.6.0
Peter van Dijk [Mon, 24 Jan 2022 10:59:59 +0000 (11:59 +0100)] 
Merge pull request #11206 from Habbie/backport-11090-to-auth-4.6.x

auth-4.6.x: show QType by name in log message

3 years agoMerge pull request #11205 from Habbie/backport-11194-to-auth-4.6.x
Peter van Dijk [Mon, 24 Jan 2022 10:59:46 +0000 (11:59 +0100)] 
Merge pull request #11205 from Habbie/backport-11194-to-auth-4.6.x

auth 4.6.x swagger: add a syntax test and fix a few things

3 years agoMerge pull request #11220 from mind04/pdns-bp-cds
Peter van Dijk [Thu, 20 Jan 2022 15:44:15 +0000 (16:44 +0100)] 
Merge pull request #11220 from mind04/pdns-bp-cds

auth-4.6.x: fix multiple CDS records in an AXFR

3 years agoauth: test CDS multi digest and removal 11220/head
Kees Monshouwer [Thu, 20 Jan 2022 11:00:21 +0000 (12:00 +0100)] 
auth: test CDS multi digest  and removal

3 years agoauth: test CDS with multiple keys
Kees Monshouwer [Thu, 20 Jan 2022 10:43:23 +0000 (11:43 +0100)] 
auth: test CDS with multiple keys

3 years agoauth: fix multiple CDS records in an AXFR
Kees Monshouwer [Thu, 20 Jan 2022 10:13:21 +0000 (11:13 +0100)] 
auth: fix multiple CDS records in an AXFR

3 years agoauth: show QType by name in log message 11206/head
Chris Hofstaedtler [Fri, 10 Dec 2021 21:34:41 +0000 (22:34 +0100)] 
auth: show QType by name in log message

(cherry picked from commit dd276e7ad94c977a0dbdd99ce30f17791f2bebb1)

3 years agoauth CI: do swagger syntax check 11205/head
Peter van Dijk [Mon, 17 Jan 2022 14:02:04 +0000 (15:02 +0100)] 
auth CI: do swagger syntax check

(cherry picked from commit dab788a99bda44735699086a6f7557dca6de47ab)

3 years agoauth swagger: fix some texts in the autoprimary bits
Peter van Dijk [Mon, 17 Jan 2022 14:24:02 +0000 (15:24 +0100)] 
auth swagger: fix some texts in the autoprimary bits

(cherry picked from commit 02c55fb7a0ea8288a881914404a60bab90d32c0d)

3 years agoauth swagger: fix autoprimary format
Peter van Dijk [Mon, 17 Jan 2022 14:21:40 +0000 (15:21 +0100)] 
auth swagger: fix autoprimary format

(cherry picked from commit 6b79221666f4bfcea6bfccc3e9754c8df59406eb)

3 years agoMerge pull request #11210 from Habbie/backport-11208-to-auth-4.6.x
Peter van Dijk [Tue, 18 Jan 2022 17:14:11 +0000 (18:14 +0100)] 
Merge pull request #11210 from Habbie/backport-11208-to-auth-4.6.x

auth-4.6.x: CI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0

3 years agoCI: dnspython 2.2.0 breaks auth and ixfrdist testing, pin to 2.1.0 11210/head
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)

3 years agoMerge pull request #11182 from Habbie/auth-46-copyright-years
Peter van Dijk [Mon, 17 Jan 2022 21:12:48 +0000 (22:12 +0100)] 
Merge pull request #11182 from Habbie/auth-46-copyright-years

auth-4.6.x: bump copyright years to 2022

3 years agoalso bump ws-auth.cc copyright year 11182/head
Peter van Dijk [Thu, 13 Jan 2022 15:14:56 +0000 (16:14 +0100)] 
also bump ws-auth.cc copyright year

3 years agoBump copyright year
Otto Moerbeek [Fri, 7 Jan 2022 08:00:30 +0000 (09:00 +0100)] 
Bump copyright year

(cherry picked from commit 2d0db0d9655eb1474367cf0dc565ad8710dda507)

3 years agoMerge pull request #11160 from mind04/auth46-bp-zonecache auth-4.6.0-rc1
Peter van Dijk [Thu, 13 Jan 2022 12:50:59 +0000 (13:50 +0100)] 
Merge pull request #11160 from mind04/auth46-bp-zonecache

auth-4.6.x: add zone removal to the zonecache

3 years agoauth: add zone removal to the zonecache 11160/head
Kees Monshouwer [Sun, 9 Jan 2022 13:24:23 +0000 (14:24 +0100)] 
auth: add zone removal to the zonecache

3 years agoMerge pull request #11145 from Habbie/backport-11144-to-auth-4.6.x
Peter van Dijk [Tue, 11 Jan 2022 14:30:38 +0000 (15:30 +0100)] 
Merge pull request #11145 from Habbie/backport-11144-to-auth-4.6.x

auth 4.6.x: pdnsutil edit-zone: fix n and e behaviour on increase-serial prompt, fixes #11142

3 years agoMerge pull request #11159 from mind04/pdns-bp6-lmdb-lookup
Peter van Dijk [Tue, 11 Jan 2022 14:28:34 +0000 (15:28 +0100)] 
Merge pull request #11159 from mind04/pdns-bp6-lmdb-lookup

auth-4.6.x: lmdb, check if the lookup name is part of the zone

3 years agoMerge pull request #11161 from Habbie/backport-11102-to-auth-4.6.x
Peter van Dijk [Tue, 11 Jan 2022 14:19:33 +0000 (15:19 +0100)] 
Merge pull request #11161 from Habbie/backport-11102-to-auth-4.6.x

auth 4.6.x: add autoprimary management in API & pdnsutil #11102

3 years agoauth: add autoprimary API test 11161/head
Peter van Dijk [Wed, 15 Dec 2021 14:05:33 +0000 (15:05 +0100)] 
auth: add autoprimary API test

(cherry picked from commit 1d9754ddebf3fa6e42f4ecf11f0e6101f27fcfd9)

3 years agoauth: add support for autoprimary management via API and pdnsutil
Aki Tuomi [Wed, 21 Jul 2021 13:26:55 +0000 (16:26 +0300)] 
auth: add support for autoprimary management via API and pdnsutil

(cherry picked from commit 782e9b24c390a954ab88fec1b1d019f200f9d448)

3 years agobindbackend: Document bind-supermaster-config
Aki Tuomi [Wed, 21 Jul 2021 13:42:48 +0000 (16:42 +0300)] 
bindbackend: Document bind-supermaster-config

(cherry picked from commit 8a9ea70a3afc3958d3ae8d3864cc4ffb78de281b)

3 years agoauth: lmdb, check if the lookup name is part of the zone 11159/head
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

3 years agopdnsutil edit-zone: fix n and e behaviour on increase-serial prompt, fixes #11142 11145/head
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)

3 years agoMerge pull request #11139 from mind04/pdns-bp-46x
Peter van Dijk [Wed, 5 Jan 2022 13:45:16 +0000 (14:45 +0100)] 
Merge pull request #11139 from mind04/pdns-bp-46x

Auth-4.6.x: backports

3 years agoMerge pull request #11093 from Habbie/backport-11081-to-auth-4.6.x
Peter van Dijk [Wed, 5 Jan 2022 13:42:23 +0000 (14:42 +0100)] 
Merge pull request #11093 from Habbie/backport-11081-to-auth-4.6.x

auth-4.6.x: docker images: Remove capability requirements

3 years agoMerge pull request #11086 from Habbie/auth46-remove-non-auth-ci
Peter van Dijk [Wed, 5 Jan 2022 13:38:30 +0000 (14:38 +0100)] 
Merge pull request #11086 from Habbie/auth46-remove-non-auth-ci

auth-4.6.x: do not run dnsdist/rec CI

3 years agoauth: improve tcp exception handling 11139/head
Kees Monshouwer [Wed, 22 Dec 2021 12:18:57 +0000 (13:18 +0100)] 
auth: improve tcp exception handling

3 years agoauth: lmdb: fix records removal in deleteDomain()
Kees Monshouwer [Mon, 20 Dec 2021 15:57:40 +0000 (16:57 +0100)] 
auth: lmdb: fix records removal in deleteDomain()

3 years agoAdditional note on Docker Engine version where the requirement of the additional... 11093/head
Nico Vaatstra [Thu, 9 Dec 2021 11:39:29 +0000 (12:39 +0100)] 
Additional note on Docker Engine version where the requirement of the additional capability was dropped

(cherry picked from commit 07b24e5743c08c828c73a93e724a86a5b83b680a)

3 years agoRemove capability requirements from Docker images
Nico Vaatstra [Wed, 8 Dec 2021 15:28:42 +0000 (16:28 +0100)] 
Remove capability requirements from Docker images

(cherry picked from commit f28c81ed0242b6838eafdb61933a6f63b68040cf)

3 years agoauth-4.6.x: do not run dnsdist/rec CI 11086/head
Peter van Dijk [Thu, 9 Dec 2021 10:14:50 +0000 (11:14 +0100)] 
auth-4.6.x: do not run dnsdist/rec CI

3 years agoMerge pull request #11073 from jsoref/grammar auth-4.6.0-beta1
Pieter Lexis [Tue, 7 Dec 2021 12:12:02 +0000 (13:12 +0100)] 
Merge pull request #11073 from jsoref/grammar

Minor fixes

3 years agoMinor fixes 11073/head
Josh Soref [Tue, 7 Dec 2021 09:21:44 +0000 (04:21 -0500)] 
Minor fixes

Guided by app.grammarly.com

3 years agoMerge pull request #11070 from omoerbeek/rec-regr-logs
Otto Moerbeek [Mon, 6 Dec 2021 14:27:52 +0000 (15:27 +0100)] 
Merge pull request #11070 from omoerbeek/rec-regr-logs

rec: Regression tests: startup/cleanup fixes

3 years agoMerge pull request #11068 from Habbie/bind-hybrid-zone-cache
Peter van Dijk [Mon, 6 Dec 2021 11:56:02 +0000 (12:56 +0100)] 
Merge pull request #11068 from Habbie/bind-hybrid-zone-cache

auth: prevent bind-hybrid+zone-cache

3 years agoMerge pull request #11067 from Habbie/pdnsutil-ds-sha1-verbose
Peter van Dijk [Mon, 6 Dec 2021 11:55:05 +0000 (12:55 +0100)] 
Merge pull request #11067 from Habbie/pdnsutil-ds-sha1-verbose

pdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045

3 years agoMerge pull request #11066 from zeha/auth-api-zonecache-flush-small
Peter van Dijk [Mon, 6 Dec 2021 11:54:33 +0000 (12:54 +0100)] 
Merge pull request #11066 from zeha/auth-api-zonecache-flush-small

Auth: add zone to zonecache on flush API endpoint

3 years agoMerge pull request #11071 from PowerDNS/omoerbeek-patch-1
Peter van Dijk [Mon, 6 Dec 2021 11:49:09 +0000 (12:49 +0100)] 
Merge pull request #11071 from PowerDNS/omoerbeek-patch-1

Wrong title of check

3 years agoMerge pull request #11069 from omoerbeek/rec-no-eventtrace-on-no-lua
Otto Moerbeek [Mon, 6 Dec 2021 08:29:36 +0000 (09:29 +0100)] 
Merge pull request #11069 from omoerbeek/rec-no-eventtrace-on-no-lua

rec: Do not generate eventtrace records if no Lua hook is defined

3 years agoCleanup start and stop code 11070/head
Otto Moerbeek [Fri, 3 Dec 2021 14:29:09 +0000 (15:29 +0100)] 
Cleanup start and stop code

- more clearly print startup logs in case of exec error
- do not try to kill a process that's already dead
- do not call exit, but throw an AssertionError on startup issues

Also print logs on no exception

3 years agoWrong title of check 11071/head
Otto Moerbeek [Fri, 3 Dec 2021 16:18:07 +0000 (17:18 +0100)] 
Wrong title of check

3 years agoauth API: add zone to zonecache in flush endpoint 11066/head
Chris Hofstaedtler [Fri, 3 Dec 2021 12:52:38 +0000 (13:52 +0100)] 
auth API: add zone to zonecache in flush endpoint

3 years agoauth: prevent bind-hybrid+zone-cache, fixes #10658 11068/head
Peter van Dijk [Fri, 3 Dec 2021 11:51:10 +0000 (12:51 +0100)] 
auth: prevent bind-hybrid+zone-cache, fixes #10658

3 years agoauth API: purge entire zone from cache, not just zone-level records
Chris Hofstaedtler [Fri, 3 Dec 2021 12:45:34 +0000 (13:45 +0100)] 
auth API: purge entire zone from cache, not just zone-level records

3 years agoMerge pull request #11064 from omoerbeek/docs-secpoll-status
Otto Moerbeek [Fri, 3 Dec 2021 12:26:32 +0000 (13:26 +0100)] 
Merge pull request #11064 from omoerbeek/docs-secpoll-status

secpoll: for pre-releases, use status 2 when supserseded.

3 years agoDo not generate eventtrace records if no Lua hook is defined 11069/head
Otto [Fri, 3 Dec 2021 12:24:45 +0000 (13:24 +0100)] 
Do not generate eventtrace records if no Lua hook is defined

3 years agopdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045 11067/head
Peter van Dijk [Fri, 3 Dec 2021 11:38:25 +0000 (12:38 +0100)] 
pdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045

3 years agoFor pre-releases, use status 2 when supserseded. 11064/head
Otto [Fri, 3 Dec 2021 08:18:41 +0000 (09:18 +0100)] 
For pre-releases, use status 2 when supserseded.

3 years agoMerge pull request #11063 from omoerbeek/rec-prep-4.6.0-rc1
Otto Moerbeek [Fri, 3 Dec 2021 09:32:21 +0000 (10:32 +0100)] 
Merge pull request #11063 from omoerbeek/rec-prep-4.6.0-rc1

rec: Prep for rec-4.6.0-rc1

3 years agoMerge pull request #11054 from rgacogne/ddist-fix-webserver-headers-doc
Remi Gacogne [Fri, 3 Dec 2021 09:11:16 +0000 (10:11 +0100)] 
Merge pull request #11054 from rgacogne/ddist-fix-webserver-headers-doc

dnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc

3 years agoUpdate pdns/recursordist/docs/changelog/4.6.rst 11063/head
Otto Moerbeek [Fri, 3 Dec 2021 08:45:51 +0000 (09:45 +0100)] 
Update pdns/recursordist/docs/changelog/4.6.rst

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoPrep for rec-4.6.0-rc1
Otto [Wed, 1 Dec 2021 15:21:09 +0000 (16:21 +0100)] 
Prep for rec-4.6.0-rc1

3 years agoMerge pull request #10982 from omoerbeek/systemd-dir-env-cond
Otto Moerbeek [Wed, 1 Dec 2021 12:13:40 +0000 (13:13 +0100)] 
Merge pull request #10982 from omoerbeek/systemd-dir-env-cond

Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed

3 years agoCondition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed 10982/head
Otto [Mon, 15 Nov 2021 10:48:22 +0000 (11:48 +0100)] 
Condition to HAVE_SYSTEMD_WITH_RUNTIME_DIR_ENV is reversed

3 years agodnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc 11054/head
Remi Gacogne [Wed, 1 Dec 2021 08:53:43 +0000 (09:53 +0100)] 
dnsdist: Fix 'custom_headers' -> 'customHeaders' in the webserver doc

`setWebserverConfig()` accepts a 'customHeaders' key, and not a
'custom_headers' one. Also update the documentation for `webserver()`
where it does not really matter so they are in sync.

3 years agoMerge pull request #11039 from rgacogne/ddist-split-advanced-regression
Remi Gacogne [Tue, 30 Nov 2021 13:01:41 +0000 (14:01 +0100)] 
Merge pull request #11039 from rgacogne/ddist-split-advanced-regression

dnsdist: Split the huge test_Advanced regression test file

3 years agoMerge pull request #11043 from omoerbeek/rec-regr-fast-startup-teardown
Otto Moerbeek [Tue, 30 Nov 2021 11:53:30 +0000 (12:53 +0100)] 
Merge pull request #11043 from omoerbeek/rec-regr-fast-startup-teardown

rec: Regression tests: smarter and faster startup and teardown of auth and rec

3 years agoMerge pull request #11050 from omoerbeek/rec-catch-guard-ex
Otto Moerbeek [Tue, 30 Nov 2021 11:02:40 +0000 (12:02 +0100)] 
Merge pull request #11050 from omoerbeek/rec-catch-guard-ex

rec: Catch an exception in guard destructor as seen by coverity.

3 years agoMerge pull request #11033 from omoerbeek/circleci-drop-formatting
Otto Moerbeek [Tue, 30 Nov 2021 11:00:15 +0000 (12:00 +0100)] 
Merge pull request #11033 from omoerbeek/circleci-drop-formatting

CircleCI: drop formatting check, superseded by GH workflows

3 years agoWait for web server to come online before proceeding 11043/head rec-4.7.0-alpha0
Otto [Tue, 30 Nov 2021 10:55:59 +0000 (11:55 +0100)] 
Wait for web server to come online before proceeding

3 years agoSet timeout on TCP connect attempt
Otto [Tue, 30 Nov 2021 06:55:10 +0000 (07:55 +0100)] 
Set timeout on TCP connect attempt

3 years agoWait for webserver to come up
Otto [Mon, 29 Nov 2021 11:14:55 +0000 (12:14 +0100)] 
Wait for webserver to come up

3 years agoWait until outgoing requests stabilizes before starting tests, rec might stil be...
Otto [Mon, 29 Nov 2021 09:56:23 +0000 (10:56 +0100)] 
Wait until outgoing requests stabilizes before starting tests, rec might stil be busy resolving hints.

3 years agoSmarter and faster startup and teardown of auth and rec
Otto [Mon, 29 Nov 2021 08:47:40 +0000 (09:47 +0100)] 
Smarter and faster startup and teardown of auth and rec

Instead of having a fixed 1 or 2s delay, poll the TCP port to see
if rec or auth has started up in a semi-tight loop: a loop with a
small sleep.  For teardown we poll the wait status using poll() in
a similar loop.