]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agodnsdist: A goaway frame can't be a headers or data one 10845/head
Remi Gacogne [Mon, 25 Oct 2021 08:52:00 +0000 (10:52 +0200)] 
dnsdist: A goaway frame can't be a headers or data one

Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
3 years agodnsdist: Fix formatting
Remi Gacogne [Thu, 14 Oct 2021 07:30:41 +0000 (09:30 +0200)] 
dnsdist: Fix formatting

3 years agodnsdist: Keep watching idle DoH backend connections
Remi Gacogne [Wed, 13 Oct 2021 16:02:33 +0000 (18:02 +0200)] 
dnsdist: Keep watching idle DoH backend connections

So we can quickly detect a connection closed by the remote host. The
`isTCPSocketUsable()` function is unfortunately not enough if the
remote end properly sent a GO AWAY frame before closing the connection,
as the socket then becomes readable and usable, instead of closed. We
need to actually read that message to know that the remote end closed
the connection.

3 years agoMerge pull request #10775 from rgacogne/ddist-fix-unit-tests-connectivity
Remi Gacogne [Wed, 13 Oct 2021 13:18:40 +0000 (15:18 +0200)] 
Merge pull request #10775 from rgacogne/ddist-fix-unit-tests-connectivity

dnsdist: Fix the unit tests to handle v4-only or v6-only connectivity

3 years agoMerge pull request #10823 from rgacogne/ddist-outgoing-release-buffer-renego
Remi Gacogne [Wed, 13 Oct 2021 13:17:53 +0000 (15:17 +0200)] 
Merge pull request #10823 from rgacogne/ddist-outgoing-release-buffer-renego

dnsdist: Disable TLS renegotiation, release buffers for outgoing TLS

3 years agoMerge pull request #10822 from rgacogne/ddist-document-dynblock-ringbuffer-link
Remi Gacogne [Wed, 13 Oct 2021 13:16:56 +0000 (15:16 +0200)] 
Merge pull request #10822 from rgacogne/ddist-document-dynblock-ringbuffer-link

dnsdist: Document the ringbuffers' size impacts Dynamic Blocks

3 years agoMerge pull request #10821 from rgacogne/rename-queued-processed-remote-logger
Remi Gacogne [Wed, 13 Oct 2021 13:16:44 +0000 (15:16 +0200)] 
Merge pull request #10821 from rgacogne/rename-queued-processed-remote-logger

Rename the 'queued' metric of the Remote Logger to 'processed'

3 years agoMerge pull request #10820 from rgacogne/ddist-add-hashed-changelog-upgrade
Remi Gacogne [Wed, 13 Oct 2021 13:16:25 +0000 (15:16 +0200)] 
Merge pull request #10820 from rgacogne/ddist-add-hashed-changelog-upgrade

dnsdist: Add #10157 to the upgrade guide and the 1.7.0-alpha1 ChangeLog

3 years agoMerge pull request #10836 from rgacogne/rec-no-false-sharing
Otto Moerbeek [Wed, 13 Oct 2021 12:36:09 +0000 (14:36 +0200)] 
Merge pull request #10836 from rgacogne/rec-no-false-sharing

rec: Prevent false sharing for the recursor's metrics

3 years agoMerge pull request #10797 from omoerbeek/rec-pc-ttl-no-records
Otto Moerbeek [Wed, 13 Oct 2021 10:32:16 +0000 (12:32 +0200)] 
Merge pull request #10797 from omoerbeek/rec-pc-ttl-no-records

rec: Use packetcache-servfail-ttl for all packet cache entries considered an error reply

3 years agoAdd missing include 10836/head
Otto [Wed, 13 Oct 2021 10:26:16 +0000 (12:26 +0200)] 
Add missing include

3 years agoConvert more atomics to stat_t and eliminate AtomicCounter form the recursor
Otto [Wed, 13 Oct 2021 09:12:28 +0000 (11:12 +0200)] 
Convert more atomics to stat_t and eliminate AtomicCounter form the recursor
(except in cases that are shared by with auth).

I changed two AtomicCounters to atomic<int32>; their range is limited and
they are not updated very frequently.

