]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
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 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 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 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 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

3 years agoWishy-washy
Josh Soref [Wed, 27 May 2020 14:41:24 +0000 (10:41 -0400)] 
Wishy-washy

3 years agoUpdate recursordist: reuseport
Josh Soref [Wed, 27 May 2020 14:24:40 +0000 (10:24 -0400)] 
Update recursordist: reuseport

3 years agowe keep allowing these words so that we can do incidental spellchecks later
Peter van Dijk [Wed, 27 May 2020 14:04:56 +0000 (16:04 +0200)] 
we keep allowing these words so that we can do incidental spellchecks later

3 years agoremove spelling cron; limit spelling to docs
Peter van Dijk [Wed, 27 May 2020 13:55:04 +0000 (15:55 +0200)] 
remove spelling cron; limit spelling to docs

3 years agoAdd `--nobest` when installing PDNS software. 9152/head
aerique [Tue, 26 May 2020 07:06:56 +0000 (09:06 +0200)] 
Add `--nobest` when installing PDNS software.

This is for testing in Docker images, we just want them to build.

3 years agoMake sure we can install unsigned packages.
aerique [Mon, 25 May 2020 15:08:07 +0000 (17:08 +0200)] 
Make sure we can install unsigned packages.

Sometimes we need to install unsigned packages from our own ad-hoc repo,
installing `apt-transport-https` makes sure we can do this (at least on
Debian Stretch).

3 years agorec: Defer the NOD lookup until after the response has been sent 9142/head
Remi Gacogne [Mon, 25 May 2020 09:33:19 +0000 (11:33 +0200)] 
rec: Defer the NOD lookup until after the response has been sent

If the NOD lookup is slow, for example because the destination
authoritative server is down, doing the NOD lookup before the response
has been sent increases the latency a lot.
This commit moves the actual NOD lookup after the response has been
sent, so we can still use the existing mthread (we might actually need
to do a proper DNS resolution to find the target authoritative server)
without keeping the client waiting.

3 years agoMerge pull request #9141 from rgacogne/rec-remove-getquerylocaladdress-stub
Remi Gacogne [Mon, 25 May 2020 14:08:17 +0000 (16:08 +0200)] 
Merge pull request #9141 from rgacogne/rec-remove-getquerylocaladdress-stub

rec: Remove unused getQueryLocalAddress stub in the unit tests

3 years agoMerge pull request #9143 from Habbie/travis-unbreak-trusty
Remi Gacogne [Mon, 25 May 2020 12:45:07 +0000 (14:45 +0200)] 
Merge pull request #9143 from Habbie/travis-unbreak-trusty

travis: install pdns package from direct download

3 years agotravis: install pdns package from direct download 9143/head
Peter van Dijk [Mon, 25 May 2020 08:27:01 +0000 (10:27 +0200)] 
travis: install pdns package from direct download

3 years agorec: Remove unused getQueryLocalAddress stub in the unit tests 9141/head
Remi Gacogne [Mon, 25 May 2020 09:17:24 +0000 (11:17 +0200)] 
rec: Remove unused getQueryLocalAddress stub in the unit tests

The real function moved to the pdns namespace anyway.

3 years agoMerge pull request #9137 from phonedph1/patch-21
Remi Gacogne [Mon, 25 May 2020 07:50:02 +0000 (09:50 +0200)] 
Merge pull request #9137 from phonedph1/patch-21

rec: Update syncres.cc

3 years agoMerge pull request #9138 from PowerDNS/omoerbeek-patch-1
Remi Gacogne [Mon, 25 May 2020 07:49:48 +0000 (09:49 +0200)] 
Merge pull request #9138 from PowerDNS/omoerbeek-patch-1

rec: Typos and ref to rec instead of auth in security advisory

3 years agoTypos and ref to rec instead of auth 9138/head
Otto Moerbeek [Fri, 22 May 2020 06:44:57 +0000 (08:44 +0200)] 
Typos and ref to rec instead of auth

3 years agoUpdate syncres.cc 9137/head
phonedph1 [Thu, 21 May 2020 01:27:01 +0000 (19:27 -0600)] 
Update syncres.cc

3 years agoMerge pull request #9134 from omoerbeek/secpoll-cleanup
Otto Moerbeek [Wed, 20 May 2020 08:47:48 +0000 (10:47 +0200)] 
Merge pull request #9134 from omoerbeek/secpoll-cleanup

