]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoAslo test query_address for value and query_port for presence 10268/head
Otto Moerbeek [Wed, 7 Apr 2021 08:07:09 +0000 (10:07 +0200)] 
Aslo test query_address for value and query_port for presence

4 years agoLog client IP in dnstap messages
Otto [Tue, 6 Apr 2021 13:19:58 +0000 (15:19 +0200)] 
Log client IP in dnstap messages

Also make sure we log only if we actually sent a message, i.e.
we did not chain our request to an existing one.

4 years agoMerge pull request #10269 from omoerbeek/auth-test-warnings
Otto Moerbeek [Tue, 6 Apr 2021 14:49:17 +0000 (16:49 +0200)] 
Merge pull request #10269 from omoerbeek/auth-test-warnings

auth: Fix a few warnings as seen on OpenBSD/clang

4 years agoMerge pull request #10253 from zeha/tests-deprecated-equals
Otto Moerbeek [Tue, 6 Apr 2021 13:39:26 +0000 (15:39 +0200)] 
Merge pull request #10253 from zeha/tests-deprecated-equals

tests: stop using deprecated unittest names

4 years agoMerge pull request #10264 from omoerbeek/pmtu-v6
Otto Moerbeek [Tue, 6 Apr 2021 13:37:23 +0000 (15:37 +0200)] 
Merge pull request #10264 from omoerbeek/pmtu-v6

Also disable PMTU for v6

4 years agoFix a few warnings as seen on OpenBSD/clang 10269/head
Otto [Tue, 6 Apr 2021 13:26:35 +0000 (15:26 +0200)] 
Fix a few warnings as seen on OpenBSD/clang

4 years agoAlso disable PMTU for v6 10264/head
Otto [Tue, 6 Apr 2021 08:41:39 +0000 (10:41 +0200)] 
Also disable PMTU for v6

4 years agoMerge pull request #10266 from omoerbeek/format-test-communicator
Otto Moerbeek [Tue, 6 Apr 2021 12:25:41 +0000 (14:25 +0200)] 
Merge pull request #10266 from omoerbeek/format-test-communicator

Fix formatting

4 years agoFix formatting 10266/head
Otto [Tue, 6 Apr 2021 11:24:42 +0000 (13:24 +0200)] 
Fix formatting

4 years agoMerge pull request #10196 from RobinGeuze/axfrPriorities
Peter van Dijk [Tue, 6 Apr 2021 10:09:25 +0000 (12:09 +0200)] 
Merge pull request #10196 from RobinGeuze/axfrPriorities

auth: implement AXFR priority level queue code

4 years agoMerge pull request #10257 from omoerbeek/unordered-map
Peter van Dijk [Thu, 1 Apr 2021 16:11:18 +0000 (18:11 +0200)] 
Merge pull request #10257 from omoerbeek/unordered-map

Include unordered_map

4 years agoInclude unordered_map 10257/head
Otto [Thu, 1 Apr 2021 15:03:48 +0000 (17:03 +0200)] 
Include unordered_map

4 years agofix formatting
Peter van Dijk [Thu, 1 Apr 2021 12:34:36 +0000 (14:34 +0200)] 
fix formatting

4 years agoMerge pull request #9659 from zeha/ignore-unknown-settings
Peter van Dijk [Thu, 1 Apr 2021 09:43:49 +0000 (11:43 +0200)] 
Merge pull request #9659 from zeha/ignore-unknown-settings

Ignore unknown settings

4 years agoMerge pull request #9669 from Habbie/pdns.conf-primary-secondary
Peter van Dijk [Thu, 1 Apr 2021 09:41:14 +0000 (11:41 +0200)] 
Merge pull request #9669 from Habbie/pdns.conf-primary-secondary

auth pdns.conf, pdnsutil, pdns_control: modern aliases for master/slave

4 years agoMerge pull request #10074 from pieterlexis/SVCB-improvements
Peter van Dijk [Thu, 1 Apr 2021 09:36:21 +0000 (11:36 +0200)] 
Merge pull request #10074 from pieterlexis/SVCB-improvements

SVCB improvements