3 years agoMerge pull request #10837 from gmelikov/examples
Otto Moerbeek [Wed, 13 Oct 2021 08:01:00 +0000 (10:01 +0200)] 
Merge pull request #10837 from gmelikov/examples

Recursor: clean up kv-example-script.lua

3 years agoMerge pull request #10832 from phonedph1/concurrent-idea
Remi Gacogne [Wed, 13 Oct 2021 07:24:47 +0000 (09:24 +0200)] 
Merge pull request #10832 from phonedph1/concurrent-idea

dnsdist: Rule for basing decisions on outstanding queries in a pool

3 years agoMerge pull request #10838 from omoerbeek/rec-structlog-backward
Otto Moerbeek [Tue, 12 Oct 2021 15:42:16 +0000 (17:42 +0200)] 
Merge pull request #10838 from omoerbeek/rec-structlog-backward

rec: A compatibiliy macro to have bold old and new (structured) logging.

3 years agoMerge pull request #10839 from omoerbeek/rec-rpz-extendedErrorCode-docs
Otto Moerbeek [Tue, 12 Oct 2021 15:42:01 +0000 (17:42 +0200)] 
Merge pull request #10839 from omoerbeek/rec-rpz-extendedErrorCode-docs

rec: Provide a little example for extendedErrorCode/extendedErrorExtra

3 years agotest case 10832/head
ph1 [Tue, 12 Oct 2021 15:29:34 +0000 (09:29 -0600)] 
test case

3 years agotypo; update version; actually include the Lua binding
ph1 [Tue, 12 Oct 2021 15:29:23 +0000 (09:29 -0600)] 
typo; update version; actually include the Lua binding

3 years agotypo 10797/head
Otto Moerbeek [Tue, 12 Oct 2021 13:49:56 +0000 (15:49 +0200)] 
typo

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoMerge pull request #10814 from chbruyand/dnsdist-setednsoptionaction
Remi Gacogne [Tue, 12 Oct 2021 12:56:37 +0000 (14:56 +0200)] 
Merge pull request #10814 from chbruyand/dnsdist-setednsoptionaction

dnsdist: add lua support for SetEDNSOptionAction

3 years agoMerge pull request #10833 from chbruyand/dnsdist-protocol-grepq
Remi Gacogne [Tue, 12 Oct 2021 12:56:13 +0000 (14:56 +0200)] 
Merge pull request #10833 from chbruyand/dnsdist-protocol-grepq

dnsdist: add incoming and outgoing protocols to grepq

3 years agoSpelling: add EDE as a word 10839/head
Otto [Tue, 12 Oct 2021 12:45:47 +0000 (14:45 +0200)] 
Spelling: add EDE as a word

3 years agoTell the default value inn the upgrade notes 10838/head
Otto [Tue, 12 Oct 2021 12:40:35 +0000 (14:40 +0200)] 
Tell the default value inn the upgrade notes

3 years agoProvide a little example for extendedErrorCode/extendedErrorExtra
Otto [Tue, 12 Oct 2021 11:47:22 +0000 (13:47 +0200)] 
Provide a little example for extendedErrorCode/extendedErrorExtra

3 years agoAdd setting to switch to non-structed logging
Otto [Tue, 12 Oct 2021 10:19:55 +0000 (12:19 +0200)] 
Add setting to switch to non-structed logging

3 years agokv-example-script.lua: clean up spaces + empty lines 10837/head
George Melikov [Mon, 11 Oct 2021 16:01:23 +0000 (19:01 +0300)] 
kv-example-script.lua: clean up spaces + empty lines

3 years agoA compatibiliy macro to have both old and new logging.
Otto [Wed, 6 Oct 2021 14:18:15 +0000 (16:18 +0200)] 
A compatibiliy macro to have both old and new logging.

Existing logging is routed to old-style to avoid breaking log scanner
tools. New logging can use the structured logging API.

3 years agokv-example-script.lua: use pdnslog() instead of print()
George Melikov [Mon, 11 Oct 2021 15:57:57 +0000 (18:57 +0300)] 
kv-example-script.lua: use pdnslog() instead of print()

