]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
3 years agoMerge pull request #9229 from rgacogne/dnsdist-webserver-allow-from
Remi Gacogne [Wed, 17 Jun 2020 09:09:20 +0000 (11:09 +0200)] 
Merge pull request #9229 from rgacogne/dnsdist-webserver-allow-from

dnsdist: Implement an ACL in the internal web server

3 years agoMerge pull request #9238 from rgacogne/ddist-config-sample
Remi Gacogne [Wed, 17 Jun 2020 09:07:47 +0000 (11:07 +0200)] 
Merge pull request #9238 from rgacogne/ddist-config-sample

dnsdist: Clean up dnsdistconf.lua as a default configuration file

3 years agoUse example.org instead of powerdns.org in pdns/dnsdistconf.lua 9238/head
Remi Gacogne [Wed, 17 Jun 2020 07:51:31 +0000 (09:51 +0200)] 
Use example.org instead of powerdns.org in pdns/dnsdistconf.lua

Co-authored-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
3 years agoUse example.org instead of powerdns.org in pdns/dnsdistconf.lua
Remi Gacogne [Wed, 17 Jun 2020 07:51:22 +0000 (09:51 +0200)] 
Use example.org instead of powerdns.org in pdns/dnsdistconf.lua

Co-authored-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
3 years agodnsdist: Clean up dnsdistconf.lua as a default configuration file
Remi Gacogne [Tue, 16 Jun 2020 14:31:39 +0000 (16:31 +0200)] 
dnsdist: Clean up dnsdistconf.lua as a default configuration file

3 years agoMerge pull request #9217 from Habbie/doc-nits-1591715730
Peter van Dijk [Tue, 16 Jun 2020 08:10:28 +0000 (10:10 +0200)] 
Merge pull request #9217 from Habbie/doc-nits-1591715730

auth doc nits

3 years agoMerge pull request #9228 from mind04/pdns-sqlite-schema
Peter van Dijk [Mon, 15 Jun 2020 14:27:54 +0000 (16:27 +0200)] 
Merge pull request #9228 from mind04/pdns-sqlite-schema

auth: gsqlite3backend: add missing indexes

3 years agoMerge pull request #9215 from Habbie/pkcs11-fixes
Peter van Dijk [Mon, 15 Jun 2020 13:55:40 +0000 (15:55 +0200)] 
Merge pull request #9215 from Habbie/pkcs11-fixes

auth: PKCS11 improvements

3 years agodnsdist: Parse the new web ACL before clearing the existing one 9229/head
Remi Gacogne [Mon, 15 Jun 2020 13:25:40 +0000 (15:25 +0200)] 
dnsdist: Parse the new web ACL before clearing the existing one

Otherwise we end up with an empty ACL (everything will be refused)
if the new one is not valid.

3 years agoMerge pull request #9226 from omoerbeek/rec-fix-shared-cache-pruning
Otto Moerbeek [Mon, 15 Jun 2020 12:20:52 +0000 (14:20 +0200)] 
Merge pull request #9226 from omoerbeek/rec-fix-shared-cache-pruning

rec: Fix three shared cache issues

3 years agoFix three shared cache issues: 9226/head
Otto Moerbeek [Fri, 12 Jun 2020 10:24:26 +0000 (12:24 +0200)] 
Fix three shared cache issues:

- Only prime share cache once on startup

- Cache pruning could go into an infinite loop if not enough expired
entries could be pruned.

- Handler thread isn't run very often, but now the record cache
pruning is done by it, so increase frequency of the housekeeping
call for the handler thread.

3 years agoauth: gsqlite3backend: add missing indexes 9228/head
Kees Monshouwer [Mon, 15 Jun 2020 09:54:05 +0000 (11:54 +0200)] 
auth: gsqlite3backend: add missing indexes
Sqlite3 backend was performing terrible in environments with many updates.
On a slaved root zone the performance increase was huge, 71ms -> 1ms.
Since the lack of proper indexes is causing a lot of trouble in larger environments, I target this update at 4.3.1

3 years agoMerge pull request #9223 from mind04/pdns-supersomething
Peter van Dijk [Mon, 15 Jun 2020 09:15:22 +0000 (11:15 +0200)] 
Merge pull request #9223 from mind04/pdns-supersomething

