]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
21 months agoFormat ssql and ssqlite3
Fred Morcos [Mon, 27 Nov 2023 13:20:51 +0000 (14:20 +0100)] 
Format ssql and ssqlite3

21 months agoMerge pull request #12908 from wwijkander/master
Remi Gacogne [Mon, 27 Nov 2023 16:01:54 +0000 (17:01 +0100)] 
Merge pull request #12908 from wwijkander/master

Add note to pdnsutil manpage on how to remove zone from catalog zone

21 months agobuild(deps): bump actions/checkout from 3 to 4 13539/head
dependabot[bot] [Mon, 27 Nov 2023 15:34:52 +0000 (15:34 +0000)] 
build(deps): bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
21 months agoMerge pull request #13535 from fredmorcos/cleanup-libssl-ifdef
Fred Morcos [Fri, 24 Nov 2023 19:13:24 +0000 (20:13 +0100)] 
Merge pull request #13535 from fredmorcos/cleanup-libssl-ifdef

Cleanup a `libssl.cc` #ifdef

21 months agodnsdist: Explain to clang-tidy that resizing a moved vector is fine 13536/head
Remi Gacogne [Fri, 24 Nov 2023 15:16:52 +0000 (16:16 +0100)] 
dnsdist: Explain to clang-tidy that resizing a moved vector is fine

21 months agodnsdist: Don't set `AI_V4MAPPED`, as spotted by Otto (thanks!)
Remi Gacogne [Fri, 17 Nov 2023 15:10:37 +0000 (16:10 +0100)] 
dnsdist: Don't set `AI_V4MAPPED`, as spotted by Otto (thanks!)

21 months agodnsdist: Fix clang-tidy warnings
Remi Gacogne [Fri, 17 Nov 2023 14:10:57 +0000 (15:10 +0100)] 
dnsdist: Fix clang-tidy warnings

21 months agodnsdist: Add a missing word spotted by Habbie in the documentation
Remi Gacogne [Fri, 17 Nov 2023 14:10:16 +0000 (15:10 +0100)] 
dnsdist: Add a missing word spotted by Habbie in the documentation

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
21 months agodnsdist: Add `getAddressInfo()` for asynchronous DNS resolution
Remi Gacogne [Fri, 17 Nov 2023 09:42:29 +0000 (10:42 +0100)] 
dnsdist: Add `getAddressInfo()` for asynchronous DNS resolution

21 months agodnsdist: Detect and dismiss truncated UDP responses from a backend
Remi Gacogne [Fri, 24 Nov 2023 14:30:09 +0000 (15:30 +0100)] 
dnsdist: Detect and dismiss truncated UDP responses from a backend

Until now we would not have detected if the response was larger than
our buffer (4096 bytes or larger in some cases), which could have
led to parsing errors or even forwarding a corrupted response.

21 months agoCleanup libssl.cc #ifdef 13535/head
Fred Morcos [Mon, 6 Nov 2023 09:17:51 +0000 (10:17 +0100)] 
Cleanup libssl.cc #ifdef

21 months agoMerge pull request #13156 from rgacogne/ddist-log-level
Remi Gacogne [Fri, 24 Nov 2023 10:24:50 +0000 (11:24 +0100)] 
Merge pull request #13156 from rgacogne/ddist-log-level

dnsdist: Add a structured log-like logging option

21 months agoSometimes, coverity and clang-tidy do not agree
Otto Moerbeek [Fri, 24 Nov 2023 10:20:19 +0000 (11:20 +0100)] 
Sometimes, coverity and clang-tidy do not agree

21 months agoMerge pull request #13453 from omoerbeek/rec-yaml-transition-docs
Otto Moerbeek [Fri, 24 Nov 2023 10:02:13 +0000 (11:02 +0100)] 
Merge pull request #13453 from omoerbeek/rec-yaml-transition-docs

rec: describe the YAML transition plan in three phases

