]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
5 years agodnsdist: Switch the default DoT provider from GnuTLS to OpenSSL 8380/head
Remi Gacogne [Fri, 4 Oct 2019 09:02:08 +0000 (11:02 +0200)] 
dnsdist: Switch the default DoT provider from GnuTLS to OpenSSL

The feedback from our users is that the OpenSSL provider is faster
and more stable. We also provide better Session Ticket Keys rotation
options with OpenSSL.

5 years agoMerge pull request #8377 from rgacogne/ddist-more-warnings
Remi Gacogne [Fri, 4 Oct 2019 08:23:56 +0000 (10:23 +0200)] 
Merge pull request #8377 from rgacogne/ddist-more-warnings

dnsdist: Compile with -Wall -Wextra -Wshadow by default

5 years agoMerge pull request #8378 from rgacogne/ddist-prometheus-senderrors-typo
Remi Gacogne [Fri, 4 Oct 2019 08:22:53 +0000 (10:22 +0200)] 
Merge pull request #8378 from rgacogne/ddist-prometheus-senderrors-typo

dnsdist: Fix a typo in the prometheus description of 'senderrors'

5 years agodnsdist: Fix a typo in the prometheus description of 'senderrors' 8378/head
Remi Gacogne [Thu, 3 Oct 2019 15:29:39 +0000 (17:29 +0200)] 
dnsdist: Fix a typo in the prometheus description of 'senderrors'

5 years agodnsdist: Compile with -Wall -Wextra -Wshadow by default 8377/head
Remi Gacogne [Thu, 3 Oct 2019 13:41:46 +0000 (15:41 +0200)] 
dnsdist: Compile with -Wall -Wextra -Wshadow by default

And -Werror=vla -Werror=shadow -Wformat=2 -Werror=format-security
in CircleCI.

5 years agoFix 'this statement may fall through' warnings
Remi Gacogne [Thu, 3 Oct 2019 13:41:20 +0000 (15:41 +0200)] 
Fix 'this statement may fall through' warnings

5 years agodnsdist: Fix shadowed variables
Remi Gacogne [Thu, 3 Oct 2019 13:41:07 +0000 (15:41 +0200)] 
dnsdist: Fix shadowed variables

5 years agoFix implicitly-declared 'YaHTTP::CookieJar& YaHTTP::CookieJar::operator='
Remi Gacogne [Thu, 3 Oct 2019 13:40:12 +0000 (15:40 +0200)] 
Fix implicitly-declared 'YaHTTP::CookieJar& YaHTTP::CookieJar::operator='

5 years agoMerge pull request #8342 from chbruyand/pipebackend-unused-warning
Remi Gacogne [Thu, 3 Oct 2019 12:53:02 +0000 (14:53 +0200)] 
Merge pull request #8342 from chbruyand/pipebackend-unused-warning

pipebackend: remove unused variable

5 years agoMerge pull request #8371 from omoerbeek/rec-fix-debian-pkg-build
Otto Moerbeek [Wed, 2 Oct 2019 13:46:46 +0000 (15:46 +0200)] 
Merge pull request #8371 from omoerbeek/rec-fix-debian-pkg-build

Fix chmod paths in rules files

5 years agoFix chmod paths in rules files 8371/head
Otto Moerbeek [Wed, 2 Oct 2019 13:18:51 +0000 (15:18 +0200)] 
Fix chmod paths in rules files

5 years agoMerge pull request #8369 from omoerbeek/auth-pthread_t-isnotanint
Otto Moerbeek [Wed, 2 Oct 2019 12:23:41 +0000 (14:23 +0200)] 
Merge pull request #8369 from omoerbeek/auth-pthread_t-isnotanint

Printing a pthread_t on platforms having a non-int pthread_id requires a cast to uintptr_t.

5 years agoMerge pull request #8368 from rgacogne/ddist-prometheus-third
Remi Gacogne [Wed, 2 Oct 2019 12:16:45 +0000 (14:16 +0200)] 
Merge pull request #8368 from rgacogne/ddist-prometheus-third

dnsdist: More prometheus fixes

5 years agoMerge pull request #8365 from rgacogne/ddist-lowercase-custom-header-names
Remi Gacogne [Wed, 2 Oct 2019 12:15:01 +0000 (14:15 +0200)] 
Merge pull request #8365 from rgacogne/ddist-lowercase-custom-header-names

