]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
2 years agoauth: pdnsutil check-zone, skip metadata check for backends without getAllDomainMetad... 12070/head
Kees Monshouwer [Fri, 7 Oct 2022 14:41:03 +0000 (16:41 +0200)] 
auth: pdnsutil check-zone, skip metadata check for backends without getAllDomainMetadata()

2 years agoMerge pull request #12003 from rgacogne/ddist-single-acceptor
Remi Gacogne [Fri, 7 Oct 2022 13:51:54 +0000 (15:51 +0200)] 
Merge pull request #12003 from rgacogne/ddist-single-acceptor

dnsdist: Add a 'single acceptor thread' build option, reducing the number of threads

2 years agoMerge pull request #12008 from rgacogne/ddist-rings-inspection
Remi Gacogne [Fri, 7 Oct 2022 13:51:02 +0000 (15:51 +0200)] 
Merge pull request #12008 from rgacogne/ddist-rings-inspection

dnsdist: Add Lua binding for inspecting the in-memory ring buffers

2 years agoMerge pull request #12012 from rgacogne/ddist-more-svc-tests
Remi Gacogne [Thu, 6 Oct 2022 14:40:52 +0000 (16:40 +0200)] 
Merge pull request #12012 from rgacogne/ddist-more-svc-tests

dnsdist: More SVC unit tests

2 years agoMerge pull request #11729 from rgacogne/ddist-fix-setecsaction
Remi Gacogne [Thu, 6 Oct 2022 14:06:08 +0000 (16:06 +0200)] 
Merge pull request #11729 from rgacogne/ddist-fix-setecsaction

dnsdist: Fix a bug in SetEDNSOptionAction

2 years agoMerge pull request #12025 from rgacogne/proxy-protocol-payload-alloc
Remi Gacogne [Thu, 6 Oct 2022 14:05:06 +0000 (16:05 +0200)] 
Merge pull request #12025 from rgacogne/proxy-protocol-payload-alloc

Proxy Protocol: Only allocate once when generating the payload

2 years agoMerge pull request #12067 from rgacogne/ednscookie_32_time_t
Remi Gacogne [Thu, 6 Oct 2022 09:45:02 +0000 (11:45 +0200)] 
Merge pull request #12067 from rgacogne/ednscookie_32_time_t

ednscookies: Fix another store_truncates_time_t coverity report

2 years agoMerge pull request #12066 from rgacogne/auth-makebytesfromhex
Remi Gacogne [Thu, 6 Oct 2022 09:05:59 +0000 (11:05 +0200)] 
Merge pull request #12066 from rgacogne/auth-makebytesfromhex

auth: Detect invalid bytes in `makeBytesFromHex()`

2 years agoApply Otto's suggestion 12066/head
Remi Gacogne [Thu, 6 Oct 2022 08:14:50 +0000 (10:14 +0200)] 
Apply Otto's suggestion

2 years agoednscookies: Fix another store_truncates_time_t coverity report 12067/head
Remi Gacogne [Thu, 6 Oct 2022 08:11:55 +0000 (10:11 +0200)] 
ednscookies: Fix another store_truncates_time_t coverity report

The truncation is due to DNS specific protocol properties.

Fixes Coverity CID 380097.

2 years agomisc: Switch to a std::array in makeHexDump()
Remi Gacogne [Thu, 6 Oct 2022 07:56:47 +0000 (09:56 +0200)] 
misc: Switch to a std::array in makeHexDump()

2 years agoauth: Detect invalid bytes in makeBytesFromHex()
Remi Gacogne [Thu, 6 Oct 2022 07:55:48 +0000 (09:55 +0200)] 
auth: Detect invalid bytes in makeBytesFromHex()

Also only allocate the required number of bytes, not twice that.

2 years agoMerge pull request #12058 from omoerbeek/rec-prep-4.8.0-beta1
Otto Moerbeek [Wed, 5 Oct 2022 09:51:08 +0000 (11:51 +0200)] 
Merge pull request #12058 from omoerbeek/rec-prep-4.8.0-beta1

rec: Prep for rec-4.8.0-beta1