Secpoll cleanup, mark prereleases with vulnerabilities as such.

3 years agoSecpoll cleanup, mark prereleases with vulnerabilities as such. 9134/head
Otto Moerbeek [Wed, 20 May 2020 07:38:59 +0000 (09:38 +0200)] 
Secpoll cleanup, mark prereleases with vulnerabilities as such.

3 years agoMerge pull request #9131 from mnordhoff/patch-6
Otto Moerbeek [Wed, 20 May 2020 07:12:32 +0000 (09:12 +0200)] 
Merge pull request #9131 from mnordhoff/patch-6

rec: docs: Update the allow-from setting default

3 years agorec: docs: Update the allow-from setting default. 9131/head
Matt Nordhoff [Tue, 19 May 2020 21:56:55 +0000 (21:56 +0000)] 
rec: docs: Update the allow-from setting default.

The default is LOCAL_NETS, but the copy of it in the documentation was incomplete.

3 years agoMerge pull request #9111 from omoerbeek/dnsreplay-loop
Remi Gacogne [Tue, 19 May 2020 15:21:26 +0000 (17:21 +0200)] 
Merge pull request #9111 from omoerbeek/dnsreplay-loop

Support LOOP link type in dnsreplay

3 years agoMerge pull request #9126 from omoerbeek/rec-4.1.16-secpoll
Otto Moerbeek [Tue, 19 May 2020 13:39:17 +0000 (15:39 +0200)] 
Merge pull request #9126 from omoerbeek/rec-4.1.16-secpoll

Prepare rec 4.1.16 secpoll update

3 years agoPrepare rec 4.1.16 secpoll update 9126/head
Otto Moerbeek [Tue, 19 May 2020 12:53:01 +0000 (14:53 +0200)] 
Prepare rec 4.1.16 secpoll update

3 years agoMerge pull request #9124 from rgacogne/powerdns-advisory-2020-002
Remi Gacogne [Tue, 19 May 2020 10:51:22 +0000 (12:51 +0200)] 
Merge pull request #9124 from rgacogne/powerdns-advisory-2020-002

rec: powerdns-advisory-2020-002 -> powerdns-advisory-2020-02

3 years agorec: powerdns-advisory-2020-002 -> powerdns-advisory-2020-02 9124/head
Remi Gacogne [Tue, 19 May 2020 10:23:16 +0000 (12:23 +0200)] 
rec: powerdns-advisory-2020-002 -> powerdns-advisory-2020-02

3 years agoMerge pull request #9118 from pieterlexis/fix-rec-docs
Otto Moerbeek [Tue, 19 May 2020 10:14:30 +0000 (12:14 +0200)] 
Merge pull request #9118 from pieterlexis/fix-rec-docs

Fix LaTeX-pdns recursor docs

3 years agoMerge pull request #9119 from omoerbeek/fix-formatting
Otto Moerbeek [Tue, 19 May 2020 10:14:16 +0000 (12:14 +0200)] 
Merge pull request #9119 from omoerbeek/fix-formatting

fix formatting

3 years agofix formatting 9119/head
Otto Moerbeek [Tue, 19 May 2020 09:51:03 +0000 (11:51 +0200)] 
fix formatting

3 years agoAdd names and vars to spelling whitelist 9118/head
Pieter Lexis [Tue, 19 May 2020 09:25:57 +0000 (11:25 +0200)] 
Add names and vars to spelling whitelist

3 years agoFix LaTeX-pdns recursor docs
Pieter Lexis [Tue, 19 May 2020 09:16:37 +0000 (11:16 +0200)] 
Fix LaTeX-pdns recursor docs

3 years agoMerge pull request #9114 from pieterlexis/rec-may-2020
Pieter Lexis [Tue, 19 May 2020 08:49:13 +0000 (10:49 +0200)] 
Merge pull request #9114 from pieterlexis/rec-may-2020

Recursor fixes May 2020

3 years agoMerge pull request #9113 from pieterlexis/rec-prep-may-2020
Pieter Lexis [Tue, 19 May 2020 08:26:26 +0000 (10:26 +0200)] 
Merge pull request #9113 from pieterlexis/rec-prep-may-2020

rec: prep for May 2020 releases

3 years agorec: prep for May 2020 security releases 9113/head
Otto Moerbeek [Wed, 13 May 2020 11:21:50 +0000 (13:21 +0200)] 
rec: prep for May 2020 security releases

