]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoUpdate systemd dependencies 12206/head
Georg Pfuetzenreuter [Thu, 17 Nov 2022 21:13:36 +0000 (22:13 +0100)] 
Update systemd dependencies

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2 years agoMerge pull request #12199 from omoerbeek/rec-forward-ds-negcache
Otto Moerbeek [Wed, 16 Nov 2022 13:51:58 +0000 (14:51 +0100)] 
Merge pull request #12199 from omoerbeek/rec-forward-ds-negcache

rec: Also consider recursive forward in the "forwarded DS should not end up in negCache code."

2 years agoMerge pull request #12198 from omoerbeek/rec-processrecords-opt
Otto Moerbeek [Wed, 16 Nov 2022 13:29:05 +0000 (14:29 +0100)] 
Merge pull request #12198 from omoerbeek/rec-processrecords-opt

rec: Correct skip record condition in processRecords

2 years agoAlso consider recursive forward in the "forwarded DS should not end up in negCache... 12199/head
Otto Moerbeek [Wed, 16 Nov 2022 12:58:04 +0000 (13:58 +0100)] 
Also consider recursive forward in the "forwarded DS should not end up in negCache code."

With @rgacogne and @phonedph1
Fixes #12189

2 years agoCorrect skip record condition in processRecords. 12198/head
Otto Moerbeek [Wed, 16 Nov 2022 12:49:59 +0000 (13:49 +0100)] 
Correct skip record condition in processRecords.

Noted the other day by @rgacogne

2 years agoMerge pull request #12194 from omoerbeek/address-typo
Otto Moerbeek [Tue, 15 Nov 2022 15:22:51 +0000 (16:22 +0100)] 
Merge pull request #12194 from omoerbeek/address-typo

Fix typo

2 years agoFix typo 12194/head
Otto Moerbeek [Tue, 15 Nov 2022 13:47:51 +0000 (14:47 +0100)] 
Fix typo

2 years agoMerge pull request #12114 from rgacogne/ddist-fix-warning-backoff-coeff
Remi Gacogne [Tue, 15 Nov 2022 13:01:18 +0000 (14:01 +0100)] 
Merge pull request #12114 from rgacogne/ddist-fix-warning-backoff-coeff

dnsdist: Fix 'comparison of integer expressions of different signedness' warning

2 years agodnsdist: Apply suggestion from Otto (unsigned -> double) 12114/head
Remi Gacogne [Tue, 15 Nov 2022 11:32:40 +0000 (12:32 +0100)] 
dnsdist: Apply suggestion from Otto (unsigned -> double)

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
2 years agoMerge pull request #12175 from omoerbeek/rec-getdsrecords-qm
Otto Moerbeek [Mon, 14 Nov 2022 13:58:19 +0000 (14:58 +0100)] 
Merge pull request #12175 from omoerbeek/rec-getdsrecords-qm

rec: Get DS records with QM switched on.

2 years agoFix test (from rgacogne) 12175/head
Otto Moerbeek [Mon, 14 Nov 2022 12:46:04 +0000 (13:46 +0100)] 
Fix test (from rgacogne)

Do this by merging https://github.com/PowerDNS/pdns/commit/994d2e09f088f2908a887e2539f8abbd1e36d003.diff

For some unknown reason (maybe the same reason rgacogne was not able to create a PR for this?)
a cherry pick did not work, so do a "manual" diff and patch of Remi's work.

2 years agoAvoid a race in wiping the cache and fix test_Bogus by explictly
Otto Moerbeek [Mon, 7 Nov 2022 13:24:19 +0000 (14:24 +0100)] 
Avoid a race in wiping the cache and fix test_Bogus by explictly
filling the aggressive cache.

2 years agoMerge pull request #12177 from rgacogne/ddist-fix-value-or-boost
Remi Gacogne [Thu, 10 Nov 2022 08:53:55 +0000 (09:53 +0100)] 
Merge pull request #12177 from rgacogne/ddist-fix-value-or-boost

dnsdist: Fix building with boost < 1.56

2 years agoMerge pull request #12157 from mind04/auth-list-zones
Peter van Dijk [Wed, 9 Nov 2022 09:21:26 +0000 (10:21 +0100)] 
Merge pull request #12157 from mind04/auth-list-zones