auth: use real remote for supermaster createSlaveDomain()

3 years agoclarify key missing message a bit 9215/head
Peter van Dijk [Mon, 15 Jun 2020 09:02:56 +0000 (11:02 +0200)] 
clarify key missing message a bit

3 years agoauth: use real remote for supermaster createSlaveDomain() 9223/head
Kees Monshouwer [Fri, 12 Jun 2020 09:52:36 +0000 (11:52 +0200)] 
auth: use real remote for supermaster createSlaveDomain()

3 years agorestore flag symmetry
Peter van Dijk [Thu, 11 Jun 2020 19:35:28 +0000 (21:35 +0200)] 
restore flag symmetry

3 years agoupdate pkcs11 docs for softhsm2 on Debian Buster
Peter van Dijk [Thu, 11 Jun 2020 18:33:09 +0000 (20:33 +0200)] 
update pkcs11 docs for softhsm2 on Debian Buster

3 years agopkcs11 create key: error for unknown algos
Peter van Dijk [Thu, 11 Jun 2020 17:01:19 +0000 (19:01 +0200)] 
pkcs11 create key: error for unknown algos

3 years agorectify zones after securing them
Peter van Dijk [Thu, 11 Jun 2020 16:39:28 +0000 (18:39 +0200)] 
rectify zones after securing them

3 years agocentralise constants
Peter van Dijk [Thu, 11 Jun 2020 16:39:07 +0000 (18:39 +0200)] 
centralise constants

3 years agoMerge pull request #9211 from rgacogne/ddist-doh-non-blocking
Remi Gacogne [Wed, 10 Jun 2020 15:18:58 +0000 (17:18 +0200)] 
Merge pull request #9211 from rgacogne/ddist-doh-non-blocking

dnsdist: Use non-blocking pipes to pass DoH queries/responses around

3 years agodnsdist: Log at verbose level when we couldn't write to the pipe 9211/head
Remi Gacogne [Wed, 10 Jun 2020 08:48:10 +0000 (10:48 +0200)] 
dnsdist: Log at verbose level when we couldn't write to the pipe

3 years agodnsdist: Implement an ACL in the internal web server
Remi Gacogne [Wed, 10 Jun 2020 06:58:35 +0000 (08:58 +0200)] 
dnsdist: Implement an ACL in the internal web server

3 years agoMerge pull request #9214 from omoerbeek/rec-docs-warnins
Otto Moerbeek [Wed, 10 Jun 2020 05:45:04 +0000 (07:45 +0200)] 
Merge pull request #9214 from omoerbeek/rec-docs-warnins

rec: fix doc generation warnings in recursor.

3 years agoMerge pull request #9203 from omoerbeek/rec-gettag-answer-rpz
Otto Moerbeek [Wed, 10 Jun 2020 05:44:52 +0000 (07:44 +0200)] 
Merge pull request #9203 from omoerbeek/rec-gettag-answer-rpz

Rec: rpz policy should override gettag_ffi answer by default

3 years agoMerge pull request #9216 from rgacogne/rec-scan-cname-loop-ref
Otto Moerbeek [Wed, 10 Jun 2020 05:41:39 +0000 (07:41 +0200)] 
Merge pull request #9216 from rgacogne/rec-scan-cname-loop-ref

rec: Don't copy the records when scanning for CNAME loops

3 years agoMerge pull request #9190 from zeha/psql-prep
Peter van Dijk [Tue, 9 Jun 2020 18:15:39 +0000 (20:15 +0200)] 
Merge pull request #9190 from zeha/psql-prep

gpgsql: Reintroduce prepared statements

3 years agoMerge pull request #9189 from zeha/query-logging
Peter van Dijk [Tue, 9 Jun 2020 18:02:51 +0000 (20:02 +0200)] 
Merge pull request #9189 from zeha/query-logging

gpgsqlbackend: add parameters to query logging

3 years agoMerge pull request #9187 from zeha/systemd-syslog-instances
Peter van Dijk [Tue, 9 Jun 2020 17:49:24 +0000 (19:49 +0200)] 
Merge pull request #9187 from zeha/systemd-syslog-instances

Set SyslogIdentifier for multiple instances