3 years agoMerge pull request #9106 from omoerbeek/release-cycles
Otto Moerbeek [Mon, 18 May 2020 13:28:40 +0000 (15:28 +0200)] 
Merge pull request #9106 from omoerbeek/release-cycles

Tell about the release cycles.

3 years agoMerge pull request #8940 from pieterlexis/resolver-query-local-address6
Otto Moerbeek [Mon, 18 May 2020 12:40:00 +0000 (14:40 +0200)] 
Merge pull request #8940 from pieterlexis/resolver-query-local-address6

Merge query-local-address6 into query-local-address

3 years ago"Adress" is actually prural in query-local-address 8940/head
Otto Moerbeek [Mon, 18 May 2020 11:35:54 +0000 (13:35 +0200)] 
"Adress" is actually prural in query-local-address

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoMerge pull request #9073 from pieterlexis/runtime-dirs-virtual-hosting
Otto Moerbeek [Mon, 18 May 2020 11:26:13 +0000 (13:26 +0200)] 
Merge pull request #9073 from pieterlexis/runtime-dirs-virtual-hosting

Ensure runtime dirs for virtual services differ

3 years agoMerge pull request #9085 from zeha/config
Otto Moerbeek [Mon, 18 May 2020 11:24:16 +0000 (13:24 +0200)] 
Merge pull request #9085 from zeha/config

builder: improve shipped config files

3 years agoTell about the release cycles. 9106/head
Otto Moerbeek [Fri, 15 May 2020 08:11:41 +0000 (10:11 +0200)] 
Tell about the release cycles.

3 years agoMerge pull request #9107 from jsoref/spell-check
Peter van Dijk [Fri, 15 May 2020 19:16:40 +0000 (21:16 +0200)] 
Merge pull request #9107 from jsoref/spell-check

Update check-spelling to 0.0.16-a

3 years agoUpdate expects 9107/head
Josh Soref [Fri, 15 May 2020 15:09:22 +0000 (11:09 -0400)] 
Update expects

3 years agospelling: Wshadow
Josh Soref [Fri, 15 May 2020 15:09:07 +0000 (11:09 -0400)] 
spelling: Wshadow

3 years agoIgnore c(xx)flags
Josh Soref [Fri, 15 May 2020 14:46:35 +0000 (10:46 -0400)] 
Ignore c(xx)flags

3 years agospelling: with
Josh Soref [Fri, 15 May 2020 14:44:51 +0000 (10:44 -0400)] 
spelling: with

3 years agospelling: target
Josh Soref [Fri, 15 May 2020 14:43:05 +0000 (10:43 -0400)] 
spelling: target

3 years agospelling: should
Josh Soref [Fri, 15 May 2020 14:42:48 +0000 (10:42 -0400)] 
spelling: should

3 years agospelling: record
Josh Soref [Fri, 15 May 2020 14:42:37 +0000 (10:42 -0400)] 
spelling: record

3 years agospelling: milliseconds
Josh Soref [Fri, 15 May 2020 14:42:20 +0000 (10:42 -0400)] 
spelling: milliseconds

3 years agospelling: improvements
Josh Soref [Fri, 15 May 2020 14:40:26 +0000 (10:40 -0400)] 
spelling: improvements

3 years agospelling: first
Josh Soref [Fri, 15 May 2020 14:39:58 +0000 (10:39 -0400)] 
spelling: first

3 years agospelling: answer
Josh Soref [Fri, 15 May 2020 14:38:55 +0000 (10:38 -0400)] 
spelling: answer

3 years agoUpdate check-spelling action
Josh Soref [Fri, 15 May 2020 14:30:24 +0000 (10:30 -0400)] 
Update check-spelling action

3 years agoMerge pull request #9018 from jsoref/spell-check
Peter van Dijk [Fri, 15 May 2020 14:26:19 +0000 (16:26 +0200)] 
Merge pull request #9018 from jsoref/spell-check

Set up spell-checking action

3 years agoSupport LOOP link type 9111/head
Otto Moerbeek [Fri, 15 May 2020 13:33:12 +0000 (15:33 +0200)] 
Support LOOP link type

3 years agoMerge pull request #9105 from omoerbeek/auth-4.0-eol
Otto Moerbeek [Fri, 15 May 2020 08:38:27 +0000 (10:38 +0200)] 
Merge pull request #9105 from omoerbeek/auth-4.0-eol

Mark auth 4.0.x as EOL, plus some even older versions.