dnsdist: Lowercase custom DoH header names

5 years agoMerge pull request #8344 from franklouwers/rec-signalhandling
Otto Moerbeek [Wed, 2 Oct 2019 11:38:33 +0000 (13:38 +0200)] 
Merge pull request #8344 from franklouwers/rec-signalhandling

Add signal handling for SIGTERM and SIGINT in pdns_recursor, if we are PID1

5 years agoMerge pull request #8366 from omoerbeek/rec-enable-nod
Otto Moerbeek [Wed, 2 Oct 2019 11:01:57 +0000 (13:01 +0200)] 
Merge pull request #8366 from omoerbeek/rec-enable-nod

rec: Build Newly Observerd Domain (NOD) support by default.

5 years agoPrinting a pthread_t on platforms having a non-int pthread_id 8369/head
Otto Moerbeek [Wed, 2 Oct 2019 09:17:48 +0000 (11:17 +0200)] 
Printing a pthread_t on platforms having a non-int pthread_id
requires a cast to uintptr_t.

5 years agodnsdist: Also lowercase custom DoH header names for early responses 8365/head
Remi Gacogne [Wed, 2 Oct 2019 09:14:50 +0000 (11:14 +0200)] 
dnsdist: Also lowercase custom DoH header names for early responses

5 years agodnsdist: Deduplicate DoH frontend names in prometheus 8368/head
Remi Gacogne [Wed, 2 Oct 2019 08:49:12 +0000 (10:49 +0200)] 
dnsdist: Deduplicate DoH frontend names in prometheus

5 years agodnsdist: Add missing prometheus descriptions for dnsdist_pool_servers and dnsdist_po...
Remi Gacogne [Wed, 2 Oct 2019 08:47:47 +0000 (10:47 +0200)] 
dnsdist: Add missing prometheus descriptions for  dnsdist_pool_servers and dnsdist_pool_active_servers

5 years agodnsdist: Fix a typo in 'tcpdownstreamtimeouts' prometheus description
Remi Gacogne [Wed, 2 Oct 2019 08:45:07 +0000 (10:45 +0200)] 
dnsdist: Fix a typo in 'tcpdownstreamtimeouts' prometheus description

5 years agodnsdist: Fix handling of latency-sum and latency-count in prometheus
Remi Gacogne [Wed, 2 Oct 2019 08:44:44 +0000 (10:44 +0200)] 
dnsdist: Fix handling of latency-sum and latency-count in prometheus

5 years agodnsdist: Add per-frontend and per-server response counters
Remi Gacogne [Wed, 2 Oct 2019 08:38:53 +0000 (10:38 +0200)] 
dnsdist: Add per-frontend and per-server response counters

5 years agoTypo. Thanks @phonedph1 8344/head
Frank Louwers [Tue, 1 Oct 2019 15:44:38 +0000 (17:44 +0200)] 
Typo. Thanks @phonedph1

5 years agoAuto, conditional on availability of boot-filesystem lib 8366/head
Otto Moerbeek [Tue, 1 Oct 2019 12:42:17 +0000 (14:42 +0200)] 
Auto, conditional on availability of boot-filesystem lib

5 years agoMerge pull request #8364 from rgacogne/ddist-webserver-checkconfig
Remi Gacogne [Tue, 1 Oct 2019 11:45:16 +0000 (13:45 +0200)] 
Merge pull request #8364 from rgacogne/ddist-webserver-checkconfig

dnsdist: Check the address supplied to 'webserver' in check-config

5 years agoMerge pull request #8363 from omoerbeek/lgtm-coverity-1
Remi Gacogne [Tue, 1 Oct 2019 11:44:58 +0000 (13:44 +0200)] 
Merge pull request #8363 from omoerbeek/lgtm-coverity-1

LGTM/coverity spotted issues: copy constructors and = operators

5 years agoBuild Newly Observerd Domain (NOD) support by default.
Otto Moerbeek [Tue, 1 Oct 2019 09:57:57 +0000 (11:57 +0200)] 
Build Newly Observerd Domain (NOD) support by default.

Still disabled by default config.

