]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoMerge pull request #8774 from spirillen/patch-1
Peter van Dijk [Wed, 5 Feb 2020 08:42:36 +0000 (09:42 +0100)] 
Merge pull request #8774 from spirillen/patch-1

Updated version number

4 years agoMerge pull request #8780 from Habbie/remove-opendbx
Peter van Dijk [Wed, 5 Feb 2020 08:39:43 +0000 (09:39 +0100)] 
Merge pull request #8780 from Habbie/remove-opendbx

opendbx: remove last file that was accidentally left in

4 years agoMerge pull request #8781 from omoerbeek/security-emails
Peter van Dijk [Wed, 5 Feb 2020 08:27:23 +0000 (09:27 +0100)] 
Merge pull request #8781 from omoerbeek/security-emails

Update security email addresses

4 years agoUpdate security email addresses 8781/head
Otto Moerbeek [Tue, 4 Feb 2020 14:38:23 +0000 (15:38 +0100)] 
Update security email addresses

4 years agoopendbx: remove last file that was accidentally left in 8780/head
Peter van Dijk [Tue, 4 Feb 2020 09:00:14 +0000 (10:00 +0100)] 
opendbx: remove last file that was accidentally left in

4 years agoMerge pull request #8770 from omoerbeek/rec-prep-rec-4.3.0-rc1
aerique [Mon, 3 Feb 2020 10:09:56 +0000 (11:09 +0100)] 
Merge pull request #8770 from omoerbeek/rec-prep-rec-4.3.0-rc1

Prep rec-4.3.0-rc1

4 years agotweaks 8770/head
Otto Moerbeek [Mon, 3 Feb 2020 09:36:42 +0000 (10:36 +0100)] 
tweaks

4 years agoMerge pull request #8771 from aerique/feature/repo-script-for-rec-43
aerique [Mon, 3 Feb 2020 09:33:45 +0000 (10:33 +0100)] 
Merge pull request #8771 from aerique/feature/repo-script-for-rec-43

Add support for rec-43.

4 years agoMerge pull request #8682 from rgacogne/auth-bind-extended-status
Peter van Dijk [Mon, 3 Feb 2020 09:01:04 +0000 (10:01 +0100)] 
Merge pull request #8682 from rgacogne/auth-bind-extended-status

auth: Add an extended status report in the bind backend

4 years agoMerge pull request #8763 from rgacogne/remove-dnsresourcerecord-dtor
Peter van Dijk [Mon, 3 Feb 2020 08:48:34 +0000 (09:48 +0100)] 
Merge pull request #8763 from rgacogne/remove-dnsresourcerecord-dtor

Remove the empty user-defined destructor of DNSResourceRecord

4 years agoMerge branch 'master' into rec-prep-rec-4.3.0-rc1
Otto Moerbeek [Mon, 3 Feb 2020 08:36:31 +0000 (09:36 +0100)] 
Merge branch 'master' into rec-prep-rec-4.3.0-rc1

4 years agoUpdated version number 8774/head
spirillen [Sat, 1 Feb 2020 11:03:01 +0000 (12:03 +0100)] 
Updated version number

Updated version number for shown Sql as the `published BOOL DEFAULT 1,` is for pdns-4.3.x

4 years agoAdd support for rec-43. 8771/head
Erik Winkels [Fri, 31 Jan 2020 10:25:24 +0000 (11:25 +0100)] 
Add support for rec-43.

4 years agoMerge pull request #8755 from Habbie/auth-4.3.0-beta1-docs
aerique [Fri, 31 Jan 2020 10:03:59 +0000 (11:03 +0100)] 
Merge pull request #8755 from Habbie/auth-4.3.0-beta1-docs

changelog and secpoll for auth-4.3.0-beta1

4 years agoPrep rec-4.3.0-rc1
Otto Moerbeek [Wed, 29 Jan 2020 12:48:43 +0000 (13:48 +0100)] 
Prep rec-4.3.0-rc1

4 years agoMerge pull request #8764 from mnordhoff/performance-distributor-threads
Otto Moerbeek [Fri, 31 Jan 2020 05:57:51 +0000 (06:57 +0100)] 
Merge pull request #8764 from mnordhoff/performance-distributor-threads

Add distributor-threads setting to rec performance docs