21 months agoAdd a ref to the new style docs in the old-style docs 13453/head
Otto Moerbeek [Fri, 24 Nov 2023 10:00:26 +0000 (11:00 +0100)] 
Add a ref to the new style docs in the old-style docs

21 months agotcpreceiver: Better handling of "clock moved backward" events
Remi Gacogne [Fri, 24 Nov 2023 09:57:37 +0000 (10:57 +0100)] 
tcpreceiver: Better handling of "clock moved backward" events

21 months agoMerge pull request #13434 from omoerbeek/rec-tidy-syncres
Otto Moerbeek [Fri, 24 Nov 2023 09:52:47 +0000 (10:52 +0100)] 
Merge pull request #13434 from omoerbeek/rec-tidy-syncres

rec: tidy syncres

21 months agosyncres.cc:5161:45: error: declaration of ‘DoTStatus& status’ shadows a parameter... 13434/head
Otto Moerbeek [Fri, 24 Nov 2023 09:06:32 +0000 (10:06 +0100)] 
syncres.cc:5161:45: error: declaration of ‘DoTStatus& status’ shadows a parameter [-Werror=shadow]

21 months agodnsdist: Document that the `responses` metric changed in 1.8 13533/head
Remi Gacogne [Fri, 24 Nov 2023 08:52:03 +0000 (09:52 +0100)] 
dnsdist: Document that the `responses` metric changed in 1.8

21 months agoProcess suggestions from reviews: rename a few vars
Otto Moerbeek [Fri, 24 Nov 2023 08:21:03 +0000 (09:21 +0100)] 
Process suggestions from reviews: rename a few vars

21 months agoRefactor to fix a few clang-tiny readability-function-cognitive-complexity cases
Otto Moerbeek [Mon, 30 Oct 2023 14:28:35 +0000 (15:28 +0100)] 
Refactor to fix a few clang-tiny readability-function-cognitive-complexity cases

21 months agoReformat
Otto Moerbeek [Mon, 30 Oct 2023 09:27:57 +0000 (10:27 +0100)] 
Reformat

21 months agoTidy syncres.??
Otto Moerbeek [Wed, 25 Oct 2023 14:04:19 +0000 (16:04 +0200)] 
Tidy syncres.??

21 months agoMerge pull request #13528 from fredmorcos/various-cleanups-and-fixes
Peter van Dijk [Thu, 23 Nov 2023 20:56:42 +0000 (21:56 +0100)] 
Merge pull request #13528 from fredmorcos/various-cleanups-and-fixes

Various cleanups and fixes

21 months agocalidns: Fix lints in sendmsg call 13528/head
Fred Morcos [Thu, 23 Nov 2023 18:39:01 +0000 (19:39 +0100)] 
calidns: Fix lints in sendmsg call

21 months agoclarify that the mssql password is not a secret 13529/head
Peter van Dijk [Thu, 23 Nov 2023 12:55:13 +0000 (13:55 +0100)] 
clarify that the mssql password is not a secret

21 months agoWhitespace cleanup in tests
Fred Morcos [Thu, 23 Nov 2023 09:55:35 +0000 (10:55 +0100)] 
Whitespace cleanup in tests

21 months agoFix test warnings regarding boost dynamic linking define
Fred Morcos [Thu, 23 Nov 2023 09:54:19 +0000 (10:54 +0100)] 
Fix test warnings regarding boost dynamic linking define

Meson passes BOOST_TEST_DYN_LINK through the command line so there's no need to re-define
it in each test file. Otherwise the compiler warns about the redefinition.

warning: "BOOST_TEST_DYN_LINK" redefined
    1 | #define BOOST_TEST_DYN_LINK
      |
<command-line>: note: this is the location of the previous definition

21 months agoSilence deprecated copy ctor warnings when including decaf.hxx
Fred Morcos [Mon, 20 Nov 2023 15:29:28 +0000 (16:29 +0100)] 
Silence deprecated copy ctor warnings when including decaf.hxx