4 years agoMerge pull request #10121 from pieterlexis/rfc-6742-NID-LP-L32-L64
Peter van Dijk [Thu, 1 Apr 2021 09:32:07 +0000 (11:32 +0200)] 
Merge pull request #10121 from pieterlexis/rfc-6742-NID-LP-L32-L64

Implement RFC 6742 RR Types

4 years agoMerge pull request #10252 from pieterlexis/prerel-version
Peter van Dijk [Thu, 1 Apr 2021 09:27:33 +0000 (11:27 +0200)] 
Merge pull request #10252 from pieterlexis/prerel-version

Fix the package version _on_ prerelease tags

4 years agoMerge pull request #10236 from mind04/pdns-rectify-opt
Peter van Dijk [Thu, 1 Apr 2021 09:22:46 +0000 (11:22 +0200)] 
Merge pull request #10236 from mind04/pdns-rectify-opt

auth: rectify() do not update ordernames/auth when there is no need

4 years agoSVCB: fix docs 10074/head
Pieter Lexis [Thu, 1 Apr 2021 07:46:24 +0000 (09:46 +0200)] 
SVCB: fix docs

4 years agoMerge pull request #10248 from cFire/fix-parameter-name-dnsdist-docs
Peter van Dijk [Thu, 1 Apr 2021 07:34:37 +0000 (09:34 +0200)] 
Merge pull request #10248 from cFire/fix-parameter-name-dnsdist-docs

Fix typo in dnsdist docs for SuffixMatchNodeRule

4 years agotests: stop using deprecated unittest names 10253/head
Chris Hofstaedtler [Wed, 31 Mar 2021 16:31:10 +0000 (18:31 +0200)] 
tests: stop using deprecated unittest names

Deprecated since Python 3.2

4 years agopdns: add comment in extractRecord() 10236/head
Kees Monshouwer [Wed, 31 Mar 2021 15:06:09 +0000 (17:06 +0200)] 
pdns: add comment in extractRecord()

Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
4 years agoFix the package version _on_ prerelease tags 10252/head
Pieter Lexis [Wed, 31 Mar 2021 14:04:27 +0000 (16:04 +0200)] 
Fix the package version _on_ prerelease tags

Closes #9842

4 years agoBe less smart 9659/head
Chris Hofstaedtler [Wed, 31 Mar 2021 14:00:23 +0000 (16:00 +0200)] 
Be less smart

4 years agoauth,rec: add ignore-unknown-settings setting
Chris Hofstaedtler [Thu, 29 Oct 2020 12:48:46 +0000 (13:48 +0100)] 
auth,rec: add ignore-unknown-settings setting

4 years agoImplement RFC 6742 RR Types 10121/head
Pieter Lexis [Thu, 25 Feb 2021 09:49:43 +0000 (10:49 +0100)] 
Implement RFC 6742 RR Types

This commit implements the NID, L32, L64, and LP record types from RFC
6742. `dig` can properly parse the wiredata we send, and with the added
tests, I'm certain of the implementation.

The RFC has optional additional processing, this is not implemented.

Closes #10119

4 years agoMerge pull request #10251 from Habbie/auth-local-ipv6-redux
Peter van Dijk [Wed, 31 Mar 2021 12:14:35 +0000 (14:14 +0200)] 
Merge pull request #10251 from Habbie/auth-local-ipv6-redux