auth: fix pdns_control list-zones

2 years agodnsdist: Fix building with boost < 1.56 12177/head
Remi Gacogne [Tue, 8 Nov 2022 09:36:07 +0000 (10:36 +0100)] 
dnsdist: Fix building with boost < 1.56

boost::optional::value_or() has been introduced in 1.56
and we only require 1.53, so stop using it.

2 years agoMerge pull request #12174 from omoerbeek/rec-prep-4.8.0-beta2
Otto Moerbeek [Mon, 7 Nov 2022 12:44:34 +0000 (13:44 +0100)] 
Merge pull request #12174 from omoerbeek/rec-prep-4.8.0-beta2

rec: Prep for rec-4.8.0-beta2

2 years agoGet DS records with QM switched on.
Otto Moerbeek [Mon, 7 Nov 2022 08:03:51 +0000 (09:03 +0100)] 
Get DS records with QM switched on.

This avoid a.root-servers.net going Bogus, which can happen
if the .net NS are not cached and we miss the cut.

Fixes #12160 and avoids the need to prime the .net NS records explicitly.

2 years agoPrep for rec-4.8.0-beta2 12174/head
Otto Moerbeek [Fri, 4 Nov 2022 13:42:01 +0000 (14:42 +0100)] 
Prep for rec-4.8.0-beta2

2 years agoMerge pull request #12155 from omoerbeek/rec-snmp-rcodes
Otto Moerbeek [Thu, 3 Nov 2022 12:20:00 +0000 (13:20 +0100)] 
Merge pull request #12155 from omoerbeek/rec-snmp-rcodes

Rec: fix snmp rcodes OIDs

2 years agoTypo 12155/head
Otto Moerbeek [Thu, 3 Nov 2022 12:16:03 +0000 (13:16 +0100)] 
Typo

Co-authored-by: Charles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
2 years agoMerge pull request #12125 from omoerbeek/ixfr-timeout
Otto Moerbeek [Thu, 3 Nov 2022 09:50:56 +0000 (10:50 +0100)] 
Merge pull request #12125 from omoerbeek/ixfr-timeout

Timout handling for ixfrs as a client.

2 years agoBetter wording in comment 12125/head
Otto Moerbeek [Thu, 3 Nov 2022 08:50:12 +0000 (09:50 +0100)] 
Better wording in comment

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agoauth: fix pdns_control list-zones 12157/head
Kees Monshouwer [Wed, 2 Nov 2022 20:35:25 +0000 (21:35 +0100)] 
auth: fix pdns_control list-zones

2 years agoClarify Prometheus names
Otto Moerbeek [Wed, 2 Nov 2022 14:56:17 +0000 (15:56 +0100)] 
Clarify Prometheus names

2 years agoFix snmp OID numbers for rcode stats
Otto Moerbeek [Wed, 2 Nov 2022 14:44:46 +0000 (15:44 +0100)] 
Fix snmp OID numbers for rcode stats

