]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoauth: api, add create/delete consumer zone test 12285/head
Kees Monshouwer [Tue, 6 Dec 2022 17:34:09 +0000 (18:34 +0100)] 
auth: api, add create/delete consumer zone test

2 years agoauth: api, do not create SOA and NS records for consumer zones
Kees Monshouwer [Tue, 6 Dec 2022 17:29:16 +0000 (18:29 +0100)] 
auth: api, do not create SOA and NS records for consumer zones

2 years agoMerge pull request #12276 from rgacogne/ddist-less-wakeups
Remi Gacogne [Tue, 6 Dec 2022 15:51:00 +0000 (16:51 +0100)] 
Merge pull request #12276 from rgacogne/ddist-less-wakeups

dnsdist: Reduce useless wake-ups from the event loop

2 years agoMerge pull request #12278 from rgacogne/ddist-prevent-allocs
Remi Gacogne [Tue, 6 Dec 2022 15:50:41 +0000 (16:50 +0100)] 
Merge pull request #12278 from rgacogne/ddist-prevent-allocs

dnsdist: Small improvements

2 years agoMerge pull request #12279 from Habbie/auth-test-ordername
Peter van Dijk [Tue, 6 Dec 2022 15:16:20 +0000 (16:16 +0100)] 
Merge pull request #12279 from Habbie/auth-test-ordername

auth: add ordername testing

2 years agoadd ordername testing 12279/head
Peter van Dijk [Tue, 6 Dec 2022 14:40:51 +0000 (15:40 +0100)] 
add ordername testing

2 years agoMerge pull request #12275 from rgacogne/ddist-andor-modern
Remi Gacogne [Tue, 6 Dec 2022 14:25:15 +0000 (15:25 +0100)] 
Merge pull request #12275 from rgacogne/ddist-andor-modern

dnsdist: Refactor AndRule and OrRule to modern C++ loops

2 years agoMerge pull request #12218 from nneul/patch-1
Otto Moerbeek [Tue, 6 Dec 2022 12:11:31 +0000 (13:11 +0100)] 
Merge pull request #12218 from nneul/patch-1

rec: Document negation of netmasks in settings.rst

2 years agoMerge pull request #12277 from chbruyand/auth-ifurlup-byteslimit
Peter van Dijk [Tue, 6 Dec 2022 12:09:49 +0000 (13:09 +0100)] 
Merge pull request #12277 from chbruyand/auth-ifurlup-byteslimit

auth: add byteslimit support to lua ifurlup() function

2 years agodnsdist: Only allocate a ConnectionInfo object when actually needed 12278/head
Remi Gacogne [Thu, 10 Nov 2022 11:11:45 +0000 (12:11 +0100)] 
dnsdist: Only allocate a ConnectionInfo object when actually needed

2 years agoIntroduce a seperate parapraph explaining negation in netmask lists. 12218/head
Otto Moerbeek [Tue, 6 Dec 2022 11:23:08 +0000 (12:23 +0100)] 
Introduce a seperate parapraph explaining negation in netmask lists.

Also tell which settings allow negation.

2 years agoauth: add byteslimit support to lua ifurlup() function 12277/head
Charles-Henri Bruyand [Tue, 6 Dec 2022 11:20:26 +0000 (12:20 +0100)] 
auth: add byteslimit support to lua ifurlup() function

2 years agodnsdist: Prevent a copy when inserting a tag
Remi Gacogne [Fri, 18 Nov 2022 15:57:09 +0000 (16:57 +0100)] 
dnsdist: Prevent a copy when inserting a tag

2 years agoMerge pull request #12254 from rgacogne/restrict-github-token
Peter van Dijk [Tue, 6 Dec 2022 11:14:25 +0000 (12:14 +0100)] 
Merge pull request #12254 from rgacogne/restrict-github-token

Restrict permissions for GITHUB_TOKEN in our workflows

2 years agodnsdist: Keep the local copy of the downstream servers around
Remi Gacogne [Fri, 18 Nov 2022 15:56:47 +0000 (16:56 +0100)] 
dnsdist: Keep the local copy of the downstream servers around