5 years agoMerge pull request #8360 from omoerbeek/rec-systemd-config-perms
Otto Moerbeek [Tue, 1 Oct 2019 09:35:03 +0000 (11:35 +0200)] 
Merge pull request #8360 from omoerbeek/rec-systemd-config-perms

rec: chmod/own recursor.conf for the systemd case

5 years agodnsdist: Lowercase custom DoH header names
Remi Gacogne [Tue, 1 Oct 2019 09:10:07 +0000 (11:10 +0200)] 
dnsdist: Lowercase custom DoH header names

5 years agoMerge pull request #8361 from rgacogne/ddist-doh-prometheus-bis
Remi Gacogne [Tue, 1 Oct 2019 08:36:02 +0000 (10:36 +0200)] 
Merge pull request #8361 from rgacogne/ddist-doh-prometheus-bis

dnsdist: Refactor DoH prometheus metrics again

5 years agoMerge pull request #8359 from rgacogne/dnsdist-setrules-creationorder
Remi Gacogne [Tue, 1 Oct 2019 08:35:04 +0000 (10:35 +0200)] 
Merge pull request #8359 from rgacogne/dnsdist-setrules-creationorder

dnsdist: Fix the creation order of rules when inserted via SetRules()

5 years agodnsdist: Check the address supplied to 'webserver' in check-config 8364/head
Remi Gacogne [Tue, 1 Oct 2019 08:02:14 +0000 (10:02 +0200)] 
dnsdist: Check the address supplied to 'webserver' in check-config

5 years agoCleanup copy constructor/assignment op "rule-of-2" violations. 8363/head
Otto Moerbeek [Mon, 30 Sep 2019 09:46:13 +0000 (11:46 +0200)] 
Cleanup copy constructor/assignment op "rule-of-2" violations.

5 years agodnsdist: Refactor DoH prometheus metrics again 8361/head
Remi Gacogne [Mon, 30 Sep 2019 15:44:51 +0000 (17:44 +0200)] 
dnsdist: Refactor DoH prometheus metrics again

5 years agochmod/own recursor.conf for the systemd case 8360/head
Otto Moerbeek [Mon, 30 Sep 2019 15:40:15 +0000 (17:40 +0200)] 
chmod/own recursor.conf for the systemd case

5 years agodnsdist: Fix the creation order of rules when inserted via SetRules() 8359/head
Remi Gacogne [Mon, 30 Sep 2019 14:54:57 +0000 (16:54 +0200)] 
dnsdist: Fix the creation order of rules when inserted via SetRules()

5 years agoMerge pull request #8356 from rgacogne/ddist-140-rc3-changelog-secpoll
Remi Gacogne [Mon, 30 Sep 2019 13:03:25 +0000 (15:03 +0200)] 
Merge pull request #8356 from rgacogne/ddist-140-rc3-changelog-secpoll

dnsdist: ChangeLog and secpoll update for 1.4.0-rc3

5 years agodnsdist: add DNS over HTTPS and DNS over TLS tags to the conf 8356/head
Remi Gacogne [Mon, 30 Sep 2019 08:40:26 +0000 (10:40 +0200)] 
dnsdist: add DNS over HTTPS and DNS over TLS tags to the conf

5 years agodnsdist: ChangeLog and secpoll update for 1.4.0-rc3
Remi Gacogne [Mon, 30 Sep 2019 08:28:35 +0000 (10:28 +0200)] 
dnsdist: ChangeLog and secpoll update for 1.4.0-rc3

5 years agoMerge pull request #8318 from rgacogne/ddist-prometheus-labels dnsdist-1.4.0-rc3
Remi Gacogne [Mon, 30 Sep 2019 02:03:55 +0000 (04:03 +0200)] 
Merge pull request #8318 from rgacogne/ddist-prometheus-labels

dnsdist: Better use of labels in our DoH prometheus export

5 years agoMerge pull request #8349 from rgacogne/ddist-doh-tickets
Remi Gacogne [Sun, 29 Sep 2019 21:00:34 +0000 (23:00 +0200)] 
Merge pull request #8349 from rgacogne/ddist-doh-tickets

dnsdist: Implement TLS Session Ticket Keys management for DoH

5 years agoProblem found by coverity.
Otto Moerbeek [Fri, 27 Sep 2019 14:28:44 +0000 (16:28 +0200)] 
Problem found by coverity.