21 months agoFix warning silencer pragmas
Fred Morcos [Mon, 20 Nov 2023 15:28:13 +0000 (16:28 +0100)] 
Fix warning silencer pragmas

21 months agoWhitespace cleanup
Fred Morcos [Mon, 20 Nov 2023 15:28:06 +0000 (16:28 +0100)] 
Whitespace cleanup

21 months agoSilence -Wshadow warnings when including spongerng
Fred Morcos [Fri, 17 Nov 2023 13:45:57 +0000 (14:45 +0100)] 
Silence -Wshadow warnings when including spongerng

21 months agoCleanup dnsscope.cc #ifdef
Fred Morcos [Fri, 17 Nov 2023 11:54:50 +0000 (12:54 +0100)] 
Cleanup dnsscope.cc #ifdef

21 months agoSilence overloaded-virtual warnings when including yahttp
Fred Morcos [Fri, 17 Nov 2023 11:54:27 +0000 (12:54 +0100)] 
Silence overloaded-virtual warnings when including yahttp

21 months agoCleanup calidns.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:18:16 +0000 (10:18 +0100)] 
Cleanup calidns.cc #ifdef

21 months agoCleanup calidns.cc whitespace
Fred Morcos [Mon, 6 Nov 2023 09:18:08 +0000 (10:18 +0100)] 
Cleanup calidns.cc whitespace

21 months agoCleanup libssl.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:17:51 +0000 (10:17 +0100)] 
Cleanup libssl.cc #ifdef

21 months agoCleanup tcpiohandler.cc #ifdef
Fred Morcos [Mon, 6 Nov 2023 09:17:36 +0000 (10:17 +0100)] 
Cleanup tcpiohandler.cc #ifdef

21 months agobuild-and-test-all: Restrict Coveralls code coverage to the main repo
Remi Gacogne [Thu, 23 Nov 2023 09:04:51 +0000 (10:04 +0100)] 
build-and-test-all: Restrict Coveralls code coverage to the main repo

We are not interested in the coverage of forks, and it is confusing
since relative coverage for forks does not really make sense.

21 months agoMerge pull request #13525 from rgacogne/test-ci
Remi Gacogne [Wed, 22 Nov 2023 14:45:07 +0000 (15:45 +0100)] 
Merge pull request #13525 from rgacogne/test-ci

build-and-test-all: Fix the CI on non-pdns named forks

21 months agobuild-and-test-all: Fix the CI on non-pdns/ named forks 13525/head
Remi Gacogne [Tue, 21 Nov 2023 17:00:57 +0000 (18:00 +0100)] 
build-and-test-all: Fix the CI on non-pdns/ named forks

21 months agodnsdist: Capitalize the priority value in log messages 13156/head
Remi Gacogne [Tue, 21 Nov 2023 16:18:09 +0000 (17:18 +0100)] 
dnsdist: Capitalize the priority value in log messages

21 months agodnsdist: Be careful about `tv_usec`, it might be an `int32_t`
Remi Gacogne [Tue, 21 Nov 2023 16:17:22 +0000 (17:17 +0100)] 
dnsdist: Be careful about `tv_usec`, it might be an `int32_t`

21 months agodnsdist: Use 'ts', not 'tm', for the timestamp in structured-like log messages
Remi Gacogne [Tue, 21 Nov 2023 16:16:53 +0000 (17:16 +0100)] 
dnsdist: Use 'ts', not 'tm', for the timestamp in structured-like log messages

21 months agodnsdist: Add a structured log-like logging option
Remi Gacogne [Fri, 18 Aug 2023 12:51:53 +0000 (14:51 +0200)] 
dnsdist: Add a structured log-like logging option

21 months agodnsdist: Delint dolog.hh
Remi Gacogne [Fri, 18 Aug 2023 12:24:35 +0000 (14:24 +0200)] 
dnsdist: Delint dolog.hh