2 years agodnsdist: Reduce useless wake-ups from the event loop 12276/head
Remi Gacogne [Fri, 18 Nov 2022 15:56:16 +0000 (16:56 +0100)] 
dnsdist: Reduce useless wake-ups from the event loop

The TCP acceptor, UDP client and Lua network threads never needs to break out of the event loop.
The outgoing DoH one only needs to do that once per second to check for timeouts.

2 years agodnsdist: Refactor AndRule and OrRule to modern C++ loops 12275/head
Remi Gacogne [Mon, 5 Dec 2022 15:22:03 +0000 (16:22 +0100)] 
dnsdist: Refactor AndRule and OrRule to modern C++ loops

2 years agoMerge pull request #12087 from zeha/apizonecreaterectify
Peter van Dijk [Tue, 6 Dec 2022 10:34:24 +0000 (11:34 +0100)] 
Merge pull request #12087 from zeha/apizonecreaterectify

API: Auth: fix newly created zone not rectified

2 years agoMerge pull request #12269 from frei-style/master
Peter van Dijk [Tue, 6 Dec 2022 10:22:06 +0000 (11:22 +0100)] 
Merge pull request #12269 from frei-style/master

auth: fix invalid catalog zone sql query for gpgsqlbackend

2 years agoauth: fix invalid catalog zone sql query for gpgsqlbackend 12269/head
Manuel Frei [Tue, 6 Dec 2022 00:34:37 +0000 (01:34 +0100)] 
auth: fix invalid catalog zone sql query for gpgsqlbackend

2 years agoMerge pull request #12265 from Habbie/alsonotifies
Peter van Dijk [Mon, 5 Dec 2022 14:02:16 +0000 (15:02 +0100)] 
Merge pull request #12265 from Habbie/alsonotifies

auth: move alsoNotifies up into DNSBackend

2 years agoauth: move alsoNotifies up into DNSBackend, fixes #12256 12265/head
Peter van Dijk [Mon, 5 Dec 2022 13:01:15 +0000 (14:01 +0100)] 
auth: move alsoNotifies up into DNSBackend, fixes #12256

2 years agoMerge pull request #12257 from Habbie/auth-api-backend-refused
Peter van Dijk [Mon, 5 Dec 2022 09:21:32 +0000 (10:21 +0100)] 
Merge pull request #12257 from Habbie/auth-api-backend-refused

auth API: slightly clearer message when a backend cannot create domains

2 years agoauth API: slightly clearer message when a backend cannot create domains 12257/head
Peter van Dijk [Thu, 1 Dec 2022 18:51:40 +0000 (19:51 +0100)] 
auth API: slightly clearer message when a backend cannot create domains

2 years agoMerge pull request #12255 from rgacogne/ddist-doc-counters-typo
Remi Gacogne [Thu, 1 Dec 2022 14:17:57 +0000 (15:17 +0100)] 
Merge pull request #12255 from rgacogne/ddist-doc-counters-typo

dnsdist: Fix a typo in the counters documentation

2 years agodnsdist: Fix a typo in the counters documentation 12255/head
Remi Gacogne [Thu, 1 Dec 2022 13:42:34 +0000 (14:42 +0100)] 
dnsdist: Fix a typo in the counters documentation

2 years agoRestrict permissions for GITHUB_TOKEN in our workflows 12254/head
Remi Gacogne [Thu, 1 Dec 2022 13:34:19 +0000 (14:34 +0100)] 
Restrict permissions for GITHUB_TOKEN in our workflows

Added using https://github.com/step-security/secure-workflows
For more information see:
- https://github.com/ossf/scorecard/blob/d8fefc9b246db3600c777e9d60d441d7c386ce1d/docs/checks.md#token-permissions
- https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/

2 years agoMerge pull request #11020 from MiniPierre/xdp-logging
Remi Gacogne [Thu, 1 Dec 2022 13:05:26 +0000 (14:05 +0100)] 
Merge pull request #11020 from MiniPierre/xdp-logging

dnsdist: Added XDP middleware for dropped/redirected queries logging

2 years agoMerge pull request #12252 from omoerbeek/auth-docs-recordtypes
Peter van Dijk [Thu, 1 Dec 2022 09:20:02 +0000 (10:20 +0100)] 
Merge pull request #12252 from omoerbeek/auth-docs-recordtypes