3 years agoMerge pull request #1 from rgacogne/dnsdist-protocol-grepq 10833/head
Charles-Henri Bruyand [Mon, 11 Oct 2021 14:19:17 +0000 (16:19 +0200)] 
Merge pull request #1 from rgacogne/dnsdist-protocol-grepq

 dnsdist: Prevent implicit conversions between dnsdist::Protocol and uint8_t

3 years agodnsdist: Return a pretty protocol string for DNSResponse objects
Remi Gacogne [Mon, 11 Oct 2021 14:00:19 +0000 (16:00 +0200)] 
dnsdist: Return a pretty protocol string for DNSResponse objects

3 years agodnsdist: Prevent implicit conversions between dnsdist::Protocol and uint8_t
Remi Gacogne [Mon, 11 Oct 2021 13:52:18 +0000 (15:52 +0200)] 
dnsdist: Prevent implicit conversions between dnsdist::Protocol and uint8_t

This commit makes sure that we always use the dnsdist::Protocol type,
and that we cannot easily convert to or from a different type by mistake.

C++ really dropped the ball by making it impossible to declare methods
on the 'enum class' that solved the issue of making regular enums
implicitly convertible to int and back, thus making it possible to
assign and compare different types of enums together, as well as
enums and ints.
The result is that we are stuck with declaring classes to hold our
methods, along with a lot of plumbing to make sure that we can convert
in some cases but not allow obvious mistakes from happening.

3 years agoMerge pull request #10826 from omoerbeek/rec-prep-4.5.6
Otto Moerbeek [Mon, 11 Oct 2021 11:30:08 +0000 (13:30 +0200)] 
Merge pull request #10826 from omoerbeek/rec-prep-4.5.6

rec: Prep for rec-4.5.6

3 years agoUpdate 4.5.rst 10826/head
Otto Moerbeek [Mon, 11 Oct 2021 11:07:33 +0000 (13:07 +0200)] 
Update 4.5.rst

3 years agoAdd a few tests for the PacketCache TTLs:
Otto [Mon, 11 Oct 2021 10:11:15 +0000 (12:11 +0200)] 
Add a few tests for the PacketCache TTLs:

- ordinary records case
- NXDomain and NoData cases
- ServFail case

The "no answer and no auth records" is not possible to generate using an Auth Zone afaik.

3 years agorec: Prevent false sharing for the recursor's metrics
Remi Gacogne [Mon, 11 Oct 2021 09:08:05 +0000 (11:08 +0200)] 
rec: Prevent false sharing for the recursor's metrics

3 years agoDocs improvements from review
Otto Moerbeek [Mon, 11 Oct 2021 09:04:00 +0000 (11:04 +0200)] 
Docs improvements from review

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agofix fuzz_target_dnsdistcache build
Charles-Henri Bruyand [Mon, 11 Oct 2021 09:01:52 +0000 (11:01 +0200)] 
fix fuzz_target_dnsdistcache build

3 years agoMerge pull request #10828 from omoerbeek/rec-proxy-protobuf-test
Otto Moerbeek [Mon, 11 Oct 2021 08:45:33 +0000 (10:45 +0200)] 
Merge pull request #10828 from omoerbeek/rec-proxy-protobuf-test

rec: Basic test for the `from' and `to' fields in protobuf when proxy protocol is used.

3 years agodnsdist: add incoming and outgoing protocols to grepq
Charles-Henri Bruyand [Mon, 11 Oct 2021 08:12:15 +0000 (10:12 +0200)] 
dnsdist: add incoming and outgoing protocols to grepq

3 years agoRule for outstanding limits
ph1 [Sun, 10 Oct 2021 02:35:23 +0000 (20:35 -0600)] 
Rule for outstanding limits

3 years agoMerge pull request #10831 from phonedph1/patch-29
Pieter Lexis [Sat, 9 Oct 2021 09:02:54 +0000 (11:02 +0200)] 
Merge pull request #10831 from phonedph1/patch-29

Update dq.rst

3 years agoUpdate dq.rst 10831/head
phonedph1 [Sat, 9 Oct 2021 01:48:16 +0000 (19:48 -0600)] 
Update dq.rst

