]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoApply suggestions from code review 11355/head
Otto Moerbeek [Fri, 25 Feb 2022 10:56:07 +0000 (11:56 +0100)] 
Apply suggestions from code review

Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agoPrep for rec-4.7.0-alpha1
Otto Moerbeek [Wed, 23 Feb 2022 10:22:10 +0000 (11:22 +0100)] 
Prep for rec-4.7.0-alpha1

3 years agoMerge pull request #11338 from omoerbeek/rec-addrtask
Otto Moerbeek [Wed, 23 Feb 2022 08:35:45 +0000 (09:35 +0100)] 
Merge pull request #11338 from omoerbeek/rec-addrtask

rec: QType ADDR is supposed to be used internally only.

3 years agoMerge pull request #11334 from rgacogne/ddist-fix-xfr-error-crash
Remi Gacogne [Wed, 23 Feb 2022 08:34:43 +0000 (09:34 +0100)] 
Merge pull request #11334 from rgacogne/ddist-fix-xfr-error-crash

dnsdist: Fix a use-after-free in case of a network error in the middle of a XFR query

3 years agoUse structured logging 11338/head
Otto Moerbeek [Wed, 23 Feb 2022 06:44:45 +0000 (07:44 +0100)] 
Use structured logging

3 years agoDrop queries with packet types we do not like.
Otto Moerbeek [Mon, 21 Feb 2022 15:11:37 +0000 (16:11 +0100)] 
Drop queries with packet types we do not like.

While working on this, I noticed inconsistencies between UDP and TDP logging:
1 uses g_quiet, the other g_logCommonErrors. This needs to be revisited.

Also: the use of MT->getTid() seems strange, as it is used in places where
no mthread has been started yet in doProcessUDPQuestion() and handleRunningTCPQuestion().
That is, unless I'm missing something.

3 years agoChange log level to DEBUG, as the condition is externally triggerable.
Otto Moerbeek [Mon, 21 Feb 2022 08:21:07 +0000 (09:21 +0100)] 
Change log level to DEBUG, as the condition is externally triggerable.

3 years agoFormatting
Otto Moerbeek [Fri, 18 Feb 2022 16:53:15 +0000 (17:53 +0100)] 
Formatting

3 years agoLog error on wrong task push
Otto Moerbeek [Fri, 18 Feb 2022 16:38:00 +0000 (17:38 +0100)] 
Log error on wrong task push

3 years agoQType ADDR is supposed to be used internally only.
Otto Moerbeek [Fri, 18 Feb 2022 15:24:11 +0000 (16:24 +0100)] 
QType ADDR is supposed to be used internally only.

Should fix #11337

3 years agoMerge pull request #11347 from omoerbeek/rec-murmur-unaligned
Otto Moerbeek [Tue, 22 Feb 2022 19:53:15 +0000 (20:53 +0100)] 
Merge pull request #11347 from omoerbeek/rec-murmur-unaligned

rec: fix unaligned access is murmur hash code used by NOD

3 years agoMerge pull request #11302 from omoerbeek/rec-additional
Otto Moerbeek [Tue, 22 Feb 2022 18:37:38 +0000 (19:37 +0100)] 
Merge pull request #11302 from omoerbeek/rec-additional

Rec: add Additonal records to query results if appropriate

3 years agofix innocent type mixup 11347/head
Otto Moerbeek [Tue, 22 Feb 2022 18:36:56 +0000 (19:36 +0100)] 
fix innocent type mixup

Co-authored-by: Remi Gacogne <github@coredump.fr>
3 years agoMerge pull request #11293 from rgacogne/ddist-backend-discovery-rebased
Remi Gacogne [Tue, 22 Feb 2022 18:09:05 +0000 (19:09 +0100)] 
Merge pull request #11293 from rgacogne/ddist-backend-discovery-rebased

dnsdist: Dynamic discovery and upgrade of backends