5 years agodnsdist: Remove references to GnuTLS for DoH 8349/head
Remi Gacogne [Fri, 27 Sep 2019 14:15:40 +0000 (16:15 +0200)] 
dnsdist: Remove references to GnuTLS for DoH

5 years agodnsdist: Exclude TLS session resumption tests from Travis (no DoH, old libssl)
Remi Gacogne [Fri, 27 Sep 2019 14:11:23 +0000 (16:11 +0200)] 
dnsdist: Exclude TLS session resumption tests from Travis (no DoH, old libssl)

5 years agodnsdist: Document DoH TLS Session Ticket keys management. Add tests.
Remi Gacogne [Fri, 27 Sep 2019 14:10:36 +0000 (16:10 +0200)] 
dnsdist: Document DoH TLS Session Ticket keys management. Add tests.

5 years agoMerge pull request #8343 from omoerbeek/lgtm-low-hanging-fruit
Otto Moerbeek [Fri, 27 Sep 2019 14:00:08 +0000 (16:00 +0200)] 
Merge pull request #8343 from omoerbeek/lgtm-low-hanging-fruit

Lgtm low hanging fruit

5 years agoMerge pull request #8350 from omoerbeek/fix-bind-mutex-leak
Otto Moerbeek [Fri, 27 Sep 2019 13:57:39 +0000 (15:57 +0200)] 
Merge pull request #8350 from omoerbeek/fix-bind-mutex-leak

bind backend: pthread_mutex_t should be inited and destroyed and not be copied

5 years agobind backend: pthread_mutex_t should be inited and destroyed and not be copied 8350/head
Otto Moerbeek [Fri, 27 Sep 2019 12:40:24 +0000 (14:40 +0200)] 
bind backend: pthread_mutex_t should be inited and destroyed and not be copied

To make our live easier, use a native C++ mutex.
Fixes #8161

5 years agodnsdist: Skip TCP metrics for UDP frontends over prometheus 8318/head
Remi Gacogne [Thu, 26 Sep 2019 15:02:48 +0000 (17:02 +0200)] 
dnsdist: Skip TCP metrics for UDP frontends over prometheus

5 years agodnsdist: Implement TLS Session Ticket Keys management for DoH
Remi Gacogne [Thu, 26 Sep 2019 14:19:28 +0000 (16:19 +0200)] 
dnsdist: Implement TLS Session Ticket Keys management for DoH

5 years agoMerge pull request #8348 from rgacogne/auth-unit-hardening
Remi Gacogne [Thu, 26 Sep 2019 12:36:51 +0000 (14:36 +0200)] 
Merge pull request #8348 from rgacogne/auth-unit-hardening

auth: Add NoNewPrivileges, PrivateDevices and PrivateTmp back

5 years agoauth: Add NoNewPrivileges, PrivateDevices and PrivateTmp back 8348/head
Remi Gacogne [Thu, 26 Sep 2019 11:35:12 +0000 (13:35 +0200)] 
auth: Add NoNewPrivileges, PrivateDevices and PrivateTmp back

5 years agoAdd comments on why we need this
Frank Louwers [Thu, 26 Sep 2019 09:42:27 +0000 (11:42 +0200)] 
Add comments on why we need this

5 years agoOnly register our handler when we're pid 1, and change to doExit()
Frank Louwers [Thu, 26 Sep 2019 09:22:55 +0000 (11:22 +0200)] 
Only register our handler when we're pid 1, and change to doExit()

5 years agoMerge pull request #8208 from rgacogne/no-naked-pointers
Remi Gacogne [Thu, 26 Sep 2019 07:58:05 +0000 (09:58 +0200)] 
Merge pull request #8208 from rgacogne/no-naked-pointers

auth: Get rid of most remaining naked pointers

5 years agoauth: Mark getFreshAXFRPacket() as static 8208/head
Remi Gacogne [Wed, 25 Sep 2019 15:04:26 +0000 (17:04 +0200)] 
auth: Mark getFreshAXFRPacket() as static

5 years agoauth: Use shared pointers for the DNSPacket Lua bindings
Remi Gacogne [Wed, 25 Sep 2019 15:03:43 +0000 (17:03 +0200)] 
auth: Use shared pointers for the DNSPacket Lua bindings