auth: Update supported recordtypes: remove A6 MAILA MAILB SIG and WKS, add ZONEMD

2 years agodnsdist: fixed XDP filter indentation 11020/head
Pierre Grié [Wed, 24 Nov 2021 13:15:50 +0000 (14:15 +0100)] 
dnsdist: fixed XDP filter indentation

2 years agodnsdist: Added XDP middleware for dropped/redirected queries logging
Pierre Grié [Mon, 22 Nov 2021 16:56:12 +0000 (17:56 +0100)] 
dnsdist: Added XDP middleware for dropped/redirected queries logging

2 years agoMerge pull request #11863 from darnuria/dnsname/usememchr_check_length
Otto Moerbeek [Wed, 30 Nov 2022 15:02:55 +0000 (16:02 +0100)] 
Merge pull request #11863 from darnuria/dnsname/usememchr_check_length

DNSName constructor use memchr instead of strchr and cleanup with string_view

2 years agoDrop ref from string_view arg 11863/head
Otto Moerbeek [Wed, 30 Nov 2022 14:12:28 +0000 (15:12 +0100)] 
Drop ref from string_view arg

2 years agoUse '\0' for (char) 0 and ref for string_view argument
Otto Moerbeek [Wed, 30 Nov 2022 13:26:18 +0000 (14:26 +0100)] 
Use '\0' for (char) 0 and ref for string_view argument

2 years agofixup: Optionnal removal of plen.
Axel Viala [Mon, 22 Aug 2022 11:46:54 +0000 (13:46 +0200)] 
fixup: Optionnal removal of plen.

2 years agoWIP: Clean-up DNSName constructor unify with string_view.
Axel Viala [Mon, 22 Aug 2022 10:17:16 +0000 (12:17 +0200)] 
WIP: Clean-up DNSName constructor unify with string_view.

2 years agofixup: Apply @omoerbeek suggestion
Axel Viala [Mon, 22 Aug 2022 10:24:43 +0000 (12:24 +0200)] 
fixup: Apply @omoerbeek suggestion

2 years agoDNSName constructor use memchr instead of strchr.
Axel Viala [Thu, 18 Aug 2022 10:31:04 +0000 (12:31 +0200)] 
DNSName constructor use memchr instead of strchr.

Also check length before dereferencing.
Rational for this change:

- Why using strchr if we have a length?
- Accepting char * p that doesn't contains `\0`.

2 years agoMerge pull request #11594 from ClaudioRifo/patch-1
Otto Moerbeek [Wed, 30 Nov 2022 10:32:16 +0000 (11:32 +0100)] 
Merge pull request #11594 from ClaudioRifo/patch-1

Update statistics.rst

2 years agoUpdate supported recordtypes: remove A6 MAILA MAILB SIG and WKS, add ZONEMD 12252/head
Otto Moerbeek [Wed, 30 Nov 2022 10:08:11 +0000 (11:08 +0100)] 
Update supported recordtypes: remove A6 MAILA MAILB SIG and WKS, add ZONEMD

Fixes #11468

2 years agobetter word 11594/head
Otto Moerbeek [Wed, 30 Nov 2022 09:52:34 +0000 (10:52 +0100)] 
better word

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoRefer to Linux docs and RFC instead of documenting these ourselves.
Otto Moerbeek [Wed, 30 Nov 2022 08:57:08 +0000 (09:57 +0100)] 
Refer to Linux docs and RFC instead of documenting these ourselves.

2 years agoUpdate statistics.rst
ClaudioRifo [Fri, 29 Apr 2022 22:18:17 +0000 (18:18 -0400)] 
Update statistics.rst

Notes that help understand some UDP counters.
Note that help understand that counters from /proc/net/ are global and O.S. related.

2 years agoMerge pull request #11951 from Habbie/Werror
Otto Moerbeek [Wed, 30 Nov 2022 08:37:51 +0000 (09:37 +0100)] 
Merge pull request #11951 from Habbie/Werror

make builds pass with -Werror on _my_ system