21 months agoMerge pull request #13524 from rgacogne/ddist-fix-doq-without-dot-or-doh
Remi Gacogne [Tue, 21 Nov 2023 14:53:50 +0000 (15:53 +0100)] 
Merge pull request #13524 from rgacogne/ddist-fix-doq-without-dot-or-doh

dnsdist: Fix building with DoQ but without DoH or DoT

21 months agodnsdist: Fix building with DoQ but without DoH or DoT 13524/head
Remi Gacogne [Tue, 21 Nov 2023 13:59:22 +0000 (14:59 +0100)] 
dnsdist: Fix building with DoQ but without DoH or DoT

Reported by Oto Šťáva on the mailing-list, thanks!

21 months agoMerge pull request #13520 from rgacogne/ddist-backoff
Remi Gacogne [Tue, 21 Nov 2023 10:18:02 +0000 (11:18 +0100)] 
Merge pull request #13520 from rgacogne/ddist-backoff

dnsdist: Refactor the exponential back-off timer code

21 months agoauth: Fix 'auto causes a copy'/'copy instead of move' warnings from Coverity
Remi Gacogne [Tue, 21 Nov 2023 10:10:35 +0000 (11:10 +0100)] 
auth: Fix 'auto causes a copy'/'copy instead of move' warnings from Coverity

21 months agoAnother set of coverity fixes, these are a bit more tricky
Otto Moerbeek [Mon, 20 Nov 2023 16:15:53 +0000 (17:15 +0100)] 
Another set of coverity fixes, these are a bit more tricky

21 months agoauth: Fix use of 32-bit time_t in tcpreceiver.cc
Remi Gacogne [Tue, 21 Nov 2023 07:47:57 +0000 (08:47 +0100)] 
auth: Fix use of 32-bit time_t in tcpreceiver.cc

Reported by Coverity as 1524952

21 months agosdig: Fix Coverity 1524951: copy instead of move
Remi Gacogne [Tue, 21 Nov 2023 07:44:47 +0000 (08:44 +0100)] 
sdig: Fix Coverity 1524951: copy instead of move

21 months agodnsdist: Fix another 'auto causes a copy' warning from Coverity
Remi Gacogne [Tue, 21 Nov 2023 07:41:45 +0000 (08:41 +0100)] 
dnsdist: Fix another 'auto causes a copy' warning from Coverity

21 months agodnsdist: Fix a 'auto causes a copy' warning from Coverity (CID 408612)
Remi Gacogne [Tue, 21 Nov 2023 07:27:45 +0000 (08:27 +0100)] 
dnsdist: Fix a 'auto causes a copy' warning from Coverity (CID 408612)

21 months agoMerge pull request #13518 from rgacogne/follow-up-13513
Remi Gacogne [Tue, 21 Nov 2023 07:30:53 +0000 (08:30 +0100)] 
Merge pull request #13518 from rgacogne/follow-up-13513

Fix a few warnings from clang-tidy that were not fixed in #13513

21 months agodnsdist: Refactor the exponential back-off timer code 13520/head
Remi Gacogne [Mon, 20 Nov 2023 19:38:57 +0000 (20:38 +0100)] 
dnsdist: Refactor the exponential back-off timer code

The existing code could overflow in some cases, leading to a
potentially endless busy-loop.

21 months agodnsdist: Allow setting the action from `setSuffixMatchRule{,FFI}()`'s visitor 13515/head
Remi Gacogne [Mon, 20 Nov 2023 14:27:55 +0000 (15:27 +0100)] 
dnsdist: Allow setting the action from `setSuffixMatchRule{,FFI}()`'s visitor

This way we can detect more than one kind of behaviour in one pass,
and still have different actions (block truncate, ...) per behaviour.

21 months agodnsdist: Fix a few more clang-tidy warnings 13518/head
Remi Gacogne [Mon, 20 Nov 2023 16:27:33 +0000 (17:27 +0100)] 
dnsdist: Fix a few more clang-tidy warnings