4 years agoMerge pull request #8768 from yantarou/typo_fix
Otto Moerbeek [Fri, 31 Jan 2020 05:56:12 +0000 (06:56 +0100)] 
Merge pull request #8768 from yantarou/typo_fix

Fix typo in Recursor Performance Guide

4 years agoFix typo in Recursor Performance Guide 8768/head
Jan Hilberath [Fri, 31 Jan 2020 01:06:16 +0000 (10:06 +0900)] 
Fix typo in Recursor Performance Guide

4 years agofix typo 8755/head
Peter van Dijk [Thu, 30 Jan 2020 16:06:28 +0000 (17:06 +0100)] 
fix typo

Co-Authored-By: Pieter Lexis <pieter@plexis.eu>
4 years agochangelog, upgrade notes, secpoll for auth-4.3.0-beta1
Peter van Dijk [Tue, 28 Jan 2020 13:33:24 +0000 (14:33 +0100)] 
changelog, upgrade notes, secpoll for auth-4.3.0-beta1

4 years agoMerge pull request #8765 from RobinGeuze/addLmdbSchemaVersionDocumentation
Peter van Dijk [Thu, 30 Jan 2020 15:31:17 +0000 (16:31 +0100)] 
Merge pull request #8765 from RobinGeuze/addLmdbSchemaVersionDocumentation

Add some documentation for the LMDB schema version setting

4 years agoApply suggestions from code review 8765/head
RobinGeuze [Thu, 30 Jan 2020 15:28:41 +0000 (16:28 +0100)] 
Apply suggestions from code review

One typo and a better documentation text.

Co-Authored-By: Peter van Dijk <peter.van.dijk@powerdns.com>
4 years agoAdd some documentation for the LMDB schema version setting
Robin Geuze [Thu, 30 Jan 2020 15:15:04 +0000 (16:15 +0100)] 
Add some documentation for the LMDB schema version setting

4 years agoAdd distributor-threads setting to rec performance docs 8764/head
Matt Nordhoff [Thu, 30 Jan 2020 14:31:33 +0000 (14:31 +0000)] 
Add distributor-threads setting to rec performance docs

4 years agoMerge pull request #8761 from rgacogne/ddist-dot-refcount-context
Remi Gacogne [Wed, 29 Jan 2020 19:50:13 +0000 (20:50 +0100)] 
Merge pull request #8761 from rgacogne/ddist-dot-refcount-context

dnsdist: Use ref counting for the DoT TLS context

4 years agoMerge pull request #8754 from pieterlexis/remove-algo-5-to-7-upgrade auth-4.3.0-beta1
Peter van Dijk [Wed, 29 Jan 2020 18:43:48 +0000 (19:43 +0100)] 
Merge pull request #8754 from pieterlexis/remove-algo-5-to-7-upgrade

Remove the algo 5 -> 7 upgrade

4 years agoRemove the empty user-defined destructor of DNSResourceRecord 8763/head
Remi Gacogne [Wed, 29 Jan 2020 14:41:45 +0000 (15:41 +0100)] 
Remove the empty user-defined destructor of DNSResourceRecord

Having a user-defined destructor prevents the compiler from generating
implicit definition of the move constructor and the move assignment
operator, which might have a serious performance impact.

4 years agodnsdist: Use ref counting for the DoT TLS context 8761/head
Remi Gacogne [Wed, 29 Jan 2020 10:33:01 +0000 (11:33 +0100)] 
dnsdist: Use ref counting for the DoT TLS context

Otherwise we can end up with a DNS over TLS connection using a
TLS Session Ticket Encryption Key, OCSP response or even `SSL_CTX`
object after it was released following a reload of the TLS context
(via `reloadAllCertificates()`, for example), triggering a
use-after-free, possibly leading to a crash.

4 years agoauth: Add an extended status report in the bind backend 8682/head
Remi Gacogne [Wed, 8 Jan 2020 16:46:10 +0000 (17:46 +0100)] 
auth: Add an extended status report in the bind backend

4 years agoMerge pull request #8756 from omoerbeek/rec-doc-quit-nicely
Otto Moerbeek [Wed, 29 Jan 2020 08:40:36 +0000 (09:40 +0100)] 
Merge pull request #8756 from omoerbeek/rec-doc-quit-nicely