3 years agoBasic test for the `from' and `to' fields in protobuf when proxy protocol is used. 10828/head
Otto Moerbeek [Fri, 8 Oct 2021 12:36:26 +0000 (14:36 +0200)] 
Basic test for the `from' and `to' fields in protobuf when proxy protocol is used.

Fixes #10114, as there are already tests for the other mentioned cases.

3 years agoMerge pull request #10819 from Habbie/proxy-guide
Peter van Dijk [Fri, 8 Oct 2021 11:11:42 +0000 (13:11 +0200)] 
Merge pull request #10819 from Habbie/proxy-guide

auth, rec docs: some improvements

3 years agoPrep for rec-4.5.6
Otto Moerbeek [Fri, 8 Oct 2021 09:33:23 +0000 (11:33 +0200)] 
Prep for rec-4.5.6

3 years agoMerge pull request #10818 from aerique/feature/add-auth-45-46-to-repo-script
aerique [Fri, 8 Oct 2021 08:26:31 +0000 (10:26 +0200)] 
Merge pull request #10818 from aerique/feature/add-auth-45-46-to-repo-script

Add auth-45 and auth-46 to repo test script.

3 years agoMerge pull request #10817 from omoerbeek/rec-prep-4.4.6
Otto Moerbeek [Fri, 8 Oct 2021 08:17:46 +0000 (10:17 +0200)] 
Merge pull request #10817 from omoerbeek/rec-prep-4.4.6

rec: Prep for rec-4.4.6

3 years agoQuating and spelling 10817/head
Otto Moerbeek [Fri, 8 Oct 2021 08:14:24 +0000 (10:14 +0200)] 
Quating and spelling

3 years agoPrep for rec-4.4.6
Otto [Wed, 6 Oct 2021 11:36:22 +0000 (13:36 +0200)] 
Prep for rec-4.4.6

3 years agoCondition covering NoError, NXDomain and missing records properly
Otto Moerbeek [Fri, 8 Oct 2021 05:35:32 +0000 (07:35 +0200)] 
Condition covering NoError, NXDomain and missing records properly

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoMerge pull request #10798 from gmelikov/examples
Otto Moerbeek [Fri, 8 Oct 2021 05:33:30 +0000 (07:33 +0200)] 
Merge pull request #10798 from gmelikov/examples

Recursor: update powerdns-example-script.lua

3 years agodnsdist: Disable TLS renegotiation, release buffers for outgoing TLS 10823/head
Remi Gacogne [Thu, 7 Oct 2021 15:35:26 +0000 (17:35 +0200)] 
dnsdist: Disable TLS renegotiation, release buffers for outgoing TLS

We already do that for incoming TLS connections, do it for outgoing
ones as well.

3 years agodnsdist: Document the ringbuffers' size impacts Dynamic Blocks 10822/head
Remi Gacogne [Thu, 7 Oct 2021 14:07:01 +0000 (16:07 +0200)] 
dnsdist: Document the ringbuffers' size impacts Dynamic Blocks

The number of entries available in the in-memory ring buffers is
crucial for some of the Dynamic Block rules, as they simply will never
trigger if there are too few queries and responses available.

Suggested by Denis Machard on the mailing-list (thanks!).

3 years agoRename the 'queued' metric of the Remote Logger to 'processed' 10821/head
Remi Gacogne [Thu, 7 Oct 2021 12:34:02 +0000 (14:34 +0200)] 
Rename the 'queued' metric of the Remote Logger to 'processed'

Since it was not clear at all whether 'queued' meant 'has been put
in the queue at some point, might have been sent or not' or 'actually
still in the queue' (it was the former).

3 years agodnsdist: Add #10157 to the upgrade guide and the 1.7.0-alpha1 ChangeLog 10820/head
Remi Gacogne [Thu, 7 Oct 2021 12:23:31 +0000 (14:23 +0200)] 
dnsdist: Add #10157 to the upgrade guide and the 1.7.0-alpha1 ChangeLog

As suggested by Denis Machard on the mailing-list (thanks!).