2 years agoMerge pull request #11346 from omoerbeek/pdnsutil-no-colors
Otto Moerbeek [Mon, 28 Nov 2022 18:50:48 +0000 (19:50 +0100)] 
Merge pull request #11346 from omoerbeek/pdnsutil-no-colors

auth: Basic abstraction for handling colored terminal output, respecting isatty(), --no-colors and NO_COLOR

2 years agoBasic abstraction for handling colored terminal output, respecting isatty(), --no... 11346/head
Otto Moerbeek [Sat, 19 Feb 2022 18:28:13 +0000 (19:28 +0100)] 
Basic abstraction for handling colored terminal output, respecting isatty(), --no-colors and NO_COLOR

2 years agoMerge pull request #9709 from rgacogne/fuzz-yahttp
Remi Gacogne [Mon, 28 Nov 2022 15:15:47 +0000 (16:15 +0100)] 
Merge pull request #9709 from rgacogne/fuzz-yahttp

Add a simple fuzzing target for YaHTTP

2 years agoMerge pull request #12244 from rgacogne/typos
Remi Gacogne [Mon, 28 Nov 2022 15:13:59 +0000 (16:13 +0100)] 
Merge pull request #12244 from rgacogne/typos

Fix a typo in the recursor's ChangeLog, allow 'builddeb'

2 years agospellcheck: Allow 'builddeb' 12244/head
Remi Gacogne [Mon, 28 Nov 2022 14:28:40 +0000 (15:28 +0100)] 
spellcheck: Allow 'builddeb'

2 years agorec: Fix a typo (Timout->Timeout) in the recursor's ChangeLog
Remi Gacogne [Mon, 28 Nov 2022 14:28:11 +0000 (15:28 +0100)] 
rec: Fix a typo (Timout->Timeout) in the recursor's ChangeLog

2 years agoAdd a fuzzing target for YaHTTP 9709/head
Remi Gacogne [Thu, 12 Nov 2020 08:01:23 +0000 (09:01 +0100)] 
Add a fuzzing target for YaHTTP

2 years agoMerge pull request #11329 from Kian0815/doc-remove-kees-monshouer
Peter van Dijk [Mon, 28 Nov 2022 12:58:18 +0000 (13:58 +0100)] 
Merge pull request #11329 from Kian0815/doc-remove-kees-monshouer

Update installation.rst

2 years agoMerge pull request #12243 from omoerbeek/rpz-axfr-docs
Otto Moerbeek [Mon, 28 Nov 2022 12:28:22 +0000 (13:28 +0100)] 
Merge pull request #12243 from omoerbeek/rpz-axfr-docs

rec: Mention timeout also aplies to IXFRs

2 years agofix typo 11329/head
Peter van Dijk [Mon, 28 Nov 2022 12:25:58 +0000 (13:25 +0100)] 
fix typo

2 years agoMerge pull request #11417 from nils-wisiol/benchmark-2048bit
Otto Moerbeek [Mon, 28 Nov 2022 12:15:42 +0000 (13:15 +0100)] 
Merge pull request #11417 from nils-wisiol/benchmark-2048bit

Use RSA-2048 instead of RSA-1024 for crypto benchmark

2 years agoMention timeout also aplies to IXFRs 12243/head
Otto Moerbeek [Mon, 28 Nov 2022 11:50:42 +0000 (12:50 +0100)] 
Mention timeout also aplies to IXFRs

2 years agoMerge pull request #12210 from rgacogne/auth-remotebackend-tests-failures
Otto Moerbeek [Mon, 28 Nov 2022 11:07:30 +0000 (12:07 +0100)] 
Merge pull request #12210 from rgacogne/auth-remotebackend-tests-failures

auth: Better error handling in the remote backend tests

2 years agoMerge pull request #11966 from darnuria/clang-tidy/empty
Otto Moerbeek [Mon, 28 Nov 2022 10:58:57 +0000 (11:58 +0100)] 
Merge pull request #11966 from darnuria/clang-tidy/empty

[clang-tidy] pdns_utils use empty where possible + move decl to assignation site.

2 years agoMerge pull request #11910 from darnuria/clang-tidy/get-line
Otto Moerbeek [Mon, 28 Nov 2022 10:52:34 +0000 (11:52 +0100)] 
Merge pull request #11910 from darnuria/clang-tidy/get-line