2 years agoPrep for rec-4.8.0-beta1 12058/head
Otto Moerbeek [Mon, 3 Oct 2022 13:10:33 +0000 (15:10 +0200)] 
Prep for rec-4.8.0-beta1

2 years agoMerge pull request #12057 from omoerbeek/rec-move-rec-specific-file2
Otto Moerbeek [Tue, 4 Oct 2022 08:40:26 +0000 (10:40 +0200)] 
Merge pull request #12057 from omoerbeek/rec-move-rec-specific-file2

rec: Test move a rec-specific file to recursordist approach 2

2 years agoMerge pull request #12054 from omoerbeek/rec-fix-locked-regr-test
Otto Moerbeek [Mon, 3 Oct 2022 14:48:21 +0000 (16:48 +0200)] 
Merge pull request #12054 from omoerbeek/rec-fix-locked-regr-test

Rec: fix locked regr test

2 years agoAnd then move file 12057/head
Otto Moerbeek [Mon, 3 Oct 2022 14:43:52 +0000 (16:43 +0200)] 
And then move file

2 years agoFirst rm link
Otto Moerbeek [Mon, 3 Oct 2022 14:43:29 +0000 (16:43 +0200)] 
First rm link

2 years agoMerge pull request #12053 from mind04/auth-schemaversion
Peter van Dijk [Mon, 3 Oct 2022 14:12:31 +0000 (16:12 +0200)] 
Merge pull request #12053 from mind04/auth-schemaversion

auth: lmdbbackend: add schema version 4 in the backend documentation

2 years agoRec: fix locked regr test 12054/head
Otto Moerbeek [Mon, 3 Oct 2022 13:47:46 +0000 (15:47 +0200)] 
Rec: fix locked regr test

2 years agoauth: lmdbbackend: add schema version 4 in the backend documentation 12053/head
Kees Monshouwer [Mon, 3 Oct 2022 13:27:11 +0000 (15:27 +0200)] 
auth: lmdbbackend: add schema version 4 in the backend documentation

2 years agoMerge pull request #12050 from Habbie/auth-4.7.0-rc1-docs
Peter van Dijk [Mon, 3 Oct 2022 12:57:47 +0000 (14:57 +0200)] 
Merge pull request #12050 from Habbie/auth-4.7.0-rc1-docs

auth-4.7.0-rc1: secpoll&changelog

2 years agoauth-4.7.0-rc1: secpoll&changelog 12050/head
Peter van Dijk [Mon, 3 Oct 2022 11:16:49 +0000 (13:16 +0200)] 
auth-4.7.0-rc1: secpoll&changelog

2 years agoMerge pull request #12041 from omoerbeek/rec-regr-test-locking rec-4.9.0-alpha0
Otto Moerbeek [Mon, 3 Oct 2022 10:12:52 +0000 (12:12 +0200)] 
Merge pull request #12041 from omoerbeek/rec-regr-test-locking

rec: Regression test for locked cache

2 years agoMerge pull request #12047 from chbruyand/rec-dnstap-nod
Otto Moerbeek [Mon, 3 Oct 2022 09:17:36 +0000 (11:17 +0200)] 
Merge pull request #12047 from chbruyand/rec-dnstap-nod

rec: add support for NOD/UDR notifications using dnstap