21 months agoAnother set of coverity fixes
Otto Moerbeek [Mon, 20 Nov 2023 16:06:35 +0000 (17:06 +0100)] 
Another set of coverity fixes

21 months agoGet rid of the pointer arithmetic in `RecordTextReader::xfrName()`
Remi Gacogne [Mon, 20 Nov 2023 15:49:51 +0000 (16:49 +0100)] 
Get rid of the pointer arithmetic in `RecordTextReader::xfrName()`

21 months agodnsdist: Fix a few warnings from clang-tidy
Remi Gacogne [Mon, 20 Nov 2023 15:49:24 +0000 (16:49 +0100)] 
dnsdist: Fix a few warnings from clang-tidy

21 months agoMerge pull request #13513 from rgacogne/coverity-auto-copy-move
Remi Gacogne [Mon, 20 Nov 2023 15:46:24 +0000 (16:46 +0100)] 
Merge pull request #13513 from rgacogne/coverity-auto-copy-move

Fix unnecessary copies reported by Coverity

21 months agoAnother bunch of coverity fixes
Otto Moerbeek [Mon, 20 Nov 2023 15:36:11 +0000 (16:36 +0100)] 
Another bunch of coverity fixes

21 months agoThe nod code sets up the SBF DBs before starting the thraed, no need for protection
Otto Moerbeek [Mon, 20 Nov 2023 15:08:02 +0000 (16:08 +0100)] 
The nod code sets up the SBF DBs before starting the thraed, no need for protection

21 months agorec: fix time_t truncation warnings from coverity by annotating them.
Otto Moerbeek [Mon, 20 Nov 2023 15:06:50 +0000 (16:06 +0100)] 
rec: fix time_t truncation warnings from coverity by annotating them.

Mostly they are due to DNS using 32-bit timestamps.

21 months agoUpdate docs/settings.rst 13465/head
Frank Louwers [Mon, 20 Nov 2023 15:06:05 +0000 (16:06 +0100)] 
Update docs/settings.rst

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
21 months agoMerge pull request #13447 from omoerbeek/rec-yaml-examples
Otto Moerbeek [Mon, 20 Nov 2023 14:58:57 +0000 (15:58 +0100)] 
Merge pull request #13447 from omoerbeek/rec-yaml-examples

rec: fix a few yaml examples that still used old syntax

21 months agoMerge pull request #13499 from rgacogne/ddist-doc-latency-bucket-udp
Remi Gacogne [Mon, 20 Nov 2023 14:58:31 +0000 (15:58 +0100)] 
Merge pull request #13499 from rgacogne/ddist-doc-latency-bucket-udp

dnsdist: Clearly document that the current latency bucket is UDP only

21 months agoMerge pull request #13484 from rgacogne/ddist-rings-blocks-api
Remi Gacogne [Mon, 20 Nov 2023 14:57:49 +0000 (15:57 +0100)] 
Merge pull request #13484 from rgacogne/ddist-rings-blocks-api

dnsdist: Add Lua bindings to interact with dynamic blocks

21 months agoAdd more edge-case tests for `cleanSlashes()` (from Otto) 13513/head
Remi Gacogne [Mon, 20 Nov 2023 14:24:44 +0000 (15:24 +0100)] 
Add more edge-case tests for `cleanSlashes()` (from Otto)

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
21 months agoMerge pull request #13511 from omoerbeek/rec-querycounts
Otto Moerbeek [Mon, 20 Nov 2023 13:15:37 +0000 (14:15 +0100)] 
Merge pull request #13511 from omoerbeek/rec-querycounts

rec: document outgoing querycounts better, including a small fix

21 months agoauth: Fix unnecessary copies reported by Coverity
Remi Gacogne [Mon, 20 Nov 2023 13:13:20 +0000 (14:13 +0100)] 
auth: Fix unnecessary copies reported by Coverity