3 years agoMerge pull request #9183 from zeha/api-rectify-slave
Peter van Dijk [Tue, 9 Jun 2020 17:44:25 +0000 (19:44 +0200)] 
Merge pull request #9183 from zeha/api-rectify-slave

API: Allow rectifying Slave zones

3 years agopoint to pdnsutil create-bind-db in bind-dnssec-db docs 9217/head
Peter van Dijk [Tue, 9 Jun 2020 15:22:29 +0000 (17:22 +0200)] 
point to pdnsutil create-bind-db in bind-dnssec-db docs

3 years agoformat metrics example correctly
Peter van Dijk [Tue, 9 Jun 2020 15:20:44 +0000 (17:20 +0200)] 
format metrics example correctly

3 years agorec: Don't copy the records when scanning for CNAME loops 9216/head
Remi Gacogne [Tue, 9 Jun 2020 15:19:09 +0000 (17:19 +0200)] 
rec: Don't copy the records when scanning for CNAME loops

3 years agocircleci: test softhsm
Peter van Dijk [Tue, 9 Jun 2020 08:59:26 +0000 (10:59 +0200)] 
circleci: test softhsm

3 years agoFix doc generation warnings in recursor. 9214/head
Otto Moerbeek [Tue, 9 Jun 2020 12:11:25 +0000 (14:11 +0200)] 
Fix doc generation warnings in recursor.

Fixes #9167.

3 years agoMerge pull request #9213 from omoerbeek/dnsdist-stringview-ambiguous
Otto Moerbeek [Tue, 9 Jun 2020 11:31:48 +0000 (13:31 +0200)] 
Merge pull request #9213 from omoerbeek/dnsdist-stringview-ambiguous

Do not use `using namespace std;`

3 years agodnsdist: Chck that we don't write more than PIPE_BUF at once on pipes
Remi Gacogne [Tue, 9 Jun 2020 11:19:12 +0000 (13:19 +0200)] 
dnsdist: Chck that we don't write more than PIPE_BUF at once on pipes

3 years agoDo not use using namespace std; it causes ambiguity if 9213/head
Otto Moerbeek [Tue, 9 Jun 2020 11:18:58 +0000 (13:18 +0200)] 
Do not use using namespace std; it causes ambiguity if
both std::string_view and boost::string_view are in scope

3 years agoMerge pull request #9202 from omoerbeek/rec-cname-loop
Otto Moerbeek [Tue, 9 Jun 2020 10:07:45 +0000 (12:07 +0200)] 
Merge pull request #9202 from omoerbeek/rec-cname-loop

rec: more sophisticated cname loop detection.

3 years agoMerge pull request #9212 from Habbie/generate-repo-files-master
Peter van Dijk [Tue, 9 Jun 2020 09:18:11 +0000 (11:18 +0200)] 
Merge pull request #9212 from Habbie/generate-repo-files-master

add master support to generate-repo-files.sh

3 years agoadd master support to generate-repo-files.sh 9212/head
Peter van Dijk [Fri, 5 Jun 2020 15:33:56 +0000 (17:33 +0200)] 
add master support to generate-repo-files.sh

3 years agoDo not process passthru in a special way. RPZ hit always takes 9203/head
Otto Moerbeek [Tue, 9 Jun 2020 08:22:58 +0000 (10:22 +0200)] 
Do not process passthru in a special way. RPZ hit always takes
precedence unless overridesGettag is set to false.

3 years agoMerge pull request #9205 from rgacogne/rec-rrsig-ttl
Otto Moerbeek [Tue, 9 Jun 2020 06:29:13 +0000 (08:29 +0200)] 
Merge pull request #9205 from rgacogne/rec-rrsig-ttl

rec: Limit the TTL of RRSIG records as well

3 years agoMerge pull request #9207 from neheb/string
Otto Moerbeek [Tue, 9 Jun 2020 06:27:36 +0000 (08:27 +0200)] 
Merge pull request #9207 from neheb/string

use std::string_view when available

3 years agocircle auth: build with pkcs11
Peter van Dijk [Mon, 8 Jun 2020 20:38:25 +0000 (22:38 +0200)] 
circle auth: build with pkcs11