rec: Document the difference between rec_control quit and quit-nicely.

4 years agotypo 8756/head
Otto Moerbeek [Wed, 29 Jan 2020 08:37:00 +0000 (09:37 +0100)] 
typo

Co-Authored-By: Matt Nordhoff <mnordhoff@mattnordhoff.com>
4 years agoDocument the difference between rec_control quit and quit-nicely.
Otto Moerbeek [Tue, 28 Jan 2020 14:33:38 +0000 (15:33 +0100)] 
Document the difference between rec_control quit and quit-nicely.

Fixes #2267

4 years agoMerge pull request #8732 from pieterlexis/remote-support-getUnfreshSlaveInfos
Peter van Dijk [Tue, 28 Jan 2020 13:56:29 +0000 (14:56 +0100)] 
Merge pull request #8732 from pieterlexis/remote-support-getUnfreshSlaveInfos

Remote: Implement getUnfreshSlaveInfos and setFresh

4 years agoRemove the algo 5 -> 7 upgrade 8754/head
Pieter Lexis [Tue, 28 Jan 2020 13:25:53 +0000 (14:25 +0100)] 
Remove the algo 5 -> 7 upgrade

Closes #3267

4 years agoMerge pull request #8177 from RobinGeuze/hiddenDnsKeys
Peter van Dijk [Tue, 28 Jan 2020 13:21:50 +0000 (14:21 +0100)] 
Merge pull request #8177 from RobinGeuze/hiddenDnsKeys

Initial work for adding hidden dnssec keys

4 years agoMerge pull request #8668 from cmouse/apex-dname
Peter van Dijk [Tue, 28 Jan 2020 13:19:24 +0000 (14:19 +0100)] 
Merge pull request #8668 from cmouse/apex-dname

ws-auth: Allow DNAME in apex with SOA and NS records

4 years agoMerge pull request #8715 from rgacogne/auth-hashed-key-cache
Peter van Dijk [Tue, 28 Jan 2020 13:17:14 +0000 (14:17 +0100)] 
Merge pull request #8715 from rgacogne/auth-hashed-key-cache

auth: Use a hashed index instead of an ordered one for the key cache

4 years agoImplement published and unpublished dnskeys to allow algorith rollovers. 8177/head
Robin Geuze [Thu, 8 Aug 2019 18:03:28 +0000 (20:03 +0200)] 
Implement published and unpublished dnskeys to allow algorith rollovers.

4 years agoMerge pull request #8749 from Habbie/local-ipv6-one-more-release
Peter van Dijk [Tue, 28 Jan 2020 11:17:34 +0000 (12:17 +0100)] 
Merge pull request #8749 from Habbie/local-ipv6-one-more-release

allow local-ipv6 until 4.4.0

4 years agoMerge pull request #8740 from pieterlexis/boost-context-fixes
Otto Moerbeek [Tue, 28 Jan 2020 10:17:24 +0000 (11:17 +0100)] 
Merge pull request #8740 from pieterlexis/boost-context-fixes

Update boost.m4

4 years agoMerge pull request #8750 from peterthomassen/patch-2
Peter van Dijk [Tue, 28 Jan 2020 09:07:04 +0000 (10:07 +0100)] 
Merge pull request #8750 from peterthomassen/patch-2

docs: clarify Zone object description, closes #8748

4 years agodocs: clarify Zone object description, closes #8748 8750/head
Peter Thomassen [Tue, 28 Jan 2020 08:48:50 +0000 (09:48 +0100)] 
docs: clarify Zone object description, closes #8748

Point out that the `rrsets` is only included at the zone detail endpoint

4 years agoMerge pull request #8745 from Habbie/pdnsutil-dead-code2
Peter van Dijk [Mon, 27 Jan 2020 20:25:55 +0000 (21:25 +0100)] 
Merge pull request #8745 from Habbie/pdnsutil-dead-code2

pdnsutil: remove dead code

4 years agoMerge pull request #8594 from Habbie/default-publish-cds
Peter van Dijk [Mon, 27 Jan 2020 20:25:12 +0000 (21:25 +0100)] 
Merge pull request #8594 from Habbie/default-publish-cds

auth: add default-publish-{cds|cdnskey} options