5 years agoAdd signal handling for SIGTERM and SIGINT in pdns_recursor
Frank Louwers [Wed, 25 Sep 2019 10:07:14 +0000 (12:07 +0200)] 
Add signal handling for SIGTERM and SIGINT in pdns_recursor

The Linux kernel handles signals for PID 1 processes differently. It
doesn't implement a default handler for some signals such as
SIGTERM/SIGINT.

When running pdns_recursor as a container, this causes a few annoyances.
You can work around those by running your containers with --init or by
installing `tini` inside the container. Or you can handle the signals in
the application itself.

This commit adds signal() handlers for SIGTERM and SIGINT for
pdns_recursor.

5 years agoMerge pull request #8339 from omoerbeek/clang-format-file
Otto Moerbeek [Wed, 25 Sep 2019 11:33:05 +0000 (13:33 +0200)] 
Merge pull request #8339 from omoerbeek/clang-format-file

clang-format file proposal

5 years agoMerge pull request #8340 from omoerbeek/rec-rpz-load-zz
Otto Moerbeek [Wed, 25 Sep 2019 10:25:51 +0000 (12:25 +0200)] 
Merge pull request #8340 from omoerbeek/rec-rpz-load-zz

Fix #8338: Issue with "zz" abbreviation for IPv6 RPZ triggers

5 years agoauth: Get rid of most remaining naked pointers
Remi Gacogne [Sun, 4 Aug 2019 19:28:48 +0000 (21:28 +0200)] 
auth: Get rid of most remaining naked pointers

5 years agoAdd lgtm annotations and #error directives if we're configured wrongly. 8343/head
Otto Moerbeek [Wed, 25 Sep 2019 08:00:47 +0000 (10:00 +0200)] 
Add lgtm annotations and #error directives if we're configured wrongly.

Already showing its worth: a few ac checks were missing.

5 years agoMissed one case of localtime()
Otto Moerbeek [Tue, 24 Sep 2019 14:51:57 +0000 (16:51 +0200)] 
Missed one case of localtime()

5 years agoSome low-hanging LGTM fruit
Otto Moerbeek [Tue, 24 Sep 2019 14:30:18 +0000 (16:30 +0200)] 
Some low-hanging LGTM fruit

5 years agoIncorporate suggestions from rgacogne 8339/head
Otto Moerbeek [Tue, 24 Sep 2019 11:27:45 +0000 (13:27 +0200)] 
Incorporate suggestions from rgacogne

5 years agopipebackend: remove unused variable 8342/head
Charles-Henri Bruyand [Tue, 24 Sep 2019 09:15:20 +0000 (11:15 +0200)] 
pipebackend: remove unused variable

5 years agoMerge pull request #8328 from mind04/pdns-mysql-ssl
Peter van Dijk [Tue, 24 Sep 2019 08:20:48 +0000 (10:20 +0200)] 
Merge pull request #8328 from mind04/pdns-mysql-ssl

auth: gmysql backend, add an option to send the SSL capability flag t…

5 years agoMerge pull request #8326 from rgacogne/security-policy
Remi Gacogne [Tue, 24 Sep 2019 07:56:34 +0000 (09:56 +0200)] 
Merge pull request #8326 from rgacogne/security-policy

Add a security policy in our repo, remove outdated statement about versions

5 years agoMerge pull request #8336 from Habbie/auth-no-version-in-manpage
Remi Gacogne [Tue, 24 Sep 2019 07:54:00 +0000 (09:54 +0200)] 
Merge pull request #8336 from Habbie/auth-no-version-in-manpage

auth: remove version number from man page footers

5 years agodnsdist: Update metrics based on the non-encrypted rcode over DNSCrypt
Remi Gacogne [Mon, 23 Sep 2019 15:04:10 +0000 (17:04 +0200)] 
dnsdist: Update metrics based on the non-encrypted rcode over DNSCrypt

5 years agodnsdist: Update frontend* stats over TCP as well
Remi Gacogne [Mon, 23 Sep 2019 14:34:38 +0000 (16:34 +0200)] 
dnsdist: Update frontend* stats over TCP as well

5 years agodnsdist: Better use of labels in our DoH prometheus export
Remi Gacogne [Mon, 23 Sep 2019 14:34:21 +0000 (16:34 +0200)] 
dnsdist: Better use of labels in our DoH prometheus export