3 years agoauth pkcs11: add ECDSA support, use softhsm2-util, other fixes
Peter van Dijk [Fri, 5 Jun 2020 23:05:22 +0000 (01:05 +0200)] 
auth pkcs11: add ECDSA support, use softhsm2-util, other fixes

3 years agodnsdist: Update the tests for the new 'doh-*-pipe-full' metrics
Remi Gacogne [Mon, 8 Jun 2020 14:45:03 +0000 (16:45 +0200)] 
dnsdist: Update the tests for the new 'doh-*-pipe-full' metrics

3 years agodnsdist: Use non-blocking pipes to pass DoH queries/responses around
Remi Gacogne [Mon, 8 Jun 2020 14:28:42 +0000 (16:28 +0200)] 
dnsdist: Use non-blocking pipes to pass DoH queries/responses around

This commit makes the internal sockets non-blocking so we don't freeze if
they ever fill up, and log errors/increment metrics instead.

It also replaces the socket pairs by pipes, since the default buffer
size for sockets seems to allow only ~278 pending queries which might
be reached given how libh2o batches events. On Linux, a pipe gives us
8192 pending queries by default due to the lower overhead, and it
can easily be incremented to 131072 pending queries by setting the
pipe size to 1048576. This commits adds a new setting to do just
that.

3 years agoDocs added
Otto Moerbeek [Mon, 8 Jun 2020 11:11:12 +0000 (13:11 +0200)] 
Docs added

3 years agoMerge pull request #9204 from rgacogne/rec-doc-gettag-ffi
Remi Gacogne [Mon, 8 Jun 2020 07:57:55 +0000 (09:57 +0200)] 
Merge pull request #9204 from rgacogne/rec-doc-gettag-ffi

rec: Better document the gettag hook and its FFI counterpart

3 years agoMerge pull request #9182 from supervacuus/auth-metrics-endpoint
Peter van Dijk [Sun, 7 Jun 2020 18:30:30 +0000 (20:30 +0200)] 
Merge pull request #9182 from supervacuus/auth-metrics-endpoint

Implemented prometheus metrics-endpoint for auth

3 years agouse std::string_view when available 9207/head
Rosen Penev [Sat, 6 Jun 2020 18:33:55 +0000 (11:33 -0700)] 
use std::string_view when available

There's a standard C++ macro to check for its existence.

libstdc++ from GCC makes it available under C++17 and up. libcxx from
LLVM makes it available everywhere.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoauth: Declare ring-size metrics as gauges 9182/head
Mischan Toosarani-Hausberger [Fri, 5 Jun 2020 21:17:21 +0000 (23:17 +0200)] 
auth: Declare ring-size metrics as gauges

ring-buffer size metrics are affected in three ways:

* incremented and saturated as items are added
* set to zero, when the ring-buffer is reset
* decremented when the ring-buffer is resized to a smaller capacity
  that cannot hold the number of items currently stored

The latter qualifies ring-buffer size metrics as gauges.

3 years agoauth: Declare ring-capacity metrics as gauges.
Mischan Toosarani-Hausberger [Thu, 4 Jun 2020 17:26:05 +0000 (19:26 +0200)] 
auth: Declare ring-capacity metrics as gauges.

3 years agoauth: Change StatType for some metrics from counter to gauge
Mischan Toosarani-Hausberger [Tue, 2 Jun 2020 18:40:03 +0000 (20:40 +0200)] 
auth: Change StatType for some metrics from counter to gauge

"packetcache-size" and "query-cache-size" are both decremented and
incremented and thus clearly gauges.

"security-status" is an ordered category and thus also qualifies as a
gauge.

3 years agoImplemented prometheus metrics-endpoint for auth
Mischan Toosarani-Hausberger [Mon, 1 Jun 2020 20:26:51 +0000 (22:26 +0200)] 
Implemented prometheus metrics-endpoint for auth

3 years agoMerge pull request #9163 from zeha/fix-7795
Peter van Dijk [Fri, 5 Jun 2020 13:54:03 +0000 (15:54 +0200)] 
Merge pull request #9163 from zeha/fix-7795

Optimize IXFR-to-AXFR fallback path