4 years agoallow local-ipv6 until 4.4.0 8749/head
Peter van Dijk [Mon, 27 Jan 2020 20:21:43 +0000 (21:21 +0100)] 
allow local-ipv6 until 4.4.0

4 years agoauth: add default-publish-cds test 8594/head
Peter van Dijk [Mon, 27 Jan 2020 12:00:03 +0000 (13:00 +0100)] 
auth: add default-publish-cds test

4 years agoMerge pull request #8744 from zeha/lua-mandatory
Peter van Dijk [Mon, 27 Jan 2020 13:53:20 +0000 (14:53 +0100)] 
Merge pull request #8744 from zeha/lua-mandatory

Make Lua mandatory for Auth

4 years agoMerge pull request #8680 from rgacogne/auth-bindbackend-records-cleanup
Peter van Dijk [Mon, 27 Jan 2020 11:03:33 +0000 (12:03 +0100)] 
Merge pull request #8680 from rgacogne/auth-bindbackend-records-cleanup

auth: Make it clearer that records are never altered, only replaced

4 years agopdnsutil: remove dead code 8745/head
Peter van Dijk [Mon, 27 Jan 2020 09:59:16 +0000 (10:59 +0100)] 
pdnsutil: remove dead code

4 years agoMerge pull request #8681 from rgacogne/auth-stats-rings-size
Peter van Dijk [Mon, 27 Jan 2020 09:40:33 +0000 (10:40 +0100)] 
Merge pull request #8681 from rgacogne/auth-stats-rings-size

auth: Add metrics about the size of our in-memory rings

4 years agoauth circleci: build with lua2backend and LUA records 8744/head
Peter van Dijk [Mon, 27 Jan 2020 08:29:01 +0000 (09:29 +0100)] 
auth circleci: build with lua2backend and LUA records

4 years agoUpdate docs
Chris Hofstaedtler [Sat, 25 Jan 2020 22:45:45 +0000 (23:45 +0100)] 
Update docs

4 years agoMake Lua mandatory for Auth
Chris Hofstaedtler [Sat, 25 Jan 2020 22:34:14 +0000 (23:34 +0100)] 
Make Lua mandatory for Auth

4 years agoMerge pull request #8659 from rgacogne/auth-dnsseckeeper-clear-static
Peter van Dijk [Fri, 24 Jan 2020 14:48:55 +0000 (15:48 +0100)] 
Merge pull request #8659 from rgacogne/auth-dnsseckeeper-clear-static

auth: Make DNSSECKeeper::clear{All,}Caches() static

4 years agoMerge pull request #8628 from mind04/pdns-place
Peter van Dijk [Fri, 24 Jan 2020 14:46:56 +0000 (15:46 +0100)] 
Merge pull request #8628 from mind04/pdns-place

auth: make sure get() is always returning the default value for d_place

4 years agoMerge pull request #8627 from zeha/psql-no-prep
Peter van Dijk [Fri, 24 Jan 2020 12:46:08 +0000 (13:46 +0100)] 
Merge pull request #8627 from zeha/psql-no-prep

gpgsqlbackend: Avoid actually prepared statements

4 years agoMerge pull request #8735 from Habbie/doc-dnssec-ttls
Pieter Lexis [Fri, 24 Jan 2020 07:43:05 +0000 (08:43 +0100)] 
Merge pull request #8735 from Habbie/doc-dnssec-ttls

auth dnssec docs: some notes on TTL usage

4 years agoMerge pull request #8474 from omoerbeek/auth-fix-logging-no-cache
Peter van Dijk [Thu, 23 Jan 2020 23:05:52 +0000 (00:05 +0100)] 
Merge pull request #8474 from omoerbeek/auth-fix-logging-no-cache

auth: Fix auth logging if no packet cache; from Habbie

4 years agoMerge pull request #8713 from rgacogne/auth-strict-caches-size
Peter van Dijk [Thu, 23 Jan 2020 22:36:28 +0000 (23:36 +0100)] 
Merge pull request #8713 from rgacogne/auth-strict-caches-size

auth: Enforce a strict maximum size for the packet and records caches

4 years agoUpdate boost.m4 8740/head
Pieter Lexis [Wed, 22 Jan 2020 15:03:59 +0000 (16:03 +0100)] 
Update boost.m4

This detects boost::context on boost version 1.61 through 1.65 correctly