3 years agoadd pdnsutil note about attodot removal to upgrade guide 10819/head
Peter van Dijk [Thu, 7 Oct 2021 10:03:45 +0000 (12:03 +0200)] 
add pdnsutil note about attodot removal to upgrade guide

3 years agoauth, rec docs: link to dnsdist PROXY guide
Peter van Dijk [Thu, 7 Oct 2021 09:37:11 +0000 (11:37 +0200)] 
auth, rec docs: link to dnsdist PROXY guide

3 years agoAdd auth-45 and auth-46 to repo test script. 10818/head
Erik Winkels [Thu, 7 Oct 2021 08:32:18 +0000 (10:32 +0200)] 
Add auth-45 and auth-46 to repo test script.

Also remove auth-41, auth-42 and rec-42 from the script.

3 years agoMerge pull request #10747 from Habbie/auth-4.6.0-alpha1-docs
Peter van Dijk [Thu, 7 Oct 2021 08:24:06 +0000 (10:24 +0200)] 
Merge pull request #10747 from Habbie/auth-4.6.0-alpha1-docs

auth 4.6.0 alpha1: changelog & secpoll

3 years agoauth 4.6.0 alpha1: changelog & secpoll 10747/head
Peter van Dijk [Tue, 21 Sep 2021 14:04:35 +0000 (16:04 +0200)] 
auth 4.6.0 alpha1: changelog & secpoll

3 years agoMerge pull request #10791 from chbruyand/dnsdist-skip-options
Remi Gacogne [Thu, 7 Oct 2021 07:59:34 +0000 (09:59 +0200)] 
Merge pull request #10791 from chbruyand/dnsdist-skip-options

dnsdist: allow skipping arbitrary EDNS options when computing packet hash

3 years agoMerge pull request #10812 from chbruyand/dnsdist-advancedtests-cleanup
Remi Gacogne [Thu, 7 Oct 2021 07:55:40 +0000 (09:55 +0200)] 
Merge pull request #10812 from chbruyand/dnsdist-advancedtests-cleanup

dnsdist tests: remove redundant tests

3 years agoMake sure that any EDNS sent by the backend is removed before forwarding the response... 10814/head
Charles-Henri Bruyand [Wed, 6 Oct 2021 15:19:02 +0000 (17:19 +0200)] 
Make sure that any EDNS sent by the backend is removed before forwarding the response to the client

3 years agofuzz: update canHashPacket() calls accordingly 10791/head
Charles-Henri Bruyand [Wed, 6 Oct 2021 12:30:35 +0000 (14:30 +0200)] 
fuzz: update canHashPacket() calls accordingly

3 years agoMerge pull request #10780 from Habbie/remove-attodot auth-4.6.0-alpha1
Peter van Dijk [Wed, 6 Oct 2021 11:06:17 +0000 (13:06 +0200)] 
Merge pull request #10780 from Habbie/remove-attodot

auth: remove attodot feature; fixes #10254

3 years agoremove DNSDistPacketCache::setCookieHashing and clarify documentation and code about...
Charles-Henri Bruyand [Wed, 6 Oct 2021 10:14:12 +0000 (12:14 +0200)] 
remove DNSDistPacketCache::setCookieHashing and clarify documentation and code about skipped options

3 years agoMerge pull request #10788 from mind04/pdns-getalldomains
Peter van Dijk [Wed, 6 Oct 2021 10:00:27 +0000 (12:00 +0200)] 
Merge pull request #10788 from mind04/pdns-getalldomains

auth: improve SOA parse exception handling

3 years agoprevent unnecessary padding
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:28:12 +0000 (11:28 +0200)] 
prevent unnecessary padding

3 years agodnsdist: add lua support for SetEDNSOptionAction to set arbitrary EDNS option and...
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:10:19 +0000 (11:10 +0200)] 
dnsdist: add lua support for SetEDNSOptionAction to set arbitrary EDNS option and content to the query

3 years agodnsdist tests: remove redundant tests 10812/head
Charles-Henri Bruyand [Wed, 6 Oct 2021 09:18:43 +0000 (11:18 +0200)] 
dnsdist tests: remove redundant tests