3 years agoMerge pull request #9040 from Habbie/auth-readme
Peter van Dijk [Fri, 5 Jun 2020 13:45:31 +0000 (15:45 +0200)] 
Merge pull request #9040 from Habbie/auth-readme

auth README: some fixes; remove manual doc build instructions

3 years agoMerge pull request #9180 from Habbie/4.2-changes-8497
Peter van Dijk [Fri, 5 Jun 2020 13:43:57 +0000 (15:43 +0200)] 
Merge pull request #9180 from Habbie/4.2-changes-8497

auth: add #8497 to changelog

3 years agorec: Limit the TTL of RRSIG records as well 9205/head
Remi Gacogne [Fri, 5 Jun 2020 13:14:35 +0000 (15:14 +0200)] 
rec: Limit the TTL of RRSIG records as well

3 years agorec: Better document the gettag hook and its FFI counterpart 9204/head
Remi Gacogne [Fri, 5 Jun 2020 12:40:38 +0000 (14:40 +0200)] 
rec: Better document the gettag hook and its FFI counterpart

3 years agoAdd a flag to the RPZ indicating if it should override the answer from gettag.
Otto Moerbeek [Fri, 5 Jun 2020 10:37:47 +0000 (12:37 +0200)] 
Add a flag to the RPZ indicating if it should override the answer from gettag.
Defaults to true.

3 years agoFirst stab at solving the issue when gettag_ffi sets an answer but
Otto Moerbeek [Fri, 5 Jun 2020 09:51:18 +0000 (11:51 +0200)] 
First stab at solving the issue when gettag_ffi sets an answer but
we also have an RPZ hit.

3 years agoAdd/modify tests. Also re-check for the cache case. It *is* a bit 9202/head
Otto Moerbeek [Fri, 5 Jun 2020 08:37:28 +0000 (10:37 +0200)] 
Add/modify tests. Also re-check for the cache case. It *is* a bit
unsettling that case causes an ImmediateServFailException, but I do
not like to touch the general flow right now. That would be required
to make the CNAME cache case more similar to the non-cached case.

3 years agoMerge pull request #8943 from pieterlexis/remote-commit-false
Peter van Dijk [Fri, 5 Jun 2020 09:08:21 +0000 (11:08 +0200)] 
Merge pull request #8943 from pieterlexis/remote-commit-false

Remote Backend: Throw DBException in functions that allow it

3 years agoMerge pull request #8995 from kpfleming/local-port-docs
Peter van Dijk [Fri, 5 Jun 2020 08:34:28 +0000 (10:34 +0200)] 
Merge pull request #8995 from kpfleming/local-port-docs

Clarify local-address documentation

3 years agoMerge pull request #9178 from franklouwers/master
Peter van Dijk [Fri, 5 Jun 2020 08:25:54 +0000 (10:25 +0200)] 
Merge pull request #9178 from franklouwers/master

Clarify allow-axfr-ips behaviour in combination with TSIG

3 years agoUse seperate function to test for loop; empty result vector on loop
Otto Moerbeek [Fri, 5 Jun 2020 08:19:08 +0000 (10:19 +0200)] 
Use seperate function to test for loop; empty result vector on loop
detection (like other resolvers I tested  do).

3 years agoMore sophisticated cname loop detection.
Otto Moerbeek [Wed, 3 Jun 2020 14:31:57 +0000 (16:31 +0200)] 
More sophisticated cname loop detection.

3 years agoMerge pull request #9151 from rgacogne/rec-root-ds
Remi Gacogne [Fri, 5 Jun 2020 07:28:53 +0000 (09:28 +0200)] 
Merge pull request #9151 from rgacogne/rec-root-ds

rec: Fix the handling of DS queries for the root

3 years agorec: Remove trailing whitespace in a comment 9151/head
Remi Gacogne [Fri, 5 Jun 2020 07:27:48 +0000 (09:27 +0200)] 
rec: Remove trailing whitespace in a comment

3 years agoMerge pull request #9194 from omoerbeek/rec-cname-self-referral
Otto Moerbeek [Wed, 3 Jun 2020 13:38:21 +0000 (15:38 +0200)] 
Merge pull request #9194 from omoerbeek/rec-cname-self-referral

rec: If a CNAME target is found in the cache, check if it's equal to qname and ServFail if so.