[clang-tidy]: DynListener::getLine.

2 years agoMerge pull request #11968 from darnuria/clang-tidy/nullptr/pdns-utils
Otto Moerbeek [Mon, 28 Nov 2022 10:50:11 +0000 (11:50 +0100)] 
Merge pull request #11968 from darnuria/clang-tidy/nullptr/pdns-utils

[clang-tidy] Use nullptr explicitly and initialize directly.

2 years agoMerge pull request #12059 from darnuria/clang-tidy/geoipbackend
Otto Moerbeek [Mon, 28 Nov 2022 10:49:21 +0000 (11:49 +0100)] 
Merge pull request #12059 from darnuria/clang-tidy/geoipbackend

Clang tidy/geoipbackend

2 years agoMerge pull request #12060 from darnuria/clang-tidy/bindbackend
Otto Moerbeek [Mon, 28 Nov 2022 10:43:01 +0000 (11:43 +0100)] 
Merge pull request #12060 from darnuria/clang-tidy/bindbackend

Clang tidy/bindbackend

2 years agoMerge pull request #11505 from jroessler-ox/docs-auth-api-examples
Remi Gacogne [Mon, 28 Nov 2022 09:24:38 +0000 (10:24 +0100)] 
Merge pull request #11505 from jroessler-ox/docs-auth-api-examples

updates to API documentation of Auth

2 years agoMerge pull request #12095 from darnuria/array1
Remi Gacogne [Mon, 28 Nov 2022 09:14:47 +0000 (10:14 +0100)] 
Merge pull request #12095 from darnuria/array1

[clang-tidy:array] in dns.cc/hh std::array instead of c array.

2 years agoMerge pull request #12180 from humphd/docker-compose-doc-update
Remi Gacogne [Mon, 28 Nov 2022 09:12:10 +0000 (10:12 +0100)] 
Merge pull request #12180 from humphd/docker-compose-doc-update

Update Docker README to mention dependency on git submodule

2 years agoMerge pull request #12235 from Habbie/sphinxcontrib-openapi-py3.10
Peter van Dijk [Fri, 25 Nov 2022 15:40:41 +0000 (16:40 +0100)] 
Merge pull request #12235 from Habbie/sphinxcontrib-openapi-py3.10

auth docs build, bump sphinxcontrib-openapi to a version compatible with Python 3.10

2 years agoauth docs build, bump sphinxcontrib-openapi to a version compatible with Python 3.10 12235/head
Peter van Dijk [Fri, 25 Nov 2022 14:45:30 +0000 (15:45 +0100)] 
auth docs build, bump sphinxcontrib-openapi to a version compatible with Python 3.10

fixes #12204

2 years agoMerge pull request #12233 from omoerbeek/rec-prep-4.5.12-4.6.5-4.7.4
Otto Moerbeek [Fri, 25 Nov 2022 12:58:49 +0000 (13:58 +0100)] 
Merge pull request #12233 from omoerbeek/rec-prep-4.5.12-4.6.5-4.7.4

Prep for rec-4.5.12 rec-4.6.5 rec-4.7.4

2 years agoPrep for rec-4.5.12 rec-4.6.5 rec-4.7.4 12233/head
Otto Moerbeek [Wed, 23 Nov 2022 11:14:30 +0000 (12:14 +0100)] 
Prep for rec-4.5.12 rec-4.6.5 rec-4.7.4

2 years agoMerge pull request #12214 from omoerbeek/dnsdist-regresss-speedup
Otto Moerbeek [Tue, 22 Nov 2022 12:57:57 +0000 (13:57 +0100)] 
Merge pull request #12214 from omoerbeek/dnsdist-regresss-speedup

dnsdist: regress speedup

2 years agoMerge pull request #12152 from omoerbeek/rec-macos-asan-testrunner
Otto Moerbeek [Tue, 22 Nov 2022 12:22:23 +0000 (13:22 +0100)] 
Merge pull request #12152 from omoerbeek/rec-macos-asan-testrunner

rec: Disable test_MtaskerException on Apple Silicon if asan is enabled.