3 years agopdnsutil check-zone: warn about @ in SOA RNAME 10780/head
Peter van Dijk [Fri, 1 Oct 2021 15:03:24 +0000 (17:03 +0200)] 
pdnsutil check-zone: warn about @ in SOA RNAME

Co-authored-by: Kees Monshouwer <mind04@monshouwer.org>
3 years agoauth: remove attodot feature; fixes #10254
Peter van Dijk [Thu, 23 Sep 2021 15:25:16 +0000 (17:25 +0200)] 
auth: remove attodot feature; fixes #10254

3 years agotoo short title line
Otto Moerbeek [Wed, 6 Oct 2021 05:42:00 +0000 (07:42 +0200)] 
too short title line

3 years agoMerge pull request #10800 from omoerbeek/rec-fix-10799
Otto Moerbeek [Tue, 5 Oct 2021 19:20:58 +0000 (21:20 +0200)] 
Merge pull request #10800 from omoerbeek/rec-fix-10799

rec: Fix compile error on Ubuntu 18

3 years agoFixes 10799: 10800/head
Otto [Tue, 5 Oct 2021 11:50:12 +0000 (13:50 +0200)] 
Fixes 10799:
test-rec-zonetocache.cc: In member function 'void rec_zonetocache::test_zonetocache::test_method()':
test-rec-zonetocache.cc:77:27: sorry, unimplemented: non-trivial designated initializers not supported
       .d_refreshPeriod = 0};
       ^
test-rec-zonetocache.cc:77:27: warning: missing initializer for member 'RecZoneToCache::Config::d_tt' [-Wmissing-field-initializers]

3 years agopowerdns-example-script.lua: clean up empty lines and spaces 10798/head
George Melikov [Tue, 5 Oct 2021 13:00:52 +0000 (16:00 +0300)] 
powerdns-example-script.lua: clean up empty lines and spaces

3 years agoDo not consider an NXDomain reply an error
Otto [Tue, 5 Oct 2021 11:44:15 +0000 (13:44 +0200)] 
Do not consider an NXDomain reply an error

3 years agoRecursor: update powerdns-example-script.lua
George Melikov [Tue, 5 Oct 2021 10:06:48 +0000 (13:06 +0300)] 
Recursor: update powerdns-example-script.lua

print() won't output properly, use pdnslog.

3 years agoMerge pull request #10794 from omoerbeek/rec-zonetocache-followup
Otto Moerbeek [Tue, 5 Oct 2021 10:08:38 +0000 (12:08 +0200)] 
Merge pull request #10794 from omoerbeek/rec-zonetocache-followup

rec: Followup on ZoneToCache and fix #10246: document local root config

3 years agoUse packetcache-servfail-ttl for all packet cache entries considered an error reply.
Otto [Tue, 5 Oct 2021 09:20:24 +0000 (11:20 +0200)] 
Use packetcache-servfail-ttl for all packet cache entries considered an error reply.

The "this is an error" test is: no answer records and rcode not equal to NoError. This needs to be validated.
Fixes #9135.

