]> granicus.if.org Git - pdns/log
pdns
4 years agoTests, docs and validation of OOO setting.
Otto Moerbeek [Fri, 11 Oct 2019 11:38:50 +0000 (11:38 +0000)]
Tests, docs and validation of OOO setting.

Test required some framework work to allow for auths having
more than 1 thread.

5 years agoProper in-flight maintenance; settable setting with doc.
Otto Moerbeek [Fri, 11 Oct 2019 09:22:39 +0000 (11:22 +0200)]
Proper in-flight maintenance; settable setting with doc.

5 years agoOn read error we remove the fd from the set. If there are still queries in-flight
Otto Moerbeek [Wed, 9 Oct 2019 09:12:38 +0000 (11:12 +0200)]
On read error we remove the fd from the set. If there are still queries in-flight
we will add it back if the in-flight condition is true.
This is not a real problem as the next handleTCPClientReadable() will take care.
Add a comment to explain that.
Also, setting the TTD might throw so handle that.
We might need a forgiving variant of removeReadFD() and setReadTTD().

5 years ago- Fix multiplexer accounting in the write error case
Otto Moerbeek [Wed, 9 Oct 2019 08:35:00 +0000 (10:35 +0200)]
- Fix multiplexer accounting in the write error case
- Use proper type for in-flight accounting

5 years agoAllow multiple simulaneous incoming TCP queries over a connection.
Otto Moerbeek [Wed, 18 Sep 2019 10:01:01 +0000 (12:01 +0200)]
Allow multiple simulaneous incoming TCP queries over a connection.
Answers are sent out the moment the become available, so not
necesarily in the same order as received. There's a limit on how
many queries per TCP induced connection we may have in flight.

5 years agoMerge pull request #8385 from omoerbeek/more-strict-flags
Otto Moerbeek [Mon, 7 Oct 2019 11:44:59 +0000 (13:44 +0200)]
Merge pull request #8385 from omoerbeek/more-strict-flags

More strict flags

5 years agoWhile there is no shadowing going on for global functions, improve
Otto Moerbeek [Mon, 7 Oct 2019 09:27:13 +0000 (11:27 +0200)]
While there is no shadowing going on for global functions, improve
consistency by calling a lua_state lua_state.

5 years agoSome more shadowing going on
Otto Moerbeek [Fri, 4 Oct 2019 15:13:19 +0000 (17:13 +0200)]
Some more shadowing going on

5 years agoUse -Wextra -Wshadow.
Otto Moerbeek [Fri, 4 Oct 2019 14:40:00 +0000 (16:40 +0200)]
Use -Wextra -Wshadow.

This cause plenty of signed-compare warnings from clang in the unit-tests. So
fix those plus a few cases of -Wshadow.

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'
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
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
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
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
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
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
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
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
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.
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
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
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()
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
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
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
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
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
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
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.
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
Otto Moerbeek [Tue, 24 Sep 2019 11:27:45 +0000 (13:27 +0200)]
Incorporate suggestions from rgacogne

5 years agopipebackend: remove unused variable
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
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
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
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
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
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
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