2 years agoMerge pull request #12195 from rgacogne/ddist-lazy-logs
Remi Gacogne [Tue, 22 Nov 2022 12:21:10 +0000 (13:21 +0100)] 
Merge pull request #12195 from rgacogne/ddist-lazy-logs

dnsdist: Fix duplicated first delay in lazy mode, add more log messages

2 years agoMerge pull request #12220 from rgacogne/rgacogne-patch-1
Remi Gacogne [Tue, 22 Nov 2022 09:32:38 +0000 (10:32 +0100)] 
Merge pull request #12220 from rgacogne/rgacogne-patch-1

dnsdist: Fix typo in the doc for setUDPSocketBufferSizes

2 years agodnsdist: Fix typo in the doc for setUDPSocketBufferSizes 12220/head
Remi Gacogne [Tue, 22 Nov 2022 08:54:42 +0000 (09:54 +0100)] 
dnsdist: Fix typo in the doc for setUDPSocketBufferSizes

2 years agoMerge pull request #12219 from omoerbeek/rec-refresh-vs-infra
Otto Moerbeek [Tue, 22 Nov 2022 07:38:29 +0000 (08:38 +0100)] 
Merge pull request #12219 from omoerbeek/rec-refresh-vs-infra

rec: Infra queries should not use refresh mode.

2 years agoValue in test_Carbon can also be float 12214/head
Otto Moerbeek [Mon, 21 Nov 2022 19:34:29 +0000 (20:34 +0100)] 
Value in test_Carbon can also be float

2 years agoSome tests need a bit of extra delay.
Otto Moerbeek [Mon, 21 Nov 2022 08:05:08 +0000 (09:05 +0100)] 
Some tests need a bit of extra delay.

2 years agoInfra queries should not use refresh mode. 12219/head
Otto Moerbeek [Mon, 21 Nov 2022 10:38:54 +0000 (11:38 +0100)] 
Infra queries should not use refresh mode.

When I introduced serve state in #11776, I reintroduced the mistake previously fixed in #11376.
Fixes #12078

2 years agoUpdate settings.rst
Nathan Neulinger [Sun, 20 Nov 2022 23:16:46 +0000 (17:16 -0600)] 
Update settings.rst

Add an example for negating dont-query

2 years agoSmarter startup delay: wait for listen port to come alive
Otto Moerbeek [Fri, 18 Nov 2022 10:14:53 +0000 (11:14 +0100)] 
Smarter startup delay: wait for listen port to come alive

2 years agoMerge pull request #12206 from tacerus/rpm-systemd
Peter van Dijk [Fri, 18 Nov 2022 11:07:44 +0000 (12:07 +0100)] 
Merge pull request #12206 from tacerus/rpm-systemd

Clear systemd-units dependency

2 years agodnsdist: Test the exponential back-off delays 12195/head
Remi Gacogne [Fri, 18 Nov 2022 11:03:02 +0000 (12:03 +0100)] 
dnsdist: Test the exponential back-off delays

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 agoUse smart&fast killProcess from recursor regresssion test
Otto Moerbeek [Fri, 18 Nov 2022 09:38:48 +0000 (10:38 +0100)] 
Use smart&fast killProcess from recursor regresssion test

2 years agoMerge pull request #12209 from omoerbeek/rec-prep-4.8.0-rc1
Otto Moerbeek [Fri, 18 Nov 2022 09:37:55 +0000 (10:37 +0100)] 
Merge pull request #12209 from omoerbeek/rec-prep-4.8.0-rc1

Prep for rec-4.8.0-rc1

2 years agoauth: Better error handling in the remote backend tests 12210/head
Remi Gacogne [Fri, 18 Nov 2022 09:04:30 +0000 (10:04 +0100)] 
auth: Better error handling in the remote backend tests

2 years agoPrep for rec-4.8.0-rc1 12209/head
Otto Moerbeek [Fri, 18 Nov 2022 08:15:49 +0000 (09:15 +0100)] 
Prep for rec-4.8.0-rc1

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 agodnsdist: Fix duplicated first delay in lazy mode, add more log messages
Remi Gacogne [Tue, 15 Nov 2022 15:34:04 +0000 (16:34 +0100)] 
dnsdist: Fix duplicated first delay in lazy mode, add more log messages

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