4 years agoMerge pull request #8733 from rgacogne/ddist-openssl-init
Remi Gacogne [Wed, 22 Jan 2020 14:59:13 +0000 (15:59 +0100)] 
Merge pull request #8733 from rgacogne/ddist-openssl-init

dnsdist: Load an openssl configuration file, if any, during startup

4 years agoauth dnssec docs: some notes on TTL usage 8735/head
Peter van Dijk [Wed, 22 Jan 2020 12:19:22 +0000 (13:19 +0100)] 
auth dnssec docs: some notes on TTL usage

4 years agodnsdist: LibreSSL introduced automatic thread-specific callbacks 8733/head
Remi Gacogne [Wed, 22 Jan 2020 12:10:21 +0000 (13:10 +0100)] 
dnsdist: LibreSSL introduced automatic thread-specific callbacks

4 years agoMerge pull request #8729 from omoerbeek/rec-build-dnstap-debian
Otto Moerbeek [Wed, 22 Jan 2020 10:29:11 +0000 (11:29 +0100)] 
Merge pull request #8729 from omoerbeek/rec-build-dnstap-debian

rec: Explicitly enable dnstap for debian-stretch and buster

4 years agodnsdist: Load an openssl configuration file, if any, during startup
Remi Gacogne [Tue, 21 Jan 2020 14:00:01 +0000 (15:00 +0100)] 
dnsdist: Load an openssl configuration file, if any, during startup

This way dnsdist will load the default OpenSSL configuration, or a
custom one specified via the OPENSSL_CONF environment variable.
It allows loading an engine or configuration various options supported
by OpenSSL.
This requires OpenSSL >= 1.1.0.

4 years agoMerge pull request #8331 from mind04/pdns-lmdb-cleanup
Peter van Dijk [Tue, 21 Jan 2020 13:52:21 +0000 (14:52 +0100)] 
Merge pull request #8331 from mind04/pdns-lmdb-cleanup

auth: lmdb-backend, remove duplicate code and some unused variables

4 years agoRemote: Implement getUnfreshSlaveInfos and setFresh 8732/head
Pieter Lexis [Mon, 20 Jan 2020 14:27:44 +0000 (15:27 +0100)] 
Remote: Implement getUnfreshSlaveInfos and setFresh

4 years agoMerge pull request #8723 from rgacogne/rec-optout-unit-tests
Otto Moerbeek [Tue, 21 Jan 2020 10:10:39 +0000 (11:10 +0100)] 
Merge pull request #8723 from rgacogne/rec-optout-unit-tests

rec: Add unit tests for the NSEC3 Opt-Out case

4 years agoMerge pull request #8718 from rgacogne/rec-fix-pb-source-port
Otto Moerbeek [Tue, 21 Jan 2020 10:09:55 +0000 (11:09 +0100)] 
Merge pull request #8718 from rgacogne/rec-fix-pb-source-port

Make ComboAddress::setPort() update the current object

4 years agorec: Bow to formatting gods 8723/head
Remi Gacogne [Tue, 21 Jan 2020 09:53:15 +0000 (10:53 +0100)] 
rec: Bow to formatting gods

4 years agoFix braces formatting in pdns/recursordist/test-syncres_cc.cc
Remi Gacogne [Tue, 21 Jan 2020 09:25:40 +0000 (10:25 +0100)] 
Fix braces formatting in pdns/recursordist/test-syncres_cc.cc

Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
4 years ago- Explcitly enable dnstap for debian-stretch and buster 8729/head
Otto Moerbeek [Tue, 21 Jan 2020 09:13:03 +0000 (10:13 +0100)] 
- Explcitly enable dnstap for debian-stretch and buster
- Fix inconsistent ref to stretch vs buster in ubuntu-bionic

4 years agorec: Add unit tests for the NSEC3 Opt-Out case
Remi Gacogne [Mon, 20 Jan 2020 18:24:13 +0000 (19:24 +0100)] 
rec: Add unit tests for the NSEC3 Opt-Out case

An Opt-Out NSEC3 only proves that there is no delegation, so we
should not consider a DS NODATA or a NXDOMAIN proved by that RR
secure but insecure.
This was fixed in 18c8faae6c67f734583c5c881d0d083d3253b49e and this
commit adds a few unit tests to cover the fix.