3 years agoMark auth 4.0.x as EOL, plus some even older versions. 9105/head
Otto Moerbeek [Fri, 15 May 2020 07:58:21 +0000 (09:58 +0200)] 
Mark auth 4.0.x as EOL, plus some even older versions.

3 years agoMerge pull request #9099 from PowerDNS/omoerbeek-patch-1
Otto Moerbeek [Thu, 14 May 2020 08:22:00 +0000 (10:22 +0200)] 
Merge pull request #9099 from PowerDNS/omoerbeek-patch-1

rec: don't suggest to add a TA for powerdns.com

3 years agoMerge pull request #9100 from omoerbeek/secpol-err-msg
Otto Moerbeek [Thu, 14 May 2020 08:21:39 +0000 (10:21 +0200)] 
Merge pull request #9100 from omoerbeek/secpol-err-msg

Less negatives in error messages improves readability.

3 years agoAlso update surrounding text as noted by phonedph1 9099/head
Otto Moerbeek [Wed, 13 May 2020 14:29:42 +0000 (16:29 +0200)] 
Also update surrounding text as noted by phonedph1

3 years agoLess negatives in error messages improves readability. 9100/head
Otto Moerbeek [Wed, 13 May 2020 12:27:42 +0000 (14:27 +0200)] 
Less negatives in error messages improves readability.

3 years agodon't suggest to a TA for pwerdns.com
Otto Moerbeek [Wed, 13 May 2020 12:17:44 +0000 (14:17 +0200)] 
don't suggest to a TA for pwerdns.com

3 years agoDon't read potentially uninitalized memory if gethostname() failed 9114/head
Remi Gacogne [Mon, 17 Feb 2020 14:20:32 +0000 (15:20 +0100)] 
Don't read potentially uninitalized memory if gethostname() failed

If the buffer is smaller than `HOST_NAME_MAX` (64 on Linux but up to
255 bytes in POSIX, which FreeBSD, MacOS etc honor) gethostname()
might return -1 without null-terminating the buffer, causing an
out-of-bounds read.
As we look for the first '.' using `strchr()`, replacing it with a
null byte, we also have a one-byte out-of-bounds write which might
result in a crash or, albeit very unlikely, arbitrary code execution.

3 years agorec: Fix DNSSEC validation of completely empty NXDomain answers
Remi Gacogne [Fri, 24 Apr 2020 09:48:16 +0000 (11:48 +0200)] 
rec: Fix DNSSEC validation of completely empty NXDomain answers

If the answer has no SOA and no NSEC inside a DNSSEC-secure zone,
we should go Bogus.

3 years agorec: Add a regression test for duplicate entries in a RPZ XFR update
Remi Gacogne [Wed, 25 Mar 2020 13:34:29 +0000 (14:34 +0100)] 
rec: Add a regression test for duplicate entries in a RPZ XFR update

3 years agorec: Don't crash on a duplicate RPZ entry received over XFR
Remi Gacogne [Wed, 25 Mar 2020 13:15:59 +0000 (14:15 +0100)] 
rec: Don't crash on a duplicate RPZ entry received over XFR

3 years agoMention versionadded for the three branches
Otto Moerbeek [Tue, 24 Mar 2020 11:42:05 +0000 (12:42 +0100)] 
Mention versionadded for the three branches

3 years agoLimit the number of queries sent out to get NS addresses per query.
Otto Moerbeek [Tue, 4 Feb 2020 12:52:51 +0000 (13:52 +0100)] 
Limit the number of queries sent out to get NS addresses per query.

3 years agoMerge pull request #9095 from rgacogne/dnsdist-1.5.0-rc2-changelog
Remi Gacogne [Wed, 13 May 2020 08:54:28 +0000 (10:54 +0200)] 
Merge pull request #9095 from rgacogne/dnsdist-1.5.0-rc2-changelog

dnsdist: Update the ChangeLog and secpoll for 1.5.0-rc2

3 years agodnsdist: Update the ChangeLog and secpoll for 1.5.0-rc2 9095/head
Remi Gacogne [Mon, 11 May 2020 08:50:29 +0000 (10:50 +0200)] 
dnsdist: Update the ChangeLog and secpoll for 1.5.0-rc2

3 years agoMerge pull request #9070 from rgacogne/boost-173 dnsdist-1.5.0-rc2
Remi Gacogne [Wed, 6 May 2020 08:46:57 +0000 (10:46 +0200)] 
Merge pull request #9070 from rgacogne/boost-173