21 months agomisc: Prevent an unnecessary copy in cleanSlashes() reported by Coverity
Remi Gacogne [Mon, 20 Nov 2023 11:10:31 +0000 (12:10 +0100)] 
misc: Prevent an unnecessary copy in cleanSlashes() reported by Coverity

21 months agoMerge pull request #13501 from omoerbeek/rec-rpz-dups
Otto Moerbeek [Mon, 20 Nov 2023 11:16:14 +0000 (12:16 +0100)] 
Merge pull request #13501 from omoerbeek/rec-rpz-dups

rec: introduce a setting to allow RPZ duplicates, including a dup handling fix

21 months agodnsdist: Fix unnecessary copies reported by Coverity
Remi Gacogne [Mon, 20 Nov 2023 11:09:55 +0000 (12:09 +0100)] 
dnsdist: Fix unnecessary copies reported by Coverity

Most of these are in places where performance does not matter, but
still.

21 months agoYaHTTP: Fix a few 'copy instead of move' warnings from Coverity
Remi Gacogne [Mon, 20 Nov 2023 11:07:35 +0000 (12:07 +0100)] 
YaHTTP: Fix a few 'copy instead of move' warnings from Coverity

21 months agodoc improvement and zap debug line 13501/head
Otto Moerbeek [Mon, 20 Nov 2023 10:09:29 +0000 (11:09 +0100)] 
doc improvement and zap debug line

Co-authored-by: Remi Gacogne <github@coredump.fr>
21 months agoDocument various outgoing query counters better 13511/head
Otto Moerbeek [Mon, 20 Nov 2023 09:31:19 +0000 (10:31 +0100)] 
Document various outgoing query counters better

In particular, all-outqueries was documented to count only UDP,
while it actually counts *all* outgoing queries.

21 months agoUpdate query counts in a single place, count all ipv6 queries
Otto Moerbeek [Mon, 20 Nov 2023 09:18:21 +0000 (10:18 +0100)] 
Update query counts in a single place, count all ipv6 queries

21 months agoTypo in versionadded
Otto Moerbeek [Mon, 20 Nov 2023 07:16:55 +0000 (08:16 +0100)] 
Typo in versionadded

Co-authored-by: phonedph1 <20867105+phonedph1@users.noreply.github.com>
21 months agodnsdist: Add Proxy Protocol v2 support to `TeeAction`
Remi Gacogne [Fri, 17 Nov 2023 15:06:54 +0000 (16:06 +0100)] 
dnsdist: Add Proxy Protocol v2 support to `TeeAction`

21 months agopass "recurse" to sdig if needed
Otto Moerbeek [Fri, 17 Nov 2023 11:42:00 +0000 (12:42 +0100)] 
pass "recurse" to sdig if needed

21 months agodnsdist: Add an option to set the SSL proxy protocol TLV 13506/head
Remi Gacogne [Fri, 17 Nov 2023 11:14:19 +0000 (12:14 +0100)] 
dnsdist: Add an option to set the SSL proxy protocol TLV

When the new `proxyProtocolAdvertiseTLS` to `newServer` is set, and
the query has been received from the client over an encrypted channel,
the SSL proxy protocol TLV is set in the proxy protocol payload sent
to the backend.

21 months agorec: disallow (by answering Refused) RD=0 by default
Otto Moerbeek [Fri, 17 Nov 2023 10:24:48 +0000 (11:24 +0100)] 
rec: disallow (by answering Refused) RD=0 by default

Fixes #13386

21 months agorec: introduce command to set aggressive NSEC cache size
Otto Moerbeek [Fri, 17 Nov 2023 08:55:32 +0000 (09:55 +0100)] 
rec: introduce command to set aggressive NSEC cache size

To avoid race conditions creating and destroying the cache, we do
not allow setting the cache size if it is not enabled from startup.
Also, setting the cache size to 0 does not disable the cache, it
just makes it mostly ineffective (entries can still appear in it
and get used until the purge task is run).

Fixes #13265.