4 years agoMerge pull request #8720 from omoerbeek/dnsdist-fstrm-elpel8
Otto Moerbeek [Mon, 20 Jan 2020 15:23:07 +0000 (16:23 +0100)] 
Merge pull request #8720 from omoerbeek/dnsdist-fstrm-elpel8

dnsdist: EPEL 8 now has libfstrm-devel

4 years agoMerge pull request #8556 from rgacogne/dnsdist-spoof-flags
Remi Gacogne [Mon, 20 Jan 2020 15:22:29 +0000 (16:22 +0100)] 
Merge pull request #8556 from rgacogne/dnsdist-spoof-flags

dnsdist: Support setting the value of AA, AD and RA when self-generating answers

4 years agoEPEL 8 now has libfstrm-devel 8720/head
Otto Moerbeek [Mon, 20 Jan 2020 15:06:06 +0000 (16:06 +0100)] 
EPEL 8 now has libfstrm-devel

4 years agoMerge pull request #8719 from omoerbeek/rec-fstrm-el8
Otto Moerbeek [Mon, 20 Jan 2020 14:37:44 +0000 (15:37 +0100)] 
Merge pull request #8719 from omoerbeek/rec-fstrm-el8

rec: EPEL 8 now has libfstrm-devel

4 years agoExplicit--enable-dnstap, as suggested by lieter. 8719/head
Otto Moerbeek [Mon, 20 Jan 2020 14:09:48 +0000 (15:09 +0100)] 
Explicit--enable-dnstap, as suggested by lieter.

4 years agoMerge pull request #8688 from omoerbeek/rec-socketdir-message
Otto Moerbeek [Mon, 20 Jan 2020 14:12:01 +0000 (15:12 +0100)] 
Merge pull request #8688 from omoerbeek/rec-socketdir-message

rec: Give an explcit messsage if something is wrong with socket-dir

4 years agoBetter function name as suggested by rgacogne. 8688/head
Otto Moerbeek [Mon, 20 Jan 2020 13:42:16 +0000 (14:42 +0100)] 
Better function name as suggested by rgacogne.

4 years agoEPEL 8 now has libfstrm-devel
Otto Moerbeek [Mon, 20 Jan 2020 13:04:34 +0000 (14:04 +0100)] 
EPEL 8 now has libfstrm-devel

4 years agoMerge pull request #8701 from pieterlexis/remote-support-also-notify
Pieter Lexis [Mon, 20 Jan 2020 12:38:42 +0000 (13:38 +0100)] 
Merge pull request #8701 from pieterlexis/remote-support-also-notify

remote: Support ::alsoNotifies

4 years agoMake ComboAddress::setPort() update the current object 8718/head
Remi Gacogne [Mon, 20 Jan 2020 11:05:03 +0000 (12:05 +0100)] 
Make ComboAddress::setPort() update the current object

Instead of creating a new one.

4 years agodnsdist: Update tests now that more actions default to RA=RD 8556/head
Remi Gacogne [Tue, 19 Nov 2019 14:18:19 +0000 (15:18 +0100)] 
dnsdist: Update tests now that more actions default to RA=RD

4 years agodnsdist: Add response flags to ERCodeAction, HTTPStatusAction and RCodeAction
Remi Gacogne [Tue, 19 Nov 2019 10:49:25 +0000 (11:49 +0100)] 
dnsdist: Add response flags to ERCodeAction, HTTPStatusAction and RCodeAction

4 years agodnsdist: Add Lua bindings for the AA, AD and RA flags
Remi Gacogne [Mon, 18 Nov 2019 16:37:07 +0000 (17:37 +0100)] 
dnsdist: Add Lua bindings for the AA, AD and RA flags

4 years agodnsdist: Test setting the value of AA, AD and RA when spoofing
Remi Gacogne [Mon, 18 Nov 2019 16:31:18 +0000 (17:31 +0100)] 
dnsdist: Test setting the value of AA, AD and RA when spoofing

4 years agodnsdist: Support setting the value of AA, AD and RA when spoofing
Remi Gacogne [Mon, 18 Nov 2019 16:14:04 +0000 (17:14 +0100)] 
dnsdist: Support setting the value of AA, AD and RA when spoofing