Boost 1.73 moved boost::bind placeholders to the placeholders namespace

3 years agoMerge pull request #9079 from omoerbeek/coverity-1428667
Otto Moerbeek [Mon, 4 May 2020 10:53:13 +0000 (12:53 +0200)] 
Merge pull request #9079 from omoerbeek/coverity-1428667

Avoid throwing an exception in Logger::log().

3 years agoMerge pull request #9080 from omoerbeek/coverity-1401969-sqllite
Otto Moerbeek [Mon, 4 May 2020 10:52:51 +0000 (12:52 +0200)] 
Merge pull request #9080 from omoerbeek/coverity-1401969-sqllite

auth: better (actual) fix for mem leak in SSQLite3::execute()

3 years agoMerge pull request #9076 from rgacogne/clang-10-warnings
Remi Gacogne [Mon, 4 May 2020 09:48:35 +0000 (11:48 +0200)] 
Merge pull request #9076 from rgacogne/clang-10-warnings

Fix useless copies in loop reported by clang++ 10

3 years agoMerge pull request #9084 from pieterlexis/dnsdist_latency_prometheus_help
Remi Gacogne [Mon, 4 May 2020 09:19:37 +0000 (11:19 +0200)] 
Merge pull request #9084 from pieterlexis/dnsdist_latency_prometheus_help

dnsdist: add the unit to the help for latency buckets

3 years agosqlite3_exec does not return SQLITE_DONE or SQLITE_ROW plus one forgottten throw 9080/head
Otto Moerbeek [Mon, 4 May 2020 09:08:26 +0000 (11:08 +0200)] 
sqlite3_exec does not return SQLITE_DONE or SQLITE_ROW plus one forgottten throw
conversion

3 years agoApply suggestions from code review
Otto Moerbeek [Mon, 4 May 2020 09:00:23 +0000 (11:00 +0200)] 
Apply suggestions from code review

Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
3 years agoMerge pull request #9078 from omoerbeek/coverity-1419400
Otto Moerbeek [Mon, 4 May 2020 08:50:31 +0000 (10:50 +0200)] 
Merge pull request #9078 from omoerbeek/coverity-1419400

NetmaskTree: do not test node for null, the loop guarantees node is not null.

3 years agoMerge pull request #9087 from kpfleming/patch-1
Otto Moerbeek [Sat, 2 May 2020 13:34:34 +0000 (15:34 +0200)] 
Merge pull request #9087 from kpfleming/patch-1

Correct doc for ecs-add-for default

3 years agoCorrect doc for ecs-add-for default 9087/head
Kevin P. Fleming [Sat, 2 May 2020 13:16:54 +0000 (09:16 -0400)] 
Correct doc for ecs-add-for default

The default setting for `ecs-add-for` includes "::/0", not "::".

3 years agobuilder: avoid config change prompts on each pdns-recursor update 9085/head
Chris Hofstaedtler [Fri, 1 May 2020 21:48:37 +0000 (23:48 +0200)] 
builder: avoid config change prompts on each pdns-recursor update

3 years agobuilder: use new --config=default for building config templates
Chris Hofstaedtler [Fri, 1 May 2020 21:45:32 +0000 (23:45 +0200)] 
builder: use new --config=default for building config templates

3 years agodnsdist: add the unit to the help for latency buckets 9084/head
Pieter Lexis [Fri, 1 May 2020 16:16:46 +0000 (18:16 +0200)] 
dnsdist: add the unit to the help for latency buckets

3 years agoBetter version that also plug the leaks for errors != the ones tested for.
Otto Moerbeek [Fri, 1 May 2020 10:26:51 +0000 (12:26 +0200)] 
Better version that also plug the leaks for errors != the ones tested for.

3 years agoBetter (actual) fix for leak reported by Coverity.
Otto Moerbeek [Fri, 1 May 2020 09:55:51 +0000 (11:55 +0200)] 
Better (actual) fix for leak reported by Coverity.

Always free errmsg; use two diffferent string vars to avoid shadowing.
Coverity 1401969.

3 years agoAvoid throwing an exception in Logger::log(). 9079/head
Otto Moerbeek [Fri, 1 May 2020 08:56:09 +0000 (10:56 +0200)] 
Avoid throwing an exception in Logger::log().

Throwing an exception in the logger, almost cetainly will cause
trouble. Coverity 1428667 shows this can happen in
LdapBackend::~LdapBackend().