3 years agospgsql: tidy up 9190/head
Chris Hofstaedtler [Wed, 3 Jun 2020 11:40:17 +0000 (13:40 +0200)] 
spgsql: tidy up

3 years agoMerge pull request #9192 from omoerbeek/rec-depth-incr
Otto Moerbeek [Wed, 3 Jun 2020 10:58:51 +0000 (12:58 +0200)] 
Merge pull request #9192 from omoerbeek/rec-depth-incr

rec: Correct depth increments.

3 years agoIf a CNAME target is found in the cache, check if it's equal 9194/head
Otto Moerbeek [Wed, 3 Jun 2020 10:15:46 +0000 (12:15 +0200)] 
If a CNAME target is found in the cache, check if it's equal
to qname and ServFail if so.

Fixes the easy case of #9153. Longer chains with self-refs remain an issue.

3 years agoCorrect depth increments. 9192/head
Otto Moerbeek [Wed, 3 Jun 2020 07:07:56 +0000 (09:07 +0200)] 
Correct depth increments.

With the introduction of qname minimization, a function
doResolveNoQNameMinimization() was introduced. This function is
called by doResolve() with depth incremented. Due to the recursive
nature of the resursor algortihm (Nomen est Omen) we end up
incrementing the depth too much. This prompted a review of the other
places depth was incremented, and I believe it should only be done
when calling doResolve(). Especially the case "+ 2" in the getAddrs()
call looks strange to me, as the doResolve() calls in getAddrs()
already call doResolve() with depth + 1.

This fixes #9184 and likely other cases of deep recursion caused
by long CNAME chains.

3 years agogpgsql: Reintroduce prepared statements
Chris Hofstaedtler [Tue, 2 Jun 2020 18:40:29 +0000 (20:40 +0200)] 
gpgsql: Reintroduce prepared statements

And a toggle.

3 years agogpgsqlbackend: add parameters to query logging 9189/head
Chris Hofstaedtler [Tue, 2 Jun 2020 17:27:24 +0000 (19:27 +0200)] 
gpgsqlbackend: add parameters to query logging

Addresses #5292 (for postgres only).

3 years agoAPI: forbid rectify for presigned zones, only 9183/head
Chris Hofstaedtler [Tue, 2 Jun 2020 16:45:52 +0000 (18:45 +0200)] 
API: forbid rectify for presigned zones, only

3 years agoUpdate docs/tsig.rst 9178/head
Frank Louwers [Tue, 2 Jun 2020 12:55:06 +0000 (14:55 +0200)] 
Update docs/tsig.rst

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoMerge pull request #9142 from rgacogne/rec-defer-nod-lookup
Remi Gacogne [Tue, 2 Jun 2020 12:54:09 +0000 (14:54 +0200)] 
Merge pull request #9142 from rgacogne/rec-defer-nod-lookup

rec: Defer the NOD lookup until after the response has been sent

3 years agoMerge pull request #9172 from rgacogne/rec-rpz-several-ixfr-deltas
Remi Gacogne [Tue, 2 Jun 2020 12:53:18 +0000 (14:53 +0200)] 
Merge pull request #9172 from rgacogne/rec-rpz-several-ixfr-deltas

rec: Fix RPZ removals when an update has several deltas

3 years agoMerge pull request #9127 from rgacogne/fix-gethostname-no-hostnamemax
Remi Gacogne [Tue, 2 Jun 2020 11:51:11 +0000 (13:51 +0200)] 
Merge pull request #9127 from rgacogne/fix-gethostname-no-hostnamemax

Fix compilation on systems that do not define HOST_NAME_MAX

3 years agoFix compilation on systems that do not define HOST_NAME_MAX 9127/head
Remi Gacogne [Tue, 2 Jun 2020 10:24:34 +0000 (12:24 +0200)] 
Fix compilation on systems that do not define HOST_NAME_MAX

On FreeBSD at least, HOST_NAME_MAX is not defined and we need to
use sysconf() to get the value at runtime instead.
Based on a work done by @RvdE to make the recursor compile on
FreeBSD (many thanks!).

3 years agoSet SyslogIdentifier for multiple instances 9187/head
Chris Hofstaedtler [Tue, 2 Jun 2020 09:49:32 +0000 (11:49 +0200)] 
Set SyslogIdentifier for multiple instances