4 years agoMerge pull request #8705 from rgacogne/rec-rpz-order
Remi Gacogne [Mon, 20 Jan 2020 09:13:46 +0000 (10:13 +0100)] 
Merge pull request #8705 from rgacogne/rec-rpz-order

rec: Fix precedence order for RPZ policies rules

4 years agoMerge pull request #8657 from rgacogne/ddist-backend-uuid
Remi Gacogne [Mon, 20 Jan 2020 09:12:40 +0000 (10:12 +0100)] 
Merge pull request #8657 from rgacogne/ddist-backend-uuid

dnsdist: Allow retrieving and deleting a backend via its UUID

4 years agoMerge pull request #8491 from rgacogne/ddist-parallel-checks
Remi Gacogne [Mon, 20 Jan 2020 09:11:25 +0000 (10:11 +0100)] 
Merge pull request #8491 from rgacogne/ddist-parallel-checks

dnsdist: Implement parallel health checks

4 years agoMerge pull request #8456 from rgacogne/ddist-config-check-test
Remi Gacogne [Mon, 20 Jan 2020 09:10:09 +0000 (10:10 +0100)] 
Merge pull request #8456 from rgacogne/ddist-config-check-test

dnsdist: Separate the check-config and client modes

4 years agoMerge pull request #8274 from rgacogne/dnsdist-rcode-ratio
Remi Gacogne [Mon, 20 Jan 2020 09:09:04 +0000 (10:09 +0100)] 
Merge pull request #8274 from rgacogne/dnsdist-rcode-ratio

dnsdist: Implement dynamic blocking on ratio of rcode/total responses

4 years agoauth: Use a hashed index instead of an ordered one for the key cache 8715/head
Remi Gacogne [Fri, 17 Jan 2020 15:45:42 +0000 (16:45 +0100)] 
auth: Use a hashed index instead of an ordered one for the key cache

4 years agorec: Apply Otto's suggestion to distinguish which exact policy matched 8705/head
Remi Gacogne [Fri, 17 Jan 2020 14:36:45 +0000 (15:36 +0100)] 
rec: Apply Otto's suggestion to distinguish which exact policy matched

4 years agorec: Remove now useless references to '-2' for RPZ hits
Remi Gacogne [Fri, 17 Jan 2020 14:30:20 +0000 (15:30 +0100)] 
rec: Remove now useless references to '-2' for RPZ hits

4 years agoauth: Enforce a strict maximum size for the packet and records caches 8713/head
Remi Gacogne [Fri, 17 Jan 2020 13:56:27 +0000 (14:56 +0100)] 
auth: Enforce a strict maximum size for the packet and records caches

Before this change, both the query and packet caches in the authoritative
server can exceed their maximum size by a lot, until the next cleaning
cycle.
This is particularly nasty since the current cleaning algorithm will
never remove entries from the cache until they expire, as opposed to
what we do in the recursor, for example, where we nuke the least-recently
used entries, even if they are still valid, when the cache is full.
This commit changes that by removing the least recently inserted or
updated entry from the cache after inserting a new one when the cache
is full, thus enforcing the maximum size more strictly.

Note that this is really the least recently inserted/updated and not
the least recently used one, as is done in the recursor. Having a
proper LRU in the auth would require acquering a write lock for a
simple lookup, instead of a potentially concurrent read-lock at the
moment. We might want to consider changing that at some point, as
a LRU might be fairer and the lock contention might be very small
since the caches are sharded.

4 years agoremote: add ALSO-NOTIFY unit test 8701/head
Pieter Lexis [Tue, 14 Jan 2020 15:58:59 +0000 (16:58 +0100)] 
remote: add ALSO-NOTIFY unit test

4 years agoMerge pull request #8700 from omoerbeek/rec-prep-4.3.0-beta2
Otto Moerbeek [Thu, 16 Jan 2020 10:01:59 +0000 (11:01 +0100)] 
Merge pull request #8700 from omoerbeek/rec-prep-4.3.0-beta2

rec: Prepare for recursor 4.3.0-beta2 release

4 years agoMerge pull request #8708 from pieterlexis/dnsdist-doc-syntax-fix
Remi Gacogne [Thu, 16 Jan 2020 08:50:14 +0000 (09:50 +0100)] 
Merge pull request #8708 from pieterlexis/dnsdist-doc-syntax-fix

dnsdist: Fix a versionchanged in the docs