Also add stats about TLS session resumption.

5 years agoauth: gmysql backend, add an option to send the SSL capability flag to the server 8328/head
Kees Monshouwer [Wed, 28 Aug 2019 10:07:02 +0000 (12:07 +0200)] 
auth: gmysql backend, add an option to send the SSL capability flag to the server

5 years agoFix #8338: Issue with "zz" abbreviation for IPv6 RPZ triggers 8340/head
Otto Moerbeek [Mon, 23 Sep 2019 12:59:38 +0000 (14:59 +0200)] 
Fix #8338: Issue with "zz" abbreviation for IPv6 RPZ triggers

While there, add unittest for translating rpz names into netmasks

5 years agoclang-format file proposal
Otto Moerbeek [Mon, 23 Sep 2019 09:43:42 +0000 (11:43 +0200)] 
clang-format file proposal

Run with clang-format [-i] -style=file in the tree.
-i does an in-place edit, without it result is written to stdout.

5 years agoauth: remove version number from man page footers 8336/head
Peter van Dijk [Mon, 23 Sep 2019 08:38:39 +0000 (10:38 +0200)] 
auth: remove version number from man page footers

5 years agoMerge pull request #8332 from omoerbeek/rec-no-version-in-manpage
Peter van Dijk [Mon, 23 Sep 2019 08:29:25 +0000 (10:29 +0200)] 
Merge pull request #8332 from omoerbeek/rec-no-version-in-manpage

Remove version number in man page footer

5 years agoBe more than explicit about the fact that dnsdist is also covered 8326/head
Remi Gacogne [Mon, 23 Sep 2019 07:46:51 +0000 (09:46 +0200)] 
Be more than explicit about the fact that dnsdist is also covered

5 years agoRemove version number 8332/head
Otto Moerbeek [Sat, 21 Sep 2019 08:09:38 +0000 (10:09 +0200)] 
Remove version number

5 years agoMerge pull request #8050 from mind04/nochop
Peter van Dijk [Fri, 20 Sep 2019 15:35:43 +0000 (17:35 +0200)] 
Merge pull request #8050 from mind04/nochop

Improved version of #8031 and some other fixes and optimizations.

5 years agoMerge pull request #8317 from rgacogne/getrandom-eintr
Peter van Dijk [Fri, 20 Sep 2019 15:34:25 +0000 (17:34 +0200)] 
Merge pull request #8317 from rgacogne/getrandom-eintr

Retry getrandom() on EINTR

5 years agoAdd a security policy in our repo, remove outdated statement about versions
Remi Gacogne [Fri, 20 Sep 2019 13:34:48 +0000 (15:34 +0200)] 
Add a security policy in our repo, remove outdated statement about versions

5 years agoauth: cleanup slave-renotify code 8050/head
Kees Monshouwer [Fri, 20 Sep 2019 13:13:26 +0000 (15:13 +0200)] 
auth: cleanup slave-renotify code

5 years agoauth: improve the handling of duplicate id's in bindbackend
Kees Monshouwer [Mon, 15 Jul 2019 08:55:28 +0000 (10:55 +0200)] 
auth: improve the handling of duplicate id's in bindbackend
duplicate id's are not allowed in powerdns and will still result in undefined behavior

5 years agoauth: bind-backend, improve the domain_id check in lookup()
Kees Monshouwer [Mon, 16 Jan 2017 09:19:47 +0000 (10:19 +0100)] 
auth: bind-backend, improve the domain_id check in lookup()
zone_id was not checked for a root zone and finding the right zone for a specific zone_id was super slow
With this commit, the uncached output of bind backen will increase by approximately 10%

5 years agoauth: silence 'mastercommunicator.cc:223:104 warning: ‘id’ may be used uninitialized...
Kees Monshouwer [Wed, 10 Jul 2019 10:16:31 +0000 (12:16 +0200)] 
auth: silence 'mastercommunicator.cc:223:104 warning: ‘id’ may be used uninitialized in this function' warning
id was set in getOne()

5 years agoauth: pdnsutil show zone, make sure the DNSKEY is from the right zone
Kees Monshouwer [Tue, 9 Jul 2019 20:28:45 +0000 (22:28 +0200)] 
auth: pdnsutil show zone, make sure the DNSKEY is from the right zone