2 years agoAdd dnsdist-17 for Ubuntu Jammy and EL-9 to repo test script (#12153)
aerique [Wed, 2 Nov 2022 13:42:10 +0000 (14:42 +0100)] 
Add dnsdist-17 for Ubuntu Jammy and EL-9 to repo test script (#12153)

* Add dnsdist-17 for EL9 and Ubuntu Jammy to repo test script.
* Fix issue with EPEL for EL9 in repo test script.

2 years agoMerge pull request #12149 from Habbie/dnsdist-1.7.3-docs
Peter van Dijk [Wed, 2 Nov 2022 11:38:43 +0000 (12:38 +0100)] 
Merge pull request #12149 from Habbie/dnsdist-1.7.3-docs

dnsdist-1.7.3: docs and secpoll

2 years agoMerge pull request #12122 from omoerbeek/trace-regex-qtype
Otto Moerbeek [Wed, 2 Nov 2022 09:20:31 +0000 (10:20 +0100)] 
Merge pull request #12122 from omoerbeek/trace-regex-qtype

rec: Implement output operator for QTypes.

2 years agodnsdist-1.7.3: docs and secpoll 12149/head
Peter van Dijk [Tue, 1 Nov 2022 21:51:48 +0000 (22:51 +0100)] 
dnsdist-1.7.3: docs and secpoll

2 years agoMerge pull request #12148 from Habbie/auth-4.7.2-docs
Peter van Dijk [Tue, 1 Nov 2022 13:14:13 +0000 (14:14 +0100)] 
Merge pull request #12148 from Habbie/auth-4.7.2-docs

auth-4.7.2: secpoll & docs

2 years agoauth-4.7.2: secpoll & docs 12148/head
Peter van Dijk [Tue, 1 Nov 2022 12:46:10 +0000 (13:46 +0100)] 
auth-4.7.2: secpoll & docs

2 years agoMerge pull request #12140 from omoerbeek/rec-auth-unauth-cache-replace-fix
Otto Moerbeek [Tue, 1 Nov 2022 12:40:10 +0000 (13:40 +0100)] 
Merge pull request #12140 from omoerbeek/rec-auth-unauth-cache-replace-fix

rec: QM can get confused by expiring infra records

2 years agotypo in comment 12140/head
Otto Moerbeek [Tue, 1 Nov 2022 11:38:54 +0000 (12:38 +0100)] 
typo in comment

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agoAdd test
Otto Moerbeek [Tue, 1 Nov 2022 11:06:32 +0000 (12:06 +0100)] 
Add test

2 years agoMerge pull request #12138 from Habbie/auth-4.7.1-docs
Peter van Dijk [Mon, 31 Oct 2022 14:53:07 +0000 (15:53 +0100)] 
Merge pull request #12138 from Habbie/auth-4.7.1-docs

auth-4.7.1: secpoll and docs

2 years agoRevert "upgrade to auth-4.7"
Peter van Dijk [Fri, 28 Oct 2022 14:02:52 +0000 (16:02 +0200)] 
Revert "upgrade to auth-4.7"

This reverts commit e71ce4c386e47adc64bfd5307e0d37b08bee4ffc.

2 years agoupgrade to auth-4.7
Peter van Dijk [Fri, 28 Oct 2022 14:01:01 +0000 (16:01 +0200)] 
upgrade to auth-4.7

2 years agoMerge pull request #12141 from PowerDNS/dispatch-upload
Peter van Dijk [Fri, 28 Oct 2022 12:29:37 +0000 (14:29 +0200)] 
Merge pull request #12141 from PowerDNS/dispatch-upload

github builds: upload to downloads.powerdns.com

2 years agogithub builds: upload to downloads.powerdns.com 12141/head
Peter van Dijk [Fri, 28 Oct 2022 07:53:05 +0000 (09:53 +0200)] 
github builds: upload to downloads.powerdns.com

2 years agoQM can get confused by expiring infra records, so be a bit more lenient
Otto Moerbeek [Fri, 28 Oct 2022 10:06:27 +0000 (12:06 +0200)] 
QM can get confused by expiring infra records, so be a bit more lenient
with replacing auth records by unauth, as unauth (typically infra
records) might come in while we are resolving.

Should fix #12078

2 years agoauth-4.7.1: secpoll and docs 12138/head
Peter van Dijk [Fri, 28 Oct 2022 08:10:17 +0000 (10:10 +0200)] 
auth-4.7.1: secpoll and docs

2 years agoTimout handling for ixfrs as a client.
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.

2 years agoPass an object as const ref 12122/head
Otto Moerbeek [Wed, 26 Oct 2022 05:56:47 +0000 (07:56 +0200)] 
Pass an object as const ref

Co-authored-by: Charles-Henri Bruyand <charleshenri.bruyand+github@gmail.com>
2 years agoMerge pull request #12120 from omoerbeek/rec-qm-avoid-loop
Otto Moerbeek [Wed, 26 Oct 2022 05:55:21 +0000 (07:55 +0200)] 
Merge pull request #12120 from omoerbeek/rec-qm-avoid-loop

rec: If we encounter a loop in QM, continue with the next iteration.

2 years agoMerge pull request #12130 from omoerbeek/auth-axfr-refresh-check
Otto Moerbeek [Tue, 25 Oct 2022 15:48:52 +0000 (17:48 +0200)] 
Merge pull request #12130 from omoerbeek/auth-axfr-refresh-check

Auth: xfr refresh check

2 years agoMerge pull request #12133 from omoerbeek/rec-fix-lockedcache-regress
Otto Moerbeek [Tue, 25 Oct 2022 15:14:10 +0000 (17:14 +0200)] 
Merge pull request #12133 from omoerbeek/rec-fix-lockedcache-regress

rec: Fix assertAlmostEqual call to compare absolute difference

2 years agoMerge pull request #12063 from omoerbeek/rec-protobuf-teardown
Otto Moerbeek [Tue, 25 Oct 2022 15:07:20 +0000 (17:07 +0200)] 
Merge pull request #12063 from omoerbeek/rec-protobuf-teardown

rec: Compare old and new config for protobuf logger config objects on Lua config reload

2 years agoUse > for frehsness test, to be consistent with the lmdb backend 12130/head
Otto Moerbeek [Tue, 25 Oct 2022 13:33:45 +0000 (15:33 +0200)] 
Use > for frehsness test, to be consistent with the lmdb backend

2 years agoMerge pull request #12132 from omoerbeek/auth-lua-test-sleep
Peter van Dijk [Tue, 25 Oct 2022 14:20:40 +0000 (16:20 +0200)] 
Merge pull request #12132 from omoerbeek/auth-lua-test-sleep

auth: take into account default urlcheck timeout is 2 seconds for Lua records tests

2 years agoFix assertAlmostEqual call to compare absolute difference 12133/head
Otto Moerbeek [Tue, 25 Oct 2022 14:15:07 +0000 (16:15 +0200)] 
Fix assertAlmostEqual call to compare absolute difference

2 years agoThis test assumes the health check timeout is 1 second, while it is 2 seconds by... 12132/head
Otto Moerbeek [Tue, 25 Oct 2022 13:36:31 +0000 (15:36 +0200)] 
This test assumes the health check timeout is 1 second, while it is 2 seconds by default.

Adapt tests to take that into account, which resolves the occasional failure as tested locally.

2 years agoMerge pull request #12131 from rgacogne/auth-consistent-geo-warning
Remi Gacogne [Tue, 25 Oct 2022 12:29:47 +0000 (14:29 +0200)] 
Merge pull request #12131 from rgacogne/auth-consistent-geo-warning

auth: Document that `consistent-backends` should not be used with scoped records

2 years agoauth: Document that `consistent-backends` should not be used with scoped records 12131/head
Remi Gacogne [Tue, 25 Oct 2022 12:23:04 +0000 (14:23 +0200)] 
auth: Document that `consistent-backends` should not be used with scoped records

2 years agoRemove (now) unneeded debug prints
Otto Moerbeek [Tue, 25 Oct 2022 11:49:40 +0000 (13:49 +0200)] 
Remove (now) unneeded debug prints

2 years agoFix freshness check for finding unfresh clients
Otto Moerbeek [Tue, 25 Oct 2022 11:48:58 +0000 (13:48 +0200)] 
Fix freshness check for finding unfresh clients

2 years agodnsdist: Better handling of lazy backoff overflow
Remi Gacogne [Tue, 25 Oct 2022 08:47:10 +0000 (10:47 +0200)] 
dnsdist: Better handling of lazy backoff overflow

2 years agoMerge pull request #12123 from mind04/pdns-no-reset
Peter van Dijk [Tue, 25 Oct 2022 07:15:48 +0000 (09:15 +0200)] 
Merge pull request #12123 from mind04/pdns-no-reset

auth: catalog zones, avoid bulk zone reset while migrating to a catalog and fix a bug

2 years agoMerge pull request #12064 from omoerbeek/no-more-itoa
Otto Moerbeek [Mon, 24 Oct 2022 12:28:25 +0000 (14:28 +0200)] 
Merge pull request #12064 from omoerbeek/no-more-itoa

Replace itoa() with std::to_string()

2 years agoauth: catalog zone, stop wasting options update queries 12123/head
Kees Monshouwer [Mon, 24 Oct 2022 10:38:47 +0000 (12:38 +0200)] 
auth: catalog zone, stop wasting options update queries

2 years agoauth: catalog zones, avoid bulk zone reset while migrating to a catalog
Kees Monshouwer [Mon, 24 Oct 2022 08:24:06 +0000 (10:24 +0200)] 
auth: catalog zones, avoid bulk zone reset while migrating to a catalog

2 years agoMerge pull request #12121 from omoerbeek/rec-cacheonly-trace
Otto Moerbeek [Mon, 24 Oct 2022 11:43:31 +0000 (13:43 +0200)] 
Merge pull request #12121 from omoerbeek/rec-cacheonly-trace

rec: More clear trace message for cache-only lookups.

2 years agoMerge pull request #12081 from rgacogne/rec-handle-invalid-netmask
Otto Moerbeek [Mon, 24 Oct 2022 09:57:25 +0000 (11:57 +0200)] 
Merge pull request #12081 from rgacogne/rec-handle-invalid-netmask

rec: Log invalid RPZ content when obtained via IXFR

2 years agoReplace itoa() with std::to_string() 12064/head
Otto Moerbeek [Wed, 5 Oct 2022 13:16:13 +0000 (15:16 +0200)] 
Replace itoa() with std::to_string()

2 years agoImplement output operator for QTypes.
Otto Moerbeek [Mon, 24 Oct 2022 09:48:17 +0000 (11:48 +0200)] 
Implement output operator for QTypes.

This fixes #12089

The theory says there should be no unwanted side effects, but I'd like
that to be validated independently.

2 years agorec: More clear trace message for cache-only lookups. 12121/head
Otto Moerbeek [Mon, 24 Oct 2022 09:17:27 +0000 (11:17 +0200)] 
rec: More clear trace message for cache-only lookups.

Fixes #12080

2 years agoIf we encounter a loop in QM, continue with the next iteration. 12120/head
Otto Moerbeek [Mon, 24 Oct 2022 08:59:49 +0000 (10:59 +0200)] 
If we encounter a loop in QM, continue with the next iteration.

We would not make progres anyway, and end up repeatedly asking the full name
from the roots as the "Trying less specific NS" code path is hit.

Noted by and fix from  @phonedph1

Fixes #12090

As this is an optimzation for broken domains, this is not an immediate candidate
for backporting, though it should be considered for that after more testing.

2 years agoMerge pull request #12117 from zeha/autoremovaltidy
Peter van Dijk [Sat, 22 Oct 2022 13:30:15 +0000 (15:30 +0200)] 
Merge pull request #12117 from zeha/autoremovaltidy

Tidy up build-scripts/check-debian-autoremovals.py

2 years agoTidy up build-scripts/check-debian-autoremovals.py 12117/head
Chris Hofstaedtler [Sat, 22 Oct 2022 13:17:01 +0000 (15:17 +0200)] 
Tidy up build-scripts/check-debian-autoremovals.py

Apply black; apply flake8 hints (with line-length 120).
Avoid printing message multiple times; split into function blocks.

2 years agoMerge pull request #12115 from Habbie/daily-debian-autoremovals
Peter van Dijk [Sat, 22 Oct 2022 10:20:55 +0000 (12:20 +0200)] 
Merge pull request #12115 from Habbie/daily-debian-autoremovals

daily job: check debian autoremovals

2 years agodaily job: check debian autoremovals 12115/head
Peter van Dijk [Fri, 21 Oct 2022 09:14:41 +0000 (11:14 +0200)] 
daily job: check debian autoremovals

2 years agodnsdist: Fix 'comparison of integer expressions of different signedness' warning
Remi Gacogne [Fri, 21 Oct 2022 09:30:30 +0000 (11:30 +0200)] 
dnsdist: Fix 'comparison of integer expressions of different signedness' warning

We are making sure that our computation will not overflow the maximum
value of a `time_t`, and we know that this maximum value is positive,
so we can use a `size_t` to do the comparison.

2 years agoMerge pull request #12101 from Habbie/el7-devtoolset-11
Peter van Dijk [Fri, 21 Oct 2022 08:42:19 +0000 (10:42 +0200)] 
Merge pull request #12101 from Habbie/el7-devtoolset-11

el7 builds: bump devtoolset version

2 years agoMerge pull request #12102 from Habbie/setup-dependabot
Peter van Dijk [Thu, 20 Oct 2022 21:14:48 +0000 (23:14 +0200)] 
Merge pull request #12102 from Habbie/setup-dependabot

Setup dependabot

2 years agoMerge pull request #12106 from Habbie/auth-4.7-eol
Peter van Dijk [Thu, 20 Oct 2022 21:07:52 +0000 (23:07 +0200)] 
Merge pull request #12106 from Habbie/auth-4.7-eol

auth: update EOL matrix with 4.7.0 release

2 years agoMerge pull request #12109 from Habbie/4.7-schema-files
Peter van Dijk [Thu, 20 Oct 2022 15:48:00 +0000 (17:48 +0200)] 
Merge pull request #12109 from Habbie/4.7-schema-files

auth: include auth 4.7 schema upgrade files in tarballs and packages

2 years agoauth upgrade notes: make 4.7 schema upgrade file name even more generic 12109/head
Peter van Dijk [Thu, 20 Oct 2022 13:02:20 +0000 (15:02 +0200)] 
auth upgrade notes: make 4.7 schema upgrade file name even more generic

2 years agoMerge pull request #12065 from rgacogne/ddist-dynamic-checks
Remi Gacogne [Thu, 20 Oct 2022 14:00:11 +0000 (16:00 +0200)] 
Merge pull request #12065 from rgacogne/ddist-dynamic-checks

dnsdist: Implement a 'lazy' health-checking mode

2 years agodnsdist: Prevent copies of the lazy health-check options 12065/head
Remi Gacogne [Thu, 20 Oct 2022 12:59:32 +0000 (14:59 +0200)] 
dnsdist: Prevent copies of the lazy health-check options

As suggested by Aki Tuomi (thanks!).

2 years agoinclude auth 4.7 schema upgrade files in tarballs and packages
Peter van Dijk [Thu, 20 Oct 2022 12:57:46 +0000 (14:57 +0200)] 
include auth 4.7 schema upgrade files in tarballs and packages

2 years agodnsdist: Fix lazy health-check related documentation issues
Remi Gacogne [Thu, 20 Oct 2022 12:27:39 +0000 (14:27 +0200)] 
dnsdist: Fix lazy health-check related documentation issues

2 years agodnsdist: Be more consistent in the naming if lazy health-check fields
Remi Gacogne [Thu, 20 Oct 2022 12:27:13 +0000 (14:27 +0200)] 
dnsdist: Be more consistent in the naming if lazy health-check fields

2 years agodnsdist: Update the backend discovery tests for the updated health-check options
Remi Gacogne [Tue, 18 Oct 2022 15:38:59 +0000 (17:38 +0200)] 
dnsdist: Update the backend discovery tests for the updated health-check options

2 years agodnsdist: Add an option to use the 'lazy' mode for auto-upgraded servers
Remi Gacogne [Tue, 18 Oct 2022 14:28:43 +0000 (16:28 +0200)] 
dnsdist: Add an option to use the 'lazy' mode for auto-upgraded servers

2 years agodnsdist: Properly handle the initial failure in 'lazy' mode
Remi Gacogne [Tue, 18 Oct 2022 13:46:19 +0000 (15:46 +0200)] 
dnsdist: Properly handle the initial failure in 'lazy' mode

2 years agodnsdist: Implement exponential back-off for the 'lazy' mode
Remi Gacogne [Fri, 7 Oct 2022 15:43:21 +0000 (17:43 +0200)] 
dnsdist: Implement exponential back-off for the 'lazy' mode

2 years agodnsdist: Add more comments in the health-check handling code
Remi Gacogne [Fri, 7 Oct 2022 08:32:39 +0000 (10:32 +0200)] 
dnsdist: Add more comments in the health-check handling code

2 years agodnsdist: Add regression tests for the 'lazy' health-check feature
Remi Gacogne [Thu, 6 Oct 2022 16:01:28 +0000 (18:01 +0200)] 
dnsdist: Add regression tests for the 'lazy' health-check feature

2 years agodnsdist: Add unit tests for the 'lazy health-check' feature
Remi Gacogne [Thu, 6 Oct 2022 14:19:06 +0000 (16:19 +0200)] 
dnsdist: Add unit tests for the 'lazy health-check' feature

Fixing a bug in the process, as one does.

2 years agodnsdist: Add proper bound checks for lazy health-check parameters
Remi Gacogne [Thu, 6 Oct 2022 08:48:58 +0000 (10:48 +0200)] 
dnsdist: Add proper bound checks for lazy health-check parameters

2 years agodnsdist: Implement a 'lazy' health-checking mode
Remi Gacogne [Tue, 4 Oct 2022 17:13:32 +0000 (19:13 +0200)] 
dnsdist: Implement a 'lazy' health-checking mode

The general idea is that, on some low-end devices, we want to avoid
sending health-check queries to the backend at a regular interval,
as this might represent an order of magnitude more queries than
regular traffic.
To do that we instead look at the amount of timeouts and Server Failure
errors occurring with regular queries, and only start doing active
health-checking if these errors reach a certain threshold, temporarily
placing the backend in a 'potential failure' state.
If the health-check queries succeed, we quickly go back to the previous
'Healthy' state and stop sending health-check queries. Otherwise we
place the backend in 'Failed' state and keep sending health-check queries
but a reduced rate, as long as the backend is failing.

2 years agoMerge pull request #12107 from mnordhoff/patch-13
Peter van Dijk [Thu, 20 Oct 2022 10:00:43 +0000 (12:00 +0200)] 
Merge pull request #12107 from mnordhoff/patch-13

docs: Clarify schema change filename

2 years agodocs: Clarify schema change filename 12107/head
Matt Nordhoff [Thu, 20 Oct 2022 09:20:06 +0000 (09:20 +0000)] 
docs: Clarify schema change filename

The Auth 4.7 upgrade note said every backend used `...schema.pgsql.sql`.

2 years agoauth: update EOL matrix and secpoll with 4.7.0 release 12106/head
Peter van Dijk [Thu, 20 Oct 2022 08:37:28 +0000 (10:37 +0200)] 
auth: update EOL matrix and secpoll with 4.7.0 release

2 years agoMerge pull request #12105 from Habbie/auth-4.7.0-docs
Peter van Dijk [Thu, 20 Oct 2022 08:27:04 +0000 (10:27 +0200)] 
Merge pull request #12105 from Habbie/auth-4.7.0-docs

auth-4.7-0: docs and secpoll

2 years agoMerge pull request #12103 from rgacogne/ddist-suppress-race-tcp-latency
Remi Gacogne [Thu, 20 Oct 2022 07:56:31 +0000 (09:56 +0200)] 
Merge pull request #12103 from rgacogne/ddist-suppress-race-tcp-latency

dnsdist: Suppress a TSAN report about a TCP latency-related race

2 years agoauth-4.7.0-rc1 changelog: add tags 12105/head
Peter van Dijk [Thu, 20 Oct 2022 07:45:48 +0000 (09:45 +0200)] 
auth-4.7.0-rc1 changelog: add tags

2 years agoauth-4.7.0: secpoll and docs
Peter van Dijk [Thu, 20 Oct 2022 07:45:40 +0000 (09:45 +0200)] 
auth-4.7.0: secpoll and docs

2 years agodnsdist: Suppress a TSAN report about a TCP latency-related race 12103/head
Remi Gacogne [Wed, 19 Oct 2022 20:23:01 +0000 (22:23 +0200)] 
dnsdist: Suppress a TSAN report about a TCP latency-related race

The race is real but we do not care much as this is only to provide
a rough metric.

2 years agobuild(deps): bump actions/checkout from 2.3.4 to 3.1.0 12102/head
dependabot[bot] [Wed, 19 Oct 2022 14:44:55 +0000 (14:44 +0000)] 
build(deps): bump actions/checkout from 2.3.4 to 3.1.0

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild(deps): bump actions/cache from 2 to 3.0.11
dependabot[bot] [Wed, 19 Oct 2022 14:28:05 +0000 (14:28 +0000)] 
build(deps): bump actions/cache from 2 to 3.0.11

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.11)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>