auth: remove local-ipv6, query-local-address6 (redo of #9552). Closes #5368

4 years agoMerge pull request #10217 from Habbie/auth-api-cds
Peter van Dijk [Wed, 31 Mar 2021 12:00:39 +0000 (14:00 +0200)] 
Merge pull request #10217 from Habbie/auth-api-cds

auth API cryptokeys: add cds array when configured to do so. Closes #10215

4 years agoMerge pull request #10183 from pieterlexis/docs-rm-sql-statements
Peter van Dijk [Wed, 31 Mar 2021 11:58:55 +0000 (13:58 +0200)] 
Merge pull request #10183 from pieterlexis/docs-rm-sql-statements

docs: Remove raw SQL statements where possible

4 years agoMerge pull request #10250 from omoerbeek/AlignAfterOpenBracket-Align
Otto Moerbeek [Wed, 31 Mar 2021 11:38:45 +0000 (13:38 +0200)] 
Merge pull request #10250 from omoerbeek/AlignAfterOpenBracket-Align

AlignAfterOpenBracket: Align

4 years agoauth: remove local-ipv6, query-local-address6 (redo of #9552). Closes #5368 10251/head
Peter van Dijk [Wed, 31 Mar 2021 10:57:16 +0000 (12:57 +0200)] 
auth: remove local-ipv6, query-local-address6 (redo of #9552). Closes #5368

4 years agoapply doc review comments from Pieter 9669/head
Peter van Dijk [Mon, 15 Feb 2021 11:41:26 +0000 (12:41 +0100)] 
apply doc review comments from Pieter

4 years agoupgrade notes
Peter van Dijk [Thu, 21 Jan 2021 09:22:50 +0000 (10:22 +0100)] 
upgrade notes

4 years agorename allow-unsigned-supermaster
Peter van Dijk [Thu, 21 Jan 2021 09:01:35 +0000 (10:01 +0100)] 
rename allow-unsigned-supermaster

4 years agoremove unrelated dead link
Peter van Dijk [Thu, 21 Jan 2021 08:44:34 +0000 (09:44 +0100)] 
remove unrelated dead link

4 years agoformatting
Peter van Dijk [Thu, 21 Jan 2021 08:43:20 +0000 (09:43 +0100)] 
formatting

4 years agospell-check/expect.txt: add two new words
Peter van Dijk [Wed, 20 Jan 2021 20:39:52 +0000 (21:39 +0100)] 
spell-check/expect.txt: add two new words

4 years agofix two typos
Peter van Dijk [Wed, 20 Jan 2021 20:37:49 +0000 (21:37 +0100)] 
fix two typos

4 years agodocs: document renamed settings and update wording in a lot of text
Peter van Dijk [Wed, 20 Jan 2021 20:31:16 +0000 (21:31 +0100)] 
docs: document renamed settings and update wording in a lot of text

4 years agomove note to right place
Peter van Dijk [Wed, 20 Jan 2021 20:02:56 +0000 (21:02 +0100)] 
move note to right place

4 years agodoc: xfr-cycle-interval
Peter van Dijk [Wed, 20 Jan 2021 19:42:42 +0000 (20:42 +0100)] 
doc: xfr-cycle-interval

4 years agorename replication-cycle-interval to xfr-cycle-interval
Peter van Dijk [Wed, 20 Jan 2021 11:56:33 +0000 (12:56 +0100)] 
rename replication-cycle-interval to xfr-cycle-interval

4 years agorename secondary-renotify to secondary-do-renotify
Peter van Dijk [Wed, 20 Jan 2021 11:55:16 +0000 (12:55 +0100)] 
rename secondary-renotify to secondary-do-renotify

4 years agosimplify, also improve --config output, thanks @mind04
Peter van Dijk [Wed, 4 Nov 2020 13:43:55 +0000 (14:43 +0100)] 
simplify, also improve --config output, thanks @mind04

4 years agoauth pdns.conf, pdnsutil, pdns_control: modern aliases for master/slave
Peter van Dijk [Tue, 3 Nov 2020 19:36:02 +0000 (20:36 +0100)] 
auth pdns.conf, pdnsutil, pdns_control: modern aliases for master/slave

4 years agoAlignAfterOpenBracket: Align 10250/head
Otto [Wed, 31 Mar 2021 09:57:32 +0000 (11:57 +0200)] 
AlignAfterOpenBracket: Align

4 years agoMerge pull request #10216 from rgacogne/shared-lock
Remi Gacogne [Wed, 31 Mar 2021 09:28:22 +0000 (11:28 +0200)] 
Merge pull request #10216 from rgacogne/shared-lock

Replace pthread_rwlock with std::shared_mutex

4 years agoMerge pull request #10223 from rgacogne/rec-fix-broken-dnskeys
Remi Gacogne [Wed, 31 Mar 2021 09:27:05 +0000 (11:27 +0200)] 
Merge pull request #10223 from rgacogne/rec-fix-broken-dnskeys

rec: Better handling of stranded DNSKeys

4 years agoFix typo in dnsdist docs for SuffixMatchNodeRule 10248/head
Cool Fire [Wed, 31 Mar 2021 08:02:54 +0000 (10:02 +0200)] 
Fix typo in dnsdist docs for SuffixMatchNodeRule

Typo in param name listing.

4 years agoMerge pull request #10243 from omoerbeek/rec-prep-4.4.3
Otto Moerbeek [Wed, 31 Mar 2021 07:32:39 +0000 (09:32 +0200)] 
Merge pull request #10243 from omoerbeek/rec-prep-4.4.3

rec: Prep for rec-4.4.3

4 years agoMerge pull request #10242 from omoerbeek/formatting-exceptions
Otto Moerbeek [Wed, 31 Mar 2021 06:05:56 +0000 (08:05 +0200)] 
Merge pull request #10242 from omoerbeek/formatting-exceptions

Keep a list of not-formatted files

4 years agospeedtest: Move the increment inside the loop for lock tests 10216/head
Remi Gacogne [Tue, 30 Mar 2021 08:23:08 +0000 (10:23 +0200)] 
speedtest: Move the increment inside the loop for lock tests

4 years agorec: Fix duplicated space in the SyncRes unit tests 10223/head
Remi Gacogne [Tue, 30 Mar 2021 07:20:41 +0000 (09:20 +0200)] 
rec: Fix duplicated space in the SyncRes unit tests

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
4 years agorec: Fix duplicated space in the SyncRes unit tests
Remi Gacogne [Tue, 30 Mar 2021 07:20:34 +0000 (09:20 +0200)] 
rec: Fix duplicated space in the SyncRes unit tests

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
4 years agoPrep for rec-4.4.3 10243/head
Otto [Tue, 30 Mar 2021 07:10:21 +0000 (09:10 +0200)] 
Prep for rec-4.4.3

4 years agoKeep a list of not-formatted files 10242/head
Otto [Tue, 30 Mar 2021 06:29:10 +0000 (08:29 +0200)] 
Keep a list of not-formatted files

4 years agoSVCB: Fix the textwriter for escaped params
Pieter Lexis [Mon, 29 Mar 2021 17:09:36 +0000 (19:09 +0200)] 
SVCB: Fix the textwriter for escaped params

4 years agoAdd autohint to spelling
Pieter Lexis [Wed, 24 Mar 2021 08:10:52 +0000 (09:10 +0100)] 
Add autohint to spelling

4 years agoAdd a setting for autohints
Pieter Lexis [Tue, 23 Mar 2021 15:29:05 +0000 (16:29 +0100)] 
Add a setting for autohints

4 years agoSVCB: make autohints more generic
Pieter Lexis [Mon, 22 Mar 2021 18:44:21 +0000 (19:44 +0100)] 
SVCB: make autohints more generic

4 years agoSVCB: centralize param lookup
Pieter Lexis [Mon, 22 Mar 2021 18:32:10 +0000 (19:32 +0100)] 
SVCB: centralize param lookup

4 years agopdnsutil: some consistency checks for SVCB
Pieter Lexis [Mon, 15 Mar 2021 13:01:11 +0000 (14:01 +0100)] 
pdnsutil: some consistency checks for SVCB

4 years agoSVCB: bring parsing in line with draft-03
Pieter Lexis [Mon, 15 Mar 2021 12:00:18 +0000 (13:00 +0100)] 
SVCB: bring parsing in line with draft-03

4 years agoAdd autohints docs
Pieter Lexis [Fri, 12 Feb 2021 14:04:52 +0000 (15:04 +0100)] 
Add autohints docs

4 years agopdnsutil: check for A/AAAA records on autohints
Pieter Lexis [Fri, 12 Feb 2021 13:31:38 +0000 (14:31 +0100)] 
pdnsutil: check for A/AAAA records on autohints

4 years agoAdd some SVCB tests
Pieter Lexis [Fri, 12 Feb 2021 12:34:31 +0000 (13:34 +0100)] 
Add some SVCB tests

4 years agoSVCB: Lookup IP auto hints on response and XFR
Pieter Lexis [Tue, 9 Feb 2021 16:08:44 +0000 (17:08 +0100)] 
SVCB: Lookup IP auto hints on response and XFR

4 years agoSVCB: support ipvNhints=auto in text parser and writer
Pieter Lexis [Tue, 9 Feb 2021 16:07:52 +0000 (17:07 +0100)] 
SVCB: support ipvNhints=auto in text parser and writer

4 years agoSVCB: support "auto" hints in the record
Pieter Lexis [Tue, 9 Feb 2021 16:06:31 +0000 (17:06 +0100)] 
SVCB: support "auto" hints in the record

4 years agoSVCB: make a superclass for SVBC and HTTPS
Pieter Lexis [Tue, 9 Feb 2021 16:04:36 +0000 (17:04 +0100)] 
SVCB: make a superclass for SVBC and HTTPS

4 years agoAdd test for parseRFC1035CharString
Pieter Lexis [Tue, 9 Feb 2021 10:56:46 +0000 (11:56 +0100)] 
Add test for parseRFC1035CharString

4 years agoAdd fuzzing for parseRFC1035CharString
Pieter Lexis [Tue, 9 Feb 2021 10:09:04 +0000 (11:09 +0100)] 
Add fuzzing for parseRFC1035CharString

4 years agoSVCB: use proper escaping when writing text format
Pieter Lexis [Mon, 8 Feb 2021 20:22:57 +0000 (21:22 +0100)] 
SVCB: use proper escaping when writing text format

4 years agoUse SVCB Valuelist parser when parsing record text
Pieter Lexis [Mon, 8 Feb 2021 19:21:43 +0000 (20:21 +0100)] 
Use SVCB Valuelist parser when parsing record text

4 years agoAdd a test parser for SVCB value-lists
Pieter Lexis [Mon, 8 Feb 2021 15:55:08 +0000 (16:55 +0100)] 
Add a test parser for SVCB value-lists

4 years agoMerge pull request #10238 from omoerbeek/rec-nod-file
Otto Moerbeek [Mon, 29 Mar 2021 15:01:32 +0000 (17:01 +0200)] 
Merge pull request #10238 from omoerbeek/rec-nod-file

rec: More fail-safe handling of NOD files

4 years agoSafe tmp file handling, basic sanity check on size of data. 10238/head
Otto [Mon, 29 Mar 2021 13:27:43 +0000 (15:27 +0200)] 
Safe tmp file handling, basic sanity check on size of data.

4 years agoMove the opening of the file to write a bit down
Otto [Mon, 29 Mar 2021 10:07:14 +0000 (12:07 +0200)] 
Move the opening of the file to write a bit down

4 years agonamespace filesystem = boost::filesystem
Otto [Mon, 29 Mar 2021 10:05:55 +0000 (12:05 +0200)] 
namespace filesystem = boost::filesystem

4 years agoZap tmp files; use random suffix and fix leak by using smart pointer.
Otto [Mon, 29 Mar 2021 09:49:34 +0000 (11:49 +0200)] 
Zap tmp files; use random suffix and fix leak by using smart pointer.

4 years agoMore fail-safe handling of NOD files
Otto [Mon, 29 Mar 2021 08:40:37 +0000 (10:40 +0200)] 
More fail-safe handling of NOD files

4 years agoMerge pull request #10230 from rgacogne/ddist-160-a3-changelog
Remi Gacogne [Mon, 29 Mar 2021 08:30:13 +0000 (10:30 +0200)] 
Merge pull request #10230 from rgacogne/ddist-160-a3-changelog

dnsdist: Add ChangeLog and secpoll update for 1.6.0-alpha3

4 years agoauth: rectify() do not update ordernames/auth when there is no need
Kees Monshouwer [Sat, 27 Mar 2021 17:41:50 +0000 (18:41 +0100)] 
auth: rectify() do not update ordernames/auth when there is no need

4 years agoMerge pull request #10232 from omoerbeek/rec-clear-cache-from
Otto Moerbeek [Fri, 26 Mar 2021 17:05:37 +0000 (18:05 +0100)] 
Merge pull request #10232 from omoerbeek/rec-clear-cache-from

rec: Clear d_from if we don't know where the update came from

4 years agoClear d_from if we don't know where the update came from 10232/head
Otto [Fri, 26 Mar 2021 15:37:46 +0000 (16:37 +0100)] 
Clear d_from if we don't know where the update came from

4 years agorec: Add unit tests for the "unpublished DNSKEY" case
Remi Gacogne [Fri, 26 Mar 2021 14:57:31 +0000 (15:57 +0100)] 
rec: Add unit tests for the "unpublished DNSKEY" case

4 years agorec: Don't override a Bogus state, handle NSEC3s for unpublished DNSKEY
Remi Gacogne [Fri, 26 Mar 2021 14:56:11 +0000 (15:56 +0100)] 
rec: Don't override a Bogus state, handle NSEC3s for unpublished DNSKEY

4 years agodnsdist: Add ChangeLog and secpoll update for 1.6.0-alpha3 10230/head
Remi Gacogne [Fri, 26 Mar 2021 14:00:41 +0000 (15:00 +0100)] 
dnsdist: Add ChangeLog and secpoll update for 1.6.0-alpha3

4 years agoMerge pull request #10206 from pieterlexis/API-search-rrtype-on-comment dnsdist-1.6.0-alpha3 rec-4.6.0-alpha0
Peter van Dijk [Fri, 26 Mar 2021 11:29:48 +0000 (12:29 +0100)] 
Merge pull request #10206 from pieterlexis/API-search-rrtype-on-comment

API: return RRType when finding a comment

4 years agoMerge pull request #10207 from rgacogne/ddist-max-concurrent-connections
Remi Gacogne [Fri, 26 Mar 2021 10:58:08 +0000 (11:58 +0100)] 
Merge pull request #10207 from rgacogne/ddist-max-concurrent-connections

dnsdist: Add limits for cached TCP connections, metrics

4 years agodnsdist: Clarify the meaning of 'tcpMaxConcurrentConnections' 10207/head
Remi Gacogne [Wed, 24 Mar 2021 14:16:44 +0000 (15:16 +0100)] 
dnsdist: Clarify the meaning of 'tcpMaxConcurrentConnections'

4 years agodnsdist: Remove trailing whitespace in the documentation
Remi Gacogne [Wed, 24 Mar 2021 14:15:17 +0000 (15:15 +0100)] 
dnsdist: Remove trailing whitespace in the documentation

4 years agodnsdist: Add regression tests for the number of conns per frontend
Remi Gacogne [Wed, 24 Mar 2021 10:27:15 +0000 (11:27 +0100)] 
dnsdist: Add regression tests for the number of conns per frontend

4 years agodnsdist: Add a parameter to limit the number of TCP conns per frontend
Remi Gacogne [Tue, 23 Mar 2021 17:58:54 +0000 (18:58 +0100)] 
dnsdist: Add a parameter to limit the number of TCP conns per frontend

4 years agodnsdist: Add setMaxCachedTCPConnectionsPerDownstream()
Remi Gacogne [Mon, 22 Mar 2021 17:45:01 +0000 (18:45 +0100)] 
dnsdist: Add setMaxCachedTCPConnectionsPerDownstream()

4 years agodnsdist: Add 'max concurrent connections' counters
Remi Gacogne [Mon, 22 Mar 2021 16:12:46 +0000 (17:12 +0100)] 
dnsdist: Add 'max concurrent connections' counters

4 years agoAPI: return RRType when finding a comment 10206/head
Pieter Lexis [Mon, 22 Mar 2021 17:31:31 +0000 (18:31 +0100)] 
API: return RRType when finding a comment

4 years agoMerge pull request #10213 from omoerbeek/rec-prep-4.5.0-beta1
Otto Moerbeek [Fri, 26 Mar 2021 09:15:45 +0000 (10:15 +0100)] 
Merge pull request #10213 from omoerbeek/rec-prep-4.5.0-beta1

Rec: prep for 4.5.0 beta1

4 years agorec: Better handling of stranded DNSKeys
Remi Gacogne [Fri, 26 Mar 2021 08:48:09 +0000 (09:48 +0100)] 
rec: Better handling of stranded DNSKeys