21 months agorec: introduce a setting to allow duplicates, including a dup handling fix
Otto Moerbeek [Thu, 16 Nov 2023 13:38:42 +0000 (14:38 +0100)] 
rec: introduce a setting to allow duplicates, including a dup handling fix

21 months agoMerge pull request #13498 from omoerbeek/dnsdist-server-table
Otto Moerbeek [Thu, 16 Nov 2023 11:26:51 +0000 (12:26 +0100)] 
Merge pull request #13498 from omoerbeek/dnsdist-server-table

dnsdist: use a table for formatting the list of server settings

21 months agodnsdist: Clearly document that the current latency bucket is UDP only 13499/head
Remi Gacogne [Thu, 16 Nov 2023 11:03:14 +0000 (12:03 +0100)] 
dnsdist: Clearly document that the current latency bucket is UDP only

21 months agoLess CAPITAL letters 13498/head
Otto Moerbeek [Thu, 16 Nov 2023 10:56:10 +0000 (11:56 +0100)] 
Less CAPITAL letters

21 months agoname is not mandatory, address is
Otto Moerbeek [Thu, 16 Nov 2023 10:46:08 +0000 (11:46 +0100)] 
name is not mandatory, address is

21 months agoMerge pull request #13497 from omoerbeek/rec-count-cache-hits
Otto Moerbeek [Thu, 16 Nov 2023 10:30:42 +0000 (11:30 +0100)] 
Merge pull request #13497 from omoerbeek/rec-count-cache-hits

rec: take into account throttled queries when determining if we had a cachehit

21 months agoMerge pull request #13491 from omoerbeek/rec-rust-update
Otto Moerbeek [Thu, 16 Nov 2023 10:28:42 +0000 (11:28 +0100)] 
Merge pull request #13491 from omoerbeek/rec-rust-update

rec: install helper: Update rust to 1.73, take into account aarch64, update rust deps

21 months agodnsdist: use a table for formatting the list of server settings
Otto Moerbeek [Thu, 16 Nov 2023 09:30:36 +0000 (10:30 +0100)] 
dnsdist: use a table for formatting the list of server settings

21 months agoMerge pull request #13485 from rgacogne/directory-visitor
Remi Gacogne [Thu, 16 Nov 2023 08:50:11 +0000 (09:50 +0100)] 
Merge pull request #13485 from rgacogne/directory-visitor

Add `pdns::visit_directory()`, wrapping opendir/readdir/closedir

21 months agoMerge pull request #13456 from omoerbeek/rec-zone-api-examples
Otto Moerbeek [Thu, 16 Nov 2023 08:17:37 +0000 (09:17 +0100)] 
Merge pull request #13456 from omoerbeek/rec-zone-api-examples

rec: provide two examples of zone manipulation in API docs

21 months agoMerge pull request #13387 from omoerbeek/rec-b-root-servers
Otto Moerbeek [Thu, 16 Nov 2023 08:17:00 +0000 (09:17 +0100)] 
Merge pull request #13387 from omoerbeek/rec-b-root-servers

rec: Update new b-root-server.net addresses in built-in hints.

21 months agoauth: Remove left-over "TODO" comment in dnsbackend.cc 13485/head
Remi Gacogne [Thu, 16 Nov 2023 08:15:35 +0000 (09:15 +0100)] 
auth: Remove left-over "TODO" comment in dnsbackend.cc

21 months agorec: take into account throttled queries when determining if we had a cachehit 13497/head
Otto Moerbeek [Thu, 16 Nov 2023 08:07:54 +0000 (09:07 +0100)] 
rec: take into account throttled queries when determining if we had a cachehit

Problem spotted by @zjs604381586 in #13483, though proposed fix was not correct.

21 months agoan -> a 13456/head
Otto Moerbeek [Thu, 16 Nov 2023 07:59:45 +0000 (08:59 +0100)] 
an -> a

Co-authored-by: Fred Morcos <fm@fredmorcos.com>