5 years agoauth: prevent new database connections while sending notifies
Kees Monshouwer [Fri, 20 Sep 2019 12:44:01 +0000 (14:44 +0200)] 
auth: prevent new database connections while sending notifies

5 years agoauth: send notifies only to the nameservers in the zone
Kees Monshouwer [Tue, 9 Jul 2019 18:36:48 +0000 (20:36 +0200)] 
auth: send notifies only to the nameservers in the zone

5 years agoauth: make sure the RRSIG freshness check is using the right zone
Kees Monshouwer [Tue, 9 Jul 2019 16:07:25 +0000 (18:07 +0200)] 
auth: make sure the RRSIG freshness check is using the right zone

5 years agoauth: api, look for pre-existing RRsets in the right zone
Kees Monshouwer [Tue, 9 Jul 2019 14:59:42 +0000 (16:59 +0200)] 
auth: api, look for pre-existing RRsets in the right zone

5 years agoauth: remove the default default from the zone_id argument in lookup()
Kees Monshouwer [Tue, 9 Jul 2019 20:43:19 +0000 (22:43 +0200)] 
auth: remove the default default from the zone_id argument in lookup()

lookup calls without a zone_id:

modules/lmdbbackend/lmdbbackend.cc:  lookup(QType(QType::SOA), domain, -1);
pdns/communicator.hh:                b->lookup(QType(QType::ANY),name, -1);
pdns/pdnsutil.cc:                    B.lookup(QType(QType::NS), domain, -1);
pdns/pdnsutil.cc:                    B.lookup(QType(QType::A), DNSName(std::to_string(random()))+domain, -1);
pdns/pdnsutil.cc:                    B.lookup(QType(QType::DNSKEY), zone, -1 );
pdns/dnsbackend.cc:                  this->lookup(QType(QType::SOA),domain,-1);
pdns/mastercommunicator.cc:          B->lookup(QType(QType::NS), di.zone, -1);
pdns/ws-auth.cc:                     di.backend->lookup(QType(QType::ANY), qname, -1);
pdns/slavecommunicator.cc:           B->lookup(QType(QType::RRSIG), di.zone, -1);

5 years agoauth: prevent the chopOff() loop in lookup(), for SOA queries
Kees Monshouwer [Sat, 6 Jul 2019 20:58:41 +0000 (22:58 +0200)] 
auth: prevent the chopOff() loop in lookup(), for SOA queries
without an id, in bind and lmdb backend.

5 years agoMerge pull request #8324 from Habbie/coprocess-init-pid
Peter van Dijk [Fri, 20 Sep 2019 12:05:28 +0000 (14:05 +0200)] 
Merge pull request #8324 from Habbie/coprocess-init-pid

pipebackend coprocess: initialise d_pid

5 years agoMerge pull request #7956 from pieterlexis/auth-dont-start-as-root
Pieter Lexis [Fri, 20 Sep 2019 10:55:56 +0000 (12:55 +0200)] 
Merge pull request #7956 from pieterlexis/auth-dont-start-as-root

Auth: Don't start as root on systemd

5 years agoMerge pull request #8320 from phonedph1/patch-16
Remi Gacogne [Fri, 20 Sep 2019 08:34:53 +0000 (10:34 +0200)] 
Merge pull request #8320 from phonedph1/patch-16

dnsdist: Make KVS lookup text read better

5 years agopipebackend coprocess: initialise d_pid 8324/head
Peter van Dijk [Fri, 20 Sep 2019 08:03:30 +0000 (10:03 +0200)] 
pipebackend coprocess: initialise d_pid

5 years agoMerge pull request #8322 from omoerbeek/coverity-fix-cwd-for-upload
Peter van Dijk [Thu, 19 Sep 2019 16:09:47 +0000 (18:09 +0200)] 
Merge pull request #8322 from omoerbeek/coverity-fix-cwd-for-upload

circleci coverity target: fix cwd for dnsdist and rec when uploading tarballs

5 years agoFix cwd for dnsdist and rec when uploading tarballs so ./builder-support 8322/head
Otto Moerbeek [Thu, 19 Sep 2019 16:04:45 +0000 (18:04 +0200)] 
Fix cwd for dnsdist and rec when uploading tarballs so ./builder-support
is accessible.