3 years agoApply suggestions from code review 11302/head
Otto Moerbeek [Tue, 22 Feb 2022 10:19:51 +0000 (11:19 +0100)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <github@coredump.fr>
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoAdd tests for additionals
Otto Moerbeek [Tue, 15 Feb 2022 11:53:07 +0000 (12:53 +0100)] 
Add tests for additionals

3 years agoFor dedupping RRSIGs we need to take into account the type covered.
Otto Moerbeek [Tue, 15 Feb 2022 11:51:51 +0000 (12:51 +0100)] 
For dedupping RRSIGs we need to take into account the type covered.
Fix thinko: even if we' not doing IPvN ourselves, it stil can be interesting for clients

3 years agoAdd docs for addAllowedAdditionalQType()
Otto Moerbeek [Tue, 15 Feb 2022 09:25:07 +0000 (10:25 +0100)] 
Add docs for addAllowedAdditionalQType()

3 years agoAllow not shuffling the Additionals
Otto Moerbeek [Mon, 14 Feb 2022 11:26:20 +0000 (12:26 +0100)] 
Allow not shuffling the Additionals

3 years agoBetter DNSSEC handling: do not add Intermnediates if validation is required.
Otto Moerbeek [Fri, 11 Feb 2022 07:46:03 +0000 (08:46 +0100)] 
Better DNSSEC handling: do not add Intermnediates if validation is required.
Also remember the validation status of the main query.

3 years agoAdd recursion, the records found can be subject to expansion
Otto Moerbeek [Mon, 7 Feb 2022 14:56:03 +0000 (15:56 +0100)] 
Add recursion, the records found can be subject to expansion

3 years agorec: fix unaligned access is murmur hash code used by NOD
Otto Moerbeek [Tue, 22 Feb 2022 13:26:26 +0000 (14:26 +0100)] 
rec: fix unaligned access is murmur hash code used by NOD

3 years agoMerge pull request #11294 from omoerbeek/rec-resolve-aaaa-task
Otto Moerbeek [Tue, 22 Feb 2022 14:32:59 +0000 (15:32 +0100)] 
Merge pull request #11294 from omoerbeek/rec-resolve-aaaa-task

Rec: resolve AAAA for NS in an async task

3 years agodnsdist: Document that whether we upgrade to DoT or DoH depends on the SVCB record 11293/head
Remi Gacogne [Tue, 22 Feb 2022 12:33:19 +0000 (13:33 +0100)] 
dnsdist: Document that whether we upgrade to DoT or DoH depends on the SVCB record

3 years agoAdd unit tests for taskqueue, removing the old stub code and using the real stuff 11294/head
Otto Moerbeek [Tue, 22 Feb 2022 09:50:04 +0000 (10:50 +0100)] 
Add unit tests for taskqueue, removing the old stub code and using the real stuff

3 years agodnsdist: Fix an off-by-one second issue in the health-check interval
Remi Gacogne [Thu, 17 Feb 2022 09:31:12 +0000 (10:31 +0100)] 
dnsdist: Fix an off-by-one second issue in the health-check interval

3 years agodnsdist: Schedule an immediate health-check for upgraded backends
Remi Gacogne [Wed, 16 Feb 2022 16:15:00 +0000 (17:15 +0100)] 
dnsdist: Schedule an immediate health-check for upgraded backends

3 years agodnsdist: Fix backends kept after upgrade no longer working
Remi Gacogne [Wed, 16 Feb 2022 16:14:11 +0000 (17:14 +0100)] 
dnsdist: Fix backends kept after upgrade no longer working

3 years agodnsdist: Remove move-constructor and move copy operator for DownstreamState
Remi Gacogne [Wed, 16 Feb 2022 15:00:07 +0000 (16:00 +0100)] 
dnsdist: Remove move-constructor and move copy operator for DownstreamState

3 years agoiputils: Stop using boost::format for error messages
Remi Gacogne [Fri, 11 Feb 2022 08:45:37 +0000 (09:45 +0100)] 
iputils: Stop using boost::format for error messages

3 years agodnsdist: Wait a bit longer in the Backend Discovery regression tests
Remi Gacogne [Thu, 10 Feb 2022 14:50:54 +0000 (15:50 +0100)] 
dnsdist: Wait a bit longer in the Backend Discovery regression tests

Otherwise TSAN complains about a race in `boost::format` between the
connection error message in `SConnectWithTimeout()` and the output of
`showServers()`..

3 years agodnsdist: Do a second backend upgrade check if the first failed, in the regression...
Remi Gacogne [Thu, 10 Feb 2022 10:40:31 +0000 (11:40 +0100)] 
dnsdist: Do a second backend upgrade check if the first failed, in the regression tests

3 years agodnsdist: Remove duplicated TSAN suppressions file
Remi Gacogne [Wed, 9 Feb 2022 10:41:59 +0000 (11:41 +0100)] 
dnsdist: Remove duplicated TSAN suppressions file

3 years agodnsdist: Ignore the data race in 'DownstreamState::stop()'
Remi Gacogne [Wed, 9 Feb 2022 10:41:28 +0000 (11:41 +0100)] 
dnsdist: Ignore the data race in 'DownstreamState::stop()'

3 years agodnsdist: Properly stop upgraded backends, remove them from pools
Remi Gacogne [Wed, 9 Feb 2022 09:44:35 +0000 (10:44 +0100)] 
dnsdist: Properly stop upgraded backends, remove them from pools

3 years agodnsdist: Require dnspython >= 2.2.0 in our regression tests for SVCB
Remi Gacogne [Tue, 8 Feb 2022 16:46:26 +0000 (17:46 +0100)] 
dnsdist: Require dnspython >= 2.2.0 in our regression tests for SVCB

3 years agodnsdist: The certificate in our regression tests now has '127.0.0.1'
Remi Gacogne [Tue, 8 Feb 2022 16:43:02 +0000 (17:43 +0100)] 
dnsdist: The certificate in our regression tests now has '127.0.0.1'

3 years agodnsdist: Add regression tests for backend discovery
Remi Gacogne [Tue, 8 Feb 2022 09:37:17 +0000 (10:37 +0100)] 
dnsdist: Add regression tests for backend discovery

3 years agoTCPIOHandler: Handle validation of IP addresses in certificates
Remi Gacogne [Tue, 8 Feb 2022 09:35:19 +0000 (10:35 +0100)] 
TCPIOHandler: Handle validation of IP addresses in certificates

3 years agodnsdist: Inherit TLS parameters from the initial backend when upgrading
Remi Gacogne [Mon, 7 Feb 2022 17:23:41 +0000 (18:23 +0100)] 
dnsdist: Inherit TLS parameters from the initial backend when upgrading

3 years agodnsdist: Fix additional records count in discovery queries
Remi Gacogne [Mon, 7 Feb 2022 16:44:00 +0000 (17:44 +0100)] 
dnsdist: Fix additional records count in discovery queries

3 years agodnsdist: Check whether the discovered backend is actually usable
Remi Gacogne [Mon, 7 Feb 2022 14:16:33 +0000 (15:16 +0100)] 
dnsdist: Check whether the discovered backend is actually usable

3 years agodnsdist: Use dnsdist::ServiceDiscovery::s_defaultDoHSVCKey in newServer
Remi Gacogne [Mon, 7 Feb 2022 14:15:57 +0000 (15:15 +0100)] 
dnsdist: Use dnsdist::ServiceDiscovery::s_defaultDoHSVCKey in newServer

3 years agodnsdist: Use OpenSSL as the default TLS provider in client mode
Remi Gacogne [Mon, 7 Feb 2022 14:15:02 +0000 (15:15 +0100)] 
dnsdist: Use OpenSSL as the default TLS provider in client mode

3 years agodnsdist: Uglify the code to make the formatter happy
Remi Gacogne [Fri, 4 Feb 2022 15:14:34 +0000 (16:14 +0100)] 
dnsdist: Uglify the code to make the formatter happy

3 years agodnsdist: Dynamic discovery and upgrade of backends
Remi Gacogne [Fri, 7 Jan 2022 16:40:50 +0000 (17:40 +0100)] 
dnsdist: Dynamic discovery and upgrade of backends

3 years agodnsdist: Separate config from running members in DownstreamState
Remi Gacogne [Fri, 4 Feb 2022 14:27:19 +0000 (15:27 +0100)] 
dnsdist: Separate config from running members in DownstreamState

3 years agoMerge pull request #11163 from rgacogne/ddist-random-ports
Remi Gacogne [Tue, 22 Feb 2022 08:25:01 +0000 (09:25 +0100)] 
Merge pull request #11163 from rgacogne/ddist-random-ports

dnsdist: Allow randomly selecting a backend UDP socket and query ID

3 years agoMerge pull request #11323 from rgacogne/ddist-latency-count
Remi Gacogne [Tue, 22 Feb 2022 08:24:06 +0000 (09:24 +0100)] 
Merge pull request #11323 from rgacogne/ddist-latency-count

dnsdist: Fix the latency-count metric

3 years agoTypo's in comments spotted by reviewers
Otto Moerbeek [Tue, 22 Feb 2022 07:57:17 +0000 (08:57 +0100)] 
Typo's in comments spotted by reviewers

3 years agoBetter description of latency-count and latency-bucket 11323/head
Otto Moerbeek [Tue, 22 Feb 2022 07:17:34 +0000 (08:17 +0100)] 
Better description of latency-count and latency-bucket

3 years agoMerge pull request #11324 from rgacogne/ddist-gnutls-leak-fixed-373
Remi Gacogne [Mon, 21 Feb 2022 11:35:22 +0000 (12:35 +0100)] 
Merge pull request #11324 from rgacogne/ddist-gnutls-leak-fixed-373

dnsdist: Remove the leak warning with GnuTLS >= 3.7.3

3 years agoMerge pull request #11344 from mnordhoff/patch-9
Peter van Dijk [Sun, 20 Feb 2022 18:11:29 +0000 (19:11 +0100)] 
Merge pull request #11344 from mnordhoff/patch-9

docs: Fix lmdb-map-size copy and paste mistake

3 years agodocs: Fix lmdb-map-size copy and paste mistake 11344/head
Matt Nordhoff [Sun, 20 Feb 2022 17:32:34 +0000 (17:32 +0000)] 
docs: Fix lmdb-map-size copy and paste mistake

3 years agoPurge rate limiting set for sure
Otto Moerbeek [Sat, 19 Feb 2022 16:11:24 +0000 (17:11 +0100)] 
Purge rate limiting set for sure

3 years agoMerge pull request #11328 from Habbie/auth-lmdb-map-size
Peter van Dijk [Fri, 18 Feb 2022 09:34:36 +0000 (10:34 +0100)] 
Merge pull request #11328 from Habbie/auth-lmdb-map-size

auth lmdb: make map size configurable

3 years agoauth lmdb: make map size configurable 11328/head
Peter van Dijk [Tue, 15 Feb 2022 15:21:32 +0000 (16:21 +0100)] 
auth lmdb: make map size configurable

3 years agoMerge pull request #11327 from omoerbeek/rec-follow-and-dns64
Otto Moerbeek [Fri, 18 Feb 2022 08:20:35 +0000 (09:20 +0100)] 
Merge pull request #11327 from omoerbeek/rec-follow-and-dns64

Rec: followCNAME and native dns64

3 years agoMerge pull request #11333 from Habbie/auth-4.7.0-alpha1-docs
Peter van Dijk [Thu, 17 Feb 2022 18:22:57 +0000 (19:22 +0100)] 
Merge pull request #11333 from Habbie/auth-4.7.0-alpha1-docs

auth-4.7.0-alpha1: changelog & secpoll

3 years agoDon't rate limit refresh tasks, they are already rate limited by packet and record...
Otto Moerbeek [Thu, 17 Feb 2022 14:43:55 +0000 (15:43 +0100)] 
Don't rate limit refresh tasks, they are already rate limited by packet and record cache code.

3 years agoGeneral rate limit on taskqueue tasks
Otto Moerbeek [Wed, 16 Feb 2022 09:31:31 +0000 (10:31 +0100)] 
General rate limit on taskqueue tasks

3 years agoMove to structured logging for taskq. As this is almost 100%
Otto Moerbeek [Wed, 16 Feb 2022 07:39:33 +0000 (08:39 +0100)] 
Move to structured logging for taskq. As this is almost 100%
debug only logging, no backward compat mode

3 years agoIf we have to resolve a nameserver name, submit a AAAA query for the
Otto Moerbeek [Tue, 1 Feb 2022 14:45:54 +0000 (15:45 +0100)] 
If we have to resolve a nameserver name, submit a AAAA query for the
same name asynchronously if it's not in the negcache.

3 years agoMerge pull request #11336 from aerique/feature/add-auth-47-to-repo-script
Peter van Dijk [Thu, 17 Feb 2022 14:46:46 +0000 (15:46 +0100)] 
Merge pull request #11336 from aerique/feature/add-auth-47-to-repo-script

Add auth-47 to repo test script.

3 years agoAdd auth-47 to repo test script. 11336/head
Erik Winkels [Thu, 17 Feb 2022 12:21:13 +0000 (13:21 +0100)] 
Add auth-47 to repo test script.

3 years agodnsdist: Add a unit test for the "I/O error during proxy-enabled XFR" case 11334/head
Remi Gacogne [Thu, 17 Feb 2022 11:23:27 +0000 (12:23 +0100)] 
dnsdist: Add a unit test for the "I/O error during proxy-enabled XFR" case

3 years agodnsdist: Fix a use-after-free in case of a network error in the middle of a XFR query
Remi Gacogne [Thu, 17 Feb 2022 10:22:44 +0000 (11:22 +0100)] 
dnsdist: Fix a use-after-free in case of a network error in the middle of a XFR query

3 years agoauth-4.7.0-alpha1: changelog & secpoll 11333/head
Peter van Dijk [Thu, 17 Feb 2022 08:26:02 +0000 (09:26 +0100)] 
auth-4.7.0-alpha1: changelog & secpoll

3 years agodnsdist: Document the default behaviour of setRandomizedIdsOverUDP and setRandomizedO... 11163/head
Remi Gacogne [Wed, 16 Feb 2022 14:51:23 +0000 (15:51 +0100)] 
dnsdist: Document the default behaviour of setRandomizedIdsOverUDP and setRandomizedOutgoingSockets

3 years agodnsdist: Use randombytes_random() instead of randombytes_uniform() without bounds
Remi Gacogne [Wed, 16 Feb 2022 14:50:48 +0000 (15:50 +0100)] 
dnsdist: Use randombytes_random() instead of randombytes_uniform() without bounds

3 years agoAdd test case for #11320: followCNAMERecords leads to a result that 11327/head
Otto Moerbeek [Tue, 15 Feb 2022 13:09:36 +0000 (14:09 +0100)] 
Add test case for #11320:  followCNAMERecords leads to a result that
should be subject to dns64 processing

3 years agoIf we get NODATA on an AAAA in followCNAMERecords, try dns64
Otto Moerbeek [Mon, 14 Feb 2022 14:39:17 +0000 (15:39 +0100)] 
If we get NODATA on an AAAA in followCNAMERecords, try dns64

Fixes #11320

3 years agoMerge pull request #11322 from rgacogne/svc-typo-error-msg auth-4.7.0-alpha1
Remi Gacogne [Tue, 15 Feb 2022 08:35:59 +0000 (09:35 +0100)] 
Merge pull request #11322 from rgacogne/svc-typo-error-msg

Add a missing white-space in SvcParam::keyFromString()

3 years agoMerge pull request #11326 from omoerbeek/pdnsutil-import-zone-key-pem
Peter van Dijk [Tue, 15 Feb 2022 07:01:39 +0000 (08:01 +0100)] 
Merge pull request #11326 from omoerbeek/pdnsutil-import-zone-key-pem

Check return value of DNSCryptoKeyEngine::makeFromPEMString()

3 years agoMerge pull request #11309 from Habbie/lmdb-random-id
Peter van Dijk [Tue, 15 Feb 2022 06:15:25 +0000 (07:15 +0100)] 
Merge pull request #11309 from Habbie/lmdb-random-id

auth lmdb: add random ID generation feature

3 years agoCheck return value of DNSCryptoKeyEngine::makeFromPEMString() and 11326/head
Otto Moerbeek [Mon, 14 Feb 2022 19:49:40 +0000 (20:49 +0100)] 
Check return value of DNSCryptoKeyEngine::makeFromPEMString() and
do not implement non-implemented features with an empty body.

3 years agoBasic NAPTR handling plys different modes: Ignore, CacheOnly, CacheOnlyRequireAuth...
Otto Moerbeek [Mon, 7 Feb 2022 13:53:26 +0000 (14:53 +0100)] 
Basic NAPTR handling plys different modes: Ignore, CacheOnly, CacheOnlyRequireAuth, ResolveImmediately, ResolveDeferred

3 years agoVery basic (non-alias mode only) of procesing of SVCB target as a name to be used...
Otto Moerbeek [Mon, 7 Feb 2022 12:46:13 +0000 (13:46 +0100)] 
Very basic (non-alias mode only) of procesing of SVCB target as a name to be used for additionals A and AAAA's.

3 years agoInitial version, showing some working functionality
Otto Moerbeek [Mon, 7 Feb 2022 11:38:33 +0000 (12:38 +0100)] 
Initial version, showing some working functionality

3 years agoMerge pull request #11319 from omoerbeek/rec-lua-context
Otto Moerbeek [Mon, 14 Feb 2022 19:07:00 +0000 (20:07 +0100)] 
Merge pull request #11319 from omoerbeek/rec-lua-context

Read the base Lua definitions into the Lua context for reading the Lua config

3 years agoBetter GnuTLS warning as suggested by Matt Nordhoff 11324/head
Remi Gacogne [Mon, 14 Feb 2022 18:03:24 +0000 (19:03 +0100)] 
Better GnuTLS warning as suggested by Matt Nordhoff

Co-authored-by: Matt Nordhoff <mnordhoff@mattnordhoff.com>
3 years agodnsdist: Remove the leak warning with GnuTLS >= 3.7.3
Remi Gacogne [Mon, 14 Feb 2022 16:43:11 +0000 (17:43 +0100)] 
dnsdist: Remove the leak warning with GnuTLS >= 3.7.3

3 years agodnsdist: Fix the latency-count metric
Remi Gacogne [Mon, 14 Feb 2022 16:30:03 +0000 (17:30 +0100)] 
dnsdist: Fix the latency-count metric

3 years agoAdd a missing white-space in SvcParam::keyFromString() 11322/head
Remi Gacogne [Mon, 14 Feb 2022 16:14:03 +0000 (17:14 +0100)] 
Add a missing white-space in SvcParam::keyFromString()

3 years agoauth lmdb: add random ID generation feature 11309/head
Peter van Dijk [Fri, 4 Feb 2022 15:08:18 +0000 (16:08 +0100)] 
auth lmdb: add random ID generation feature

3 years agoMerge pull request #11300 from omoerbeek/rec-sr-lua-context
Otto Moerbeek [Mon, 14 Feb 2022 14:41:57 +0000 (15:41 +0100)] 
Merge pull request #11300 from omoerbeek/rec-sr-lua-context

rec: Use the Lua context stored in SyncRes when calling hooks.

3 years agoAlso store the Lua context for the TCP case 11300/head
Otto Moerbeek [Mon, 14 Feb 2022 13:55:10 +0000 (14:55 +0100)] 
Also store the Lua context for the TCP case

3 years agoMerge pull request #11313 from rgacogne/rec-missing-limits-include-extended
Remi Gacogne [Mon, 14 Feb 2022 13:22:37 +0000 (14:22 +0100)] 
Merge pull request #11313 from rgacogne/rec-missing-limits-include-extended

rec: Add missing 'limits' include in ednsextendederror.cc

3 years agoOverload operator -> to return a LuaContext* 11319/head
Otto Moerbeek [Mon, 14 Feb 2022 12:08:02 +0000 (13:08 +0100)] 
Overload operator -> to return a LuaContext*

@rgacogne suggested to return a LuaContext&, but AFAIKS that won't
fly because if the rescriction mentioned in
https://en.cppreference.com/w/cpp/language/operators:

The overload of operator -> must either return a raw pointer, or
return an object (by reference or by value) for which operator ->
is in turn overloaded.

As LuaContext has no -> operator, we must return a raw pointer.

3 years agoStore LuaContext shared pointer for the query in the ComboWriter object
Otto Moerbeek [Mon, 14 Feb 2022 08:25:16 +0000 (09:25 +0100)] 
Store LuaContext shared pointer for the query in the ComboWriter object

3 years agoMerge pull request #11315 from Habbie/el7-boost169
Peter van Dijk [Mon, 14 Feb 2022 10:26:23 +0000 (11:26 +0100)] 
Merge pull request #11315 from Habbie/el7-boost169

el7 builds: switch to boost 1.69

3 years agoRead the base Lua definitions into the Lua context for reading the Lua config.
Otto Moerbeek [Mon, 14 Feb 2022 09:22:05 +0000 (10:22 +0100)] 
Read the base Lua definitions into the Lua context for reading the Lua config.

This allows symbolic names for e.g. QTypes. Use that in protobufServer() and
outgoingProtobufServer(). Will also be used for the upcoming additional records code.

3 years agoMerge pull request #11317 from Habbie/dnsdist-libedit
Peter van Dijk [Fri, 11 Feb 2022 18:11:47 +0000 (19:11 +0100)] 
Merge pull request #11317 from Habbie/dnsdist-libedit

dnsdist: fix building without libedit

3 years agodnsdist: Keep 'help' working even when libedit has been disabled 11317/head
Remi Gacogne [Fri, 11 Feb 2022 16:18:56 +0000 (17:18 +0100)] 
dnsdist: Keep 'help' working even when libedit has been disabled

3 years agodnsdist: fix building without libedit
Peter van Dijk [Fri, 11 Feb 2022 14:50:58 +0000 (15:50 +0100)] 
dnsdist: fix building without libedit

3 years agoel7 builds: switch to boost 1.69 11315/head
Peter van Dijk [Fri, 11 Feb 2022 13:48:57 +0000 (14:48 +0100)] 
el7 builds: switch to boost 1.69

3 years agorec: Add missing 'limits' include in ednsextendederror.cc 11313/head
Remi Gacogne [Fri, 11 Feb 2022 11:25:40 +0000 (12:25 +0100)] 
rec: Add missing 'limits' include in ednsextendederror.cc

3 years agoMerge pull request #11298 from Zash/settings-rst-fix
Remi Gacogne [Fri, 11 Feb 2022 11:12:14 +0000 (12:12 +0100)] 
Merge pull request #11298 from Zash/settings-rst-fix

docs: fix rst syntax

3 years agoMerge pull request #11291 from omoerbeek/rec-periodic-tasks
Otto Moerbeek [Fri, 11 Feb 2022 10:40:37 +0000 (11:40 +0100)] 
Merge pull request #11291 from omoerbeek/rec-periodic-tasks

rec: Replace manual maintainance of periodic tasks by an OO approach.

3 years agoMerge pull request #11307 from omoerbeek/rec-send-sni
Otto Moerbeek [Fri, 11 Feb 2022 10:04:35 +0000 (11:04 +0100)] 
Merge pull request #11307 from omoerbeek/rec-send-sni

rec: Add SNI to DoT if available