2 years agoApply suggestions from code review 12041/head
Otto Moerbeek [Mon, 3 Oct 2022 09:02:40 +0000 (11:02 +0200)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoFix unused function warnings if !ENABLE_NOD 12047/head
Otto Moerbeek [Mon, 3 Oct 2022 08:26:30 +0000 (10:26 +0200)] 
Fix unused function warnings if !ENABLE_NOD

2 years agoAdd dnstapNODFrameStream stats
Otto Moerbeek [Mon, 3 Oct 2022 08:14:22 +0000 (10:14 +0200)] 
Add dnstapNODFrameStream stats
Fix docs refs
Fix #ifdef

2 years agoDoc tweaks
Otto Moerbeek [Mon, 3 Oct 2022 07:50:15 +0000 (09:50 +0200)] 
Doc tweaks

2 years agoTweaks: fix build with dnstabp disabled, process config changes
Otto Moerbeek [Mon, 3 Oct 2022 07:19:48 +0000 (09:19 +0200)] 
Tweaks: fix build with dnstabp disabled, process config changes

2 years agorec: add support for streaming NOD and UDR using dnstap
Charles-Henri Bruyand [Fri, 30 Sep 2022 14:54:59 +0000 (16:54 +0200)] 
rec: add support for streaming NOD and UDR using dnstap

2 years agorec: make sure data is at least the size of a dnsheader when constructing a DnstapMessage
Charles-Henri Bruyand [Fri, 30 Sep 2022 07:31:13 +0000 (09:31 +0200)] 
rec: make sure data is at least the size of a dnsheader when constructing a DnstapMessage

2 years agoMerge pull request #12049 from omoerbeek/rec-followup-11903
Otto Moerbeek [Mon, 3 Oct 2022 08:06:14 +0000 (10:06 +0200)] 
Merge pull request #12049 from omoerbeek/rec-followup-11903

rec: fix build with --disable-dnstap, followup to #11903

2 years agoMerge pull request #12048 from omoerbeek/rec-config-default
Otto Moerbeek [Mon, 3 Oct 2022 07:52:28 +0000 (09:52 +0200)] 
Merge pull request #12048 from omoerbeek/rec-config-default

rec: Fix --config (should be equal to --config=default),  followup to #11907

2 years agorec: fix build with --disable-dnstap, followup to #11903 12049/head
Otto Moerbeek [Mon, 3 Oct 2022 06:52:44 +0000 (08:52 +0200)] 
rec: fix build with --disable-dnstap, followup to #11903

2 years agoMerge pull request #12046 from rgacogne/fix-portsmplexer
Remi Gacogne [Mon, 3 Oct 2022 07:16:37 +0000 (09:16 +0200)] 
Merge pull request #12046 from rgacogne/fix-portsmplexer

Fix compilation of the event ports multiplexer

2 years agorec: Fix --config (should be equal to --config=default), followup to #11907 12048/head
Otto Moerbeek [Mon, 3 Oct 2022 06:24:17 +0000 (08:24 +0200)] 
rec: Fix --config (should be equal to --config=default),  followup to #11907

2 years agodnsdist: Add Lua bindings for the ring entries 12008/head
Remi Gacogne [Thu, 22 Sep 2022 15:41:07 +0000 (17:41 +0200)] 
dnsdist: Add Lua bindings for the ring entries

2 years agodnsdist: Fix dnsdist_ffi_ring_entry_get_protocol
Remi Gacogne [Fri, 21 Jan 2022 10:50:17 +0000 (11:50 +0100)] 
dnsdist: Fix dnsdist_ffi_ring_entry_get_protocol

2 years agodnsdist: Add Lua FFI bindings to look into the ring buffers
Remi Gacogne [Tue, 18 Jan 2022 17:08:42 +0000 (18:08 +0100)] 
dnsdist: Add Lua FFI bindings to look into the ring buffers

2 years agodnsdist: Document that the TCP acceptor and worker threads are merged in single accep... 12003/head
Remi Gacogne [Thu, 22 Sep 2022 09:46:55 +0000 (11:46 +0200)] 
dnsdist: Document that the TCP acceptor and worker threads are merged in single acceptor mode

2 years agodnsdist: In single acceptor mode, make the TCP accept socket non-blocking
Remi Gacogne [Mon, 19 Sep 2022 13:20:37 +0000 (15:20 +0200)] 
dnsdist: In single acceptor mode, make the TCP accept socket non-blocking

In theory we should only be waken up if there is a connection to
accept, but let's make sure we don't block if there ever is a
spurious wake-up event.

2 years agodnsdist: In single acceptor mode, merge the TCP acceptor and worker threads
Remi Gacogne [Thu, 1 Sep 2022 12:16:50 +0000 (14:16 +0200)] 
dnsdist: In single acceptor mode, merge the TCP acceptor and worker threads

As we usually have one TCP worker thread only in single acceptor
mode, there is no need to pass the query via a pipe, improving
latency and CPU usage, and also saving a thread.

2 years agodnsdist: Add USE_SINGLE_ACCEPTOR_THREAD option
Remi Gacogne [Mon, 4 Apr 2022 15:51:24 +0000 (17:51 +0200)] 
dnsdist: Add USE_SINGLE_ACCEPTOR_THREAD option

2 years agodnsdist: Implement additional addresses on DoT/DoH frontends
Remi Gacogne [Fri, 1 Apr 2022 14:47:05 +0000 (16:47 +0200)] 
dnsdist: Implement additional addresses on DoT/DoH frontends

2 years agoFix compilation of the event ports multiplexer 12046/head
Remi Gacogne [Fri, 30 Sep 2022 08:55:19 +0000 (10:55 +0200)] 
Fix compilation of the event ports multiplexer

Thanks to Jonathan Perkin for the patch!

2 years agoMerge pull request #11960 from Habbie/builder-dispatch-release
Peter van Dijk [Thu, 29 Sep 2022 12:48:02 +0000 (14:48 +0200)] 
Merge pull request #11960 from Habbie/builder-dispatch-release

expand builder-dispatch workflow for release building

2 years agoMerge pull request #11954 from Habbie/axfr-primary-tc-servfail
Peter van Dijk [Thu, 29 Sep 2022 12:28:29 +0000 (14:28 +0200)] 
Merge pull request #11954 from Habbie/axfr-primary-tc-servfail

auth AXFR server: abort on chunk with TC set

2 years agoMerge pull request #12028 from mind04/pdns-edit-zone
Peter van Dijk [Thu, 29 Sep 2022 11:17:47 +0000 (13:17 +0200)] 
Merge pull request #12028 from mind04/pdns-edit-zone

auth: pdnsutil edit-zone, detect capitalization changes in LUA, TXT a…

2 years agoMerge pull request #11983 from chbruyand/keyroller
Peter van Dijk [Thu, 29 Sep 2022 09:12:10 +0000 (11:12 +0200)] 
Merge pull request #11983 from chbruyand/keyroller

auth: Keyroller first import

2 years agodnsdist: Fix computation of the final proxy protocol payload size 12025/head
Remi Gacogne [Thu, 29 Sep 2022 07:52:32 +0000 (09:52 +0200)] 
dnsdist: Fix computation of the final proxy protocol payload size

2 years agoMerge pull request #12001 from rgacogne/ddist-mac-cache
Remi Gacogne [Wed, 28 Sep 2022 14:54:32 +0000 (16:54 +0200)] 
Merge pull request #12001 from rgacogne/ddist-mac-cache

dnsdist: Implement a small MAC address cache

2 years agoMerge pull request #12039 from omoerbeek/dnsdist-coverity-20220928
Remi Gacogne [Wed, 28 Sep 2022 14:25:48 +0000 (16:25 +0200)] 
Merge pull request #12039 from omoerbeek/dnsdist-coverity-20220928

Dnsdist: coverity 20220928

2 years agoMerge pull request #11840 from rgacogne/ddist-doc-missing-json-objects-api
Remi Gacogne [Wed, 28 Sep 2022 14:25:30 +0000 (16:25 +0200)] 
Merge pull request #11840 from rgacogne/ddist-doc-missing-json-objects-api

dnsdist: Document all the API JSON objects

2 years agoMerge pull request #11732 from rgacogne/ddist-reg-tests-fd
Remi Gacogne [Wed, 28 Sep 2022 14:24:26 +0000 (16:24 +0200)] 
Merge pull request #11732 from rgacogne/ddist-reg-tests-fd

dnsdist: Stop background threads and close file descriptors in regression tests

2 years agoMerge pull request #12007 from rgacogne/ddist-cache-inspection
Remi Gacogne [Wed, 28 Sep 2022 14:23:30 +0000 (16:23 +0200)] 
Merge pull request #12007 from rgacogne/ddist-cache-inspection

dnsdist: Add Lua bindings to look up domain and IP addresses from the cache

2 years agoMerge pull request #11995 from rgacogne/ddist-more-discovery-tests
Remi Gacogne [Wed, 28 Sep 2022 14:23:18 +0000 (16:23 +0200)] 
Merge pull request #11995 from rgacogne/ddist-more-discovery-tests

dnsdist: More backend discovery regression tests

2 years agoMerge pull request #12000 from rgacogne/ddist-doh-skip-headers-alloc
Remi Gacogne [Wed, 28 Sep 2022 14:23:08 +0000 (16:23 +0200)] 
Merge pull request #12000 from rgacogne/ddist-doh-skip-headers-alloc

dnsdist: Speed up DoH handling by preventing allocations and copies

2 years agoMerge pull request #11903 from omoerbeek/pb-dnstap-stats
Otto Moerbeek [Wed, 28 Sep 2022 14:15:35 +0000 (16:15 +0200)] 
Merge pull request #11903 from omoerbeek/pb-dnstap-stats

rec: protobuf and dnstap metrics

2 years agoProcess review commment from @fredmorcos, thanks! 11903/head
Otto Moerbeek [Wed, 28 Sep 2022 13:28:02 +0000 (15:28 +0200)] 
Process review commment from @fredmorcos, thanks!

2 years agorec: Regression test for locked cache
Otto Moerbeek [Wed, 28 Sep 2022 13:14:00 +0000 (15:14 +0200)] 
rec: Regression test for locked cache

Fixes #11984

2 years agoMark a few methods non-const, to allow the guard to not be mutable, as suggested...
Otto Moerbeek [Wed, 28 Sep 2022 11:38:11 +0000 (13:38 +0200)] 
Mark a few methods non-const, to allow the guard to not be mutable, as suggested by @rgacogne

2 years agoRename prometheus remote logging metric, as suggested by @wojas
Otto Moerbeek [Wed, 28 Sep 2022 11:33:17 +0000 (13:33 +0200)] 
Rename prometheus remote logging metric, as suggested by @wojas

2 years agoFix auto_causes_copy coverity reports. 12039/head
Otto Moerbeek [Wed, 28 Sep 2022 10:10:29 +0000 (12:10 +0200)] 
Fix auto_causes_copy coverity reports.

In once case we actually want a copy so annotate it.

Coverity 380098, 380102, 380103, 380106, 380107, 280109, 380111, 380112, 380113, 380117

2 years agoFix store_truncates_time_t coverity reports.
Otto Moerbeek [Wed, 28 Sep 2022 09:58:56 +0000 (11:58 +0200)] 
Fix store_truncates_time_t coverity reports.

A few instances of store_truncates_time_t, almost all due to DNS specific protocol properties

Coverity 380097, 380099, 380100, 380101, 380105, 380108, 380114, 380115, 380116, 380118

2 years agoFix merge botch
Otto Moerbeek [Wed, 28 Sep 2022 09:38:38 +0000 (11:38 +0200)] 
Fix merge botch

2 years agofix botched help line
Otto Moerbeek [Wed, 28 Sep 2022 09:35:23 +0000 (11:35 +0200)] 
fix botched help line

2 years agoReformat
Otto Moerbeek [Tue, 6 Sep 2022 09:22:02 +0000 (11:22 +0200)] 
Reformat

2 years agoSkip remote logger counts for normal stats retrieval
Otto Moerbeek [Tue, 6 Sep 2022 08:26:44 +0000 (10:26 +0200)] 
Skip remote logger counts for normal stats retrieval

2 years agoPrometheus stats plus tweaks in rec_control
Otto Moerbeek [Wed, 31 Aug 2022 06:43:38 +0000 (08:43 +0200)] 
Prometheus stats plus tweaks in rec_control

2 years agoMake sure things compile with !HAVE_FSTRM
Otto Moerbeek [Mon, 29 Aug 2022 13:09:44 +0000 (15:09 +0200)] 
Make sure things compile with !HAVE_FSTRM

2 years agoAdd statistics command for remote logging stats
Otto Moerbeek [Mon, 29 Aug 2022 12:51:38 +0000 (14:51 +0200)] 
Add statistics command for remote logging stats

2 years agoImplement a common interface to get stats for both RemoteLogger and FrameStreamLogger
Otto Moerbeek [Mon, 29 Aug 2022 10:23:18 +0000 (12:23 +0200)] 
Implement a common interface to get stats for both RemoteLogger and FrameStreamLogger

These two classes do not use the same mechanism to protect the stats from mult-threaded
access. Should maybe be revisited. Recursor has an instance per pthread, don't know
about dnsdist.

2 years agoMerge pull request #12038 from omoerbeek/rec-aggr-nsec3-expired
Otto Moerbeek [Wed, 28 Sep 2022 09:17:15 +0000 (11:17 +0200)] 
Merge pull request #12038 from omoerbeek/rec-aggr-nsec3-expired

rec: when an expired nsec3 entry is seen move it to the front of the expiry queue

2 years agoMerge pull request #12026 from rgacogne/dist-faster-protocol-ctor
Remi Gacogne [Wed, 28 Sep 2022 08:56:45 +0000 (10:56 +0200)] 
Merge pull request #12026 from rgacogne/dist-faster-protocol-ctor

dnsdist: Speed up the dnsdist::Protocol() constructor

2 years agoMerge pull request #12037 from rgacogne/ddist-only-rewrite-to-remove-if-needed
Remi Gacogne [Wed, 28 Sep 2022 08:56:35 +0000 (10:56 +0200)] 
Merge pull request #12037 from rgacogne/ddist-only-rewrite-to-remove-if-needed

dnsdist: Rewrite packets to remove records only if actually needed

2 years agoUpdate pdns/keyroller/pdnsapi/api.py 11983/head
Charles-Henri Bruyand [Wed, 28 Sep 2022 08:41:20 +0000 (10:41 +0200)] 
Update pdns/keyroller/pdnsapi/api.py

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agorec: when an expired nsec3 entry is seen, move it to the front of the expiry queue 12038/head
Otto Moerbeek [Wed, 28 Sep 2022 07:35:22 +0000 (09:35 +0200)] 
rec: when an expired nsec3 entry is seen, move it to the front of the expiry queue

2 years agoMerge pull request #11949 from omoerbeek/rec-auth-rcode-counts
Otto Moerbeek [Tue, 27 Sep 2022 19:16:57 +0000 (21:16 +0200)] 
Merge pull request #11949 from omoerbeek/rec-auth-rcode-counts

Rec: provide rcode received from auths metrics

2 years agoMerge pull request #12027 from omoerbeek/rec-locked-auth-upgrade
Otto Moerbeek [Tue, 27 Sep 2022 19:16:42 +0000 (21:16 +0200)] 
Merge pull request #12027 from omoerbeek/rec-locked-auth-upgrade

rec: If new data is auth and existing data is not, replace even if cache locking is active

2 years agocopy-paste error in comment 12027/head
Otto Moerbeek [Tue, 27 Sep 2022 14:34:24 +0000 (16:34 +0200)] 
copy-paste error in comment

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agouse at instead of [] 11949/head
Otto Moerbeek [Tue, 27 Sep 2022 14:21:46 +0000 (16:21 +0200)] 
use at instead of []

Co-authored-by: Remi Gacogne <github@coredump.fr>
2 years agoDocs and account for forwarding
Otto Moerbeek [Tue, 13 Sep 2022 07:51:33 +0000 (09:51 +0200)] 
Docs and account for forwarding

2 years agoAdd SNMP metrics for new counts
Otto Moerbeek [Mon, 12 Sep 2022 10:45:47 +0000 (12:45 +0200)] 
Add SNMP metrics for new counts

2 years agoProvide metrics for rcodes returned bu auths.
Otto Moerbeek [Wed, 7 Sep 2022 13:42:54 +0000 (15:42 +0200)] 
Provide metrics for rcodes returned bu auths.

Only basic rcodes (found in dns header) counted for now, as we
do not process extended error codes in OPT records.

Maybe this should be a histogram in the Prometheus case?

2 years agoMerge pull request #11866 from omoerbeek/rec-proxymapping-stats
Otto Moerbeek [Tue, 27 Sep 2022 14:19:59 +0000 (16:19 +0200)] 
Merge pull request #11866 from omoerbeek/rec-proxymapping-stats

Rec: proxymapping stats

2 years agoMerge pull request #11909 from omoerbeek/rec-dq-querytime
Otto Moerbeek [Tue, 27 Sep 2022 14:19:43 +0000 (16:19 +0200)] 
Merge pull request #11909 from omoerbeek/rec-dq-querytime

rec: add querytime attribute to dq

2 years agodnsdist: Rewrite packets to remove records only if actually needed 12037/head
Remi Gacogne [Fri, 24 Jun 2022 16:49:04 +0000 (18:49 +0200)] 
dnsdist: Rewrite packets to remove records only if actually needed

2 years agodnsdist: Add a dnsdist::MacAddress type 12001/head
Remi Gacogne [Tue, 27 Sep 2022 12:20:41 +0000 (14:20 +0200)] 
dnsdist: Add a dnsdist::MacAddress type

2 years agoMerge pull request #12024 from omoerbeek/rec-getting-started-docs
Otto Moerbeek [Tue, 27 Sep 2022 12:01:14 +0000 (14:01 +0200)] 
Merge pull request #12024 from omoerbeek/rec-getting-started-docs

rec: Update docs for getting started and compiling.

2 years agoBetter description of queryTime.tv_usec 11909/head
Otto Moerbeek [Tue, 27 Sep 2022 12:00:22 +0000 (14:00 +0200)] 
Better description of queryTime.tv_usec

2 years agoProcess comments from review 11866/head
Otto Moerbeek [Tue, 27 Sep 2022 11:51:05 +0000 (13:51 +0200)] 
Process comments from review

2 years agoApproach: each thread gets its own copy of the PorxyMapping config, which
Otto Moerbeek [Wed, 17 Aug 2022 12:22:34 +0000 (14:22 +0200)] 
Approach: each thread gets its own copy of the PorxyMapping config, which
includes the counters. When we have a proxymapping match, we immediately
have the counters available without the need for a new lookup.

When reloading, make sure the old counters of lines present in the
new config are preserved.

Don't forget to count on PC cache hits.

2 years agoTest for unauth to auth upgrade with locked cache
Otto Moerbeek [Tue, 27 Sep 2022 11:30:20 +0000 (13:30 +0200)] 
Test for unauth to auth upgrade with locked cache

2 years agoauth: pdnsutil edit-zone, detect capitalization changes in LUA, TXT and SPF records 12028/head
Kees Monshouwer [Tue, 27 Sep 2022 11:05:54 +0000 (13:05 +0200)] 
auth: pdnsutil edit-zone, detect capitalization changes in LUA, TXT and SPF records

2 years agoauth AXFR server: abort on chunk with TC set 11954/head
Peter van Dijk [Wed, 14 Sep 2022 12:52:40 +0000 (14:52 +0200)] 
auth AXFR server: abort on chunk with TC set

2 years agorec: If new data is auth and old dat is not, upgrade even if cache locking is active
Otto Moerbeek [Mon, 26 Sep 2022 10:16:19 +0000 (12:16 +0200)] 
rec: If new data is auth and old dat is not, upgrade even if cache locking is active

Followup to #11958

2 years agoMerge pull request #11987 from rgacogne/ddist-api-less-allocs
Remi Gacogne [Tue, 27 Sep 2022 10:13:43 +0000 (12:13 +0200)] 
Merge pull request #11987 from rgacogne/ddist-api-less-allocs

dnsdist: Slightly reduce the number of allocations in API calls

2 years agoMerge pull request #11996 from rgacogne/ddist-coverage-dump
Remi Gacogne [Tue, 27 Sep 2022 10:12:30 +0000 (12:12 +0200)] 
Merge pull request #11996 from rgacogne/ddist-coverage-dump

dnsdist: Better code coverage stats when enabled

2 years agoMerge pull request #11993 from rgacogne/ddist-more-options-to-disable-features
Remi Gacogne [Tue, 27 Sep 2022 10:11:12 +0000 (12:11 +0200)] 
Merge pull request #11993 from rgacogne/ddist-more-options-to-disable-features

dnsdist: Add build-time options to disable the dynamic blocks and UDP response delay