3 years agoApply suggestions from code review 10794/head
Otto Moerbeek [Tue, 5 Oct 2021 08:47:42 +0000 (10:47 +0200)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoauth: fix the SOA check in pdnsutil 10788/head
Kees Monshouwer [Fri, 1 Oct 2021 08:33:27 +0000 (10:33 +0200)] 
auth: fix the SOA check in pdnsutil

3 years agoauth: ignore broken SOA content in getAllDomains(),
Kees Monshouwer [Thu, 30 Sep 2021 20:46:28 +0000 (22:46 +0200)] 
auth: ignore broken SOA content in getAllDomains(),
avoid unnecessary parsing of SOA content

3 years agoFollowup on ZoneToCache and fix #10246: document local root config (rfc8806)
Otto [Tue, 5 Oct 2021 07:42:19 +0000 (09:42 +0200)] 
Followup on ZoneToCache and fix #10246: document local root config (rfc8806)

3 years agoMerge pull request #10505 from omoerbeek/rec-zonetocache
Otto Moerbeek [Mon, 4 Oct 2021 13:23:00 +0000 (15:23 +0200)] 
Merge pull request #10505 from omoerbeek/rec-zonetocache

Add a periodic zones-to-cache function.

3 years agoAdd two comments based on code review 10505/head
Otto [Mon, 4 Oct 2021 11:46:59 +0000 (13:46 +0200)] 
Add two comments based on code review

3 years agoSmall stuff from review comments
Otto [Mon, 4 Oct 2021 11:36:50 +0000 (13:36 +0200)] 
Small stuff from review comments

3 years agoBasic zone to cache unit test plus scaffolding to make structured
Otto [Mon, 4 Oct 2021 10:23:21 +0000 (12:23 +0200)] 
Basic zone to cache unit test plus scaffolding to make structured
logging work (test backend logs to the regular logging)

3 years agoDon;t take refresh time from SOA, allow for single shot (refreshPeriod = 0) and
Otto Moerbeek [Fri, 1 Oct 2021 13:40:47 +0000 (15:40 +0200)] 
Don;t take refresh time from SOA, allow for single shot (refreshPeriod = 0) and
docs fixes.

3 years agoDocs
Otto Moerbeek [Fri, 1 Oct 2021 12:18:23 +0000 (14:18 +0200)] 
Docs

3 years agoUse structured logging, move loading to separate thread (a la RPZ)
Otto Moerbeek [Fri, 1 Oct 2021 11:42:14 +0000 (13:42 +0200)] 
Use structured logging, move loading to separate thread (a la RPZ)

3 years agosetting verbosity should not reset the logger name
Otto Moerbeek [Fri, 1 Oct 2021 11:31:57 +0000 (13:31 +0200)] 
setting verbosity should not reset the logger name

3 years agoCurrent code doesn't care if dnssec is enabled or not; reorder struct Config
Otto [Wed, 29 Sep 2021 14:36:42 +0000 (16:36 +0200)] 
Current code doesn't care if dnssec is enabled or not; reorder struct Config

3 years agoScaffolding for config via Lua
Otto [Wed, 29 Sep 2021 13:51:51 +0000 (15:51 +0200)] 
Scaffolding for config via Lua

3 years agoAdd a periodic zones-to-cache function.
Otto [Wed, 12 May 2021 13:56:57 +0000 (15:56 +0200)] 
Add a periodic zones-to-cache function.

No signatures are validated, that will happen on-demand if the
records are used.

3 years agoMerge pull request #10562 from Habbie/auth-log-nsname
Peter van Dijk [Mon, 4 Oct 2021 10:02:47 +0000 (12:02 +0200)] 
Merge pull request #10562 from Habbie/auth-log-nsname

auth NOTIFY: log names of NSes we could not resolve

3 years agoMerge pull request #10784 from Habbie/docs-remove-autoserial
Peter van Dijk [Mon, 4 Oct 2021 08:22:04 +0000 (10:22 +0200)] 
Merge pull request #10784 from Habbie/docs-remove-autoserial

auth docs: remove some leftover mentions of autoserial

3 years agoMerge pull request #10787 from rgacogne/ddist-udp-cross-protocol-cache
Remi Gacogne [Mon, 4 Oct 2021 07:38:17 +0000 (09:38 +0200)] 
Merge pull request #10787 from rgacogne/ddist-udp-cross-protocol-cache

dnsdist: Properly cache UDP queries passed to a TCP/DoT/DoH backend

3 years agoMerge pull request #10789 from rgacogne/ddist-typo-healthchecks
Remi Gacogne [Mon, 4 Oct 2021 07:32:13 +0000 (09:32 +0200)] 
Merge pull request #10789 from rgacogne/ddist-typo-healthchecks

dnsdist: Fix several typos in the health check code

3 years agoMerge pull request #10783 from rgacogne/remove-BoundsCheckingPointer
Remi Gacogne [Mon, 4 Oct 2021 07:20:57 +0000 (09:20 +0200)] 
Merge pull request #10783 from rgacogne/remove-BoundsCheckingPointer

Remove the unused BoundsCheckingPointer class