Fixes #8490.

3 years agoAPI: Allow rectifying Slave zones
Chris Hofstaedtler [Tue, 2 Jun 2020 08:57:42 +0000 (10:57 +0200)] 
API: Allow rectifying Slave zones

Fixes #9066.

3 years agoauth: add #8497 to changelog 9180/head
Peter van Dijk [Sun, 31 May 2020 21:46:02 +0000 (23:46 +0200)] 
auth: add #8497 to changelog

3 years agoClarify allow-axfr-ips behaviour in combination with TSIG
Frank Louwers [Fri, 29 May 2020 13:37:58 +0000 (15:37 +0200)] 
Clarify allow-axfr-ips behaviour in combination with TSIG

3 years agoAddress feedback from #9176 9163/head
Chris Hofstaedtler [Fri, 29 May 2020 12:12:38 +0000 (14:12 +0200)] 
Address feedback from #9176

3 years agoMerge pull request #9152 from aerique/feature/add-supported-for-unsigned-packages
aerique [Thu, 28 May 2020 21:45:34 +0000 (23:45 +0200)] 
Merge pull request #9152 from aerique/feature/add-supported-for-unsigned-packages

Make sure we can install unsigned packages.

3 years agorec: Add a regression test for the RPZ updates with several deltas 9172/head
Remi Gacogne [Thu, 28 May 2020 16:54:20 +0000 (18:54 +0200)] 
rec: Add a regression test for the RPZ updates with several deltas

3 years agorec: Fix RPZ removals when an update has several deltas
Remi Gacogne [Thu, 28 May 2020 16:15:53 +0000 (18:15 +0200)] 
rec: Fix RPZ removals when an update has several deltas

3 years agoMerge pull request #9160 from Habbie/spelling-only-docs
Peter van Dijk [Thu, 28 May 2020 09:33:07 +0000 (11:33 +0200)] 
Merge pull request #9160 from Habbie/spelling-only-docs

limit spell checking to docs

3 years agoMerge pull request #9166 from cmouse/patch-1590648655
Peter van Dijk [Thu, 28 May 2020 08:55:53 +0000 (10:55 +0200)] 
Merge pull request #9166 from cmouse/patch-1590648655

opensslsigners: Add missing 'static' keyword

3 years agoMerge pull request #9162 from jsoref/clarify-docs
Remi Gacogne [Thu, 28 May 2020 07:19:39 +0000 (09:19 +0200)] 
Merge pull request #9162 from jsoref/clarify-docs

Clarify docs

3 years agoopensslsigners: Add missing 'static' keyword 9166/head
Aki Tuomi [Thu, 28 May 2020 06:50:04 +0000 (09:50 +0300)] 
opensslsigners: Add missing 'static' keyword

openssl_pthreads_locking_callback and openssl_pthreads_id_callback are
local functions, so they need static.

3 years agoOptimize IXFR-to-AXFR fallback path
Chris Hofstaedtler [Wed, 27 May 2020 21:20:08 +0000 (23:20 +0200)] 
Optimize IXFR-to-AXFR fallback path

Avoid making new backends when we are going to either deny the XFR, or
fall back to AXFR anyway.

This cuts down the number of new backends from four (three for IXFR
pre-checks plus one for AXFR) to one (just the AXFR one).
When replying in IXFR mode, we keep making _one_ new backend, which is
also better than before.

While we now hold the s_plock for a while longer, we only take it once
in doIXFR; before we took it twice -- for TSIG retrieval, which now
re-uses the IXFR backend.

3 years agorewrite pdns-distributes-queries 9162/head
Josh Soref [Wed, 27 May 2020 19:40:50 +0000 (15:40 -0400)] 
rewrite pdns-distributes-queries

3 years agospellcheck: only run when docs have been changed 9160/head
Peter van Dijk [Wed, 27 May 2020 15:40:41 +0000 (17:40 +0200)] 
spellcheck: only run when docs have been changed

3 years agoclarify: reuseports behavior re worker threads
Josh Soref [Wed, 27 May 2020 14:48:30 +0000 (10:48 -0400)] 
clarify: reuseports behavior re worker threads