]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
4 years agoOnly perform AdditionalServiceProcessing for aliasform records. 10522/head
Peter van Dijk [Thu, 24 Jun 2021 12:07:52 +0000 (14:07 +0200)] 
Only perform AdditionalServiceProcessing for aliasform records.

Co-authored-by: Kees Monshouwer <mind04@monshouwer.org>
4 years agoauth SVCB additional processing: do not chase chains outside of zone
Peter van Dijk [Wed, 23 Jun 2021 11:00:22 +0000 (13:00 +0200)] 
auth SVCB additional processing: do not chase chains outside of zone

fixes #10521

4 years agoauth SVCB additional processing: delay inserts to avoid invalidating iterator
Peter van Dijk [Wed, 23 Jun 2021 10:42:20 +0000 (12:42 +0200)] 
auth SVCB additional processing: delay inserts to avoid invalidating iterator

4 years agoMerge pull request #10512 from Habbie/pdnsutil-add-autoprimary-error
Peter van Dijk [Mon, 21 Jun 2021 19:17:09 +0000 (21:17 +0200)] 
Merge pull request #10512 from Habbie/pdnsutil-add-autoprimary-error

pdnsutil add-autoprimary: print error when exiting with 1

4 years agoMerge pull request #10509 from Habbie/pdnsuil-create-zone-soa-parse-error
Peter van Dijk [Mon, 21 Jun 2021 19:16:55 +0000 (21:16 +0200)] 
Merge pull request #10509 from Habbie/pdnsuil-create-zone-soa-parse-error

pdnsutil create-zone: better error if default-soa-content is broken

4 years agoMerge pull request #10373 from Habbie/pdnsutil-add-zone-key-ksk
Peter van Dijk [Mon, 21 Jun 2021 19:16:40 +0000 (21:16 +0200)] 
Merge pull request #10373 from Habbie/pdnsutil-add-zone-key-ksk

auth pdnsutil add-zone-key: clarify zsk default

4 years agoMerge pull request #10511 from Habbie/svcb-parse-error-truncate
Peter van Dijk [Mon, 21 Jun 2021 16:44:19 +0000 (18:44 +0200)] 
Merge pull request #10511 from Habbie/svcb-parse-error-truncate

SVCB: on parse error, throw instead of truncate

4 years agoMerge pull request #10513 from Habbie/pdnsutil-edit-zone-reask
Peter van Dijk [Mon, 21 Jun 2021 16:43:14 +0000 (18:43 +0200)] 
Merge pull request #10513 from Habbie/pdnsutil-edit-zone-reask

pdnsutil edit-zone: correctly reask inc-serial question

4 years agoMerge pull request #10514 from Habbie/auth-2136-cds-cdnskey
Peter van Dijk [Mon, 21 Jun 2021 16:42:26 +0000 (18:42 +0200)] 
Merge pull request #10514 from Habbie/auth-2136-cds-cdnskey

auth 2136: allow placing DNSKEY/CDS/CDNSKEY regardless of direct-dnskey setting

4 years agoMerge pull request #10510 from pieterlexis/SVCB-fixes-45
Peter van Dijk [Mon, 21 Jun 2021 15:59:49 +0000 (17:59 +0200)] 
Merge pull request #10510 from pieterlexis/SVCB-fixes-45

SVCB: Fix auto hints removing non-auto hints

4 years agoMerge pull request #10428 from omoerbeek/rec-tls
Otto Moerbeek [Mon, 21 Jun 2021 15:45:41 +0000 (17:45 +0200)] 
Merge pull request #10428 from omoerbeek/rec-tls

Rec: cleanup of outgoing TCP code and DoT to auth or forwarders

4 years agoauth: correctly respect direct-dnskey when putting DNSKEY/CDS/CDNSKEY in NSEC(3)... 10514/head
Peter van Dijk [Mon, 21 Jun 2021 14:54:16 +0000 (16:54 +0200)] 
auth: correctly respect direct-dnskey when putting DNSKEY/CDS/CDNSKEY in NSEC(3) bitmaps. Thanks @mind04. Fixes #10516

4 years agomove instead of copy data to inMSG 10428/head
Otto Moerbeek [Mon, 21 Jun 2021 14:33:00 +0000 (16:33 +0200)] 
move instead of copy data to inMSG

Co-authored-by: Remi Gacogne <github@coredump.fr>
4 years agoMerge pull request #10515 from omoerbeek/rec-proxyvalues.clear
Otto Moerbeek [Mon, 21 Jun 2021 14:31:54 +0000 (16:31 +0200)] 
Merge pull request #10515 from omoerbeek/rec-proxyvalues.clear

rec: Clear the current proxy protocol values each iteration

4 years agoClear the current proxy protocol values each iteration 10515/head
Otto [Mon, 21 Jun 2021 13:14:46 +0000 (15:14 +0200)] 
Clear the current proxy protocol values each iteration

4 years agoauth 2136: allow placing DNSKEY/CDS/CDNSKEY regardless of direct-dnskey setting....
Peter van Dijk [Mon, 21 Jun 2021 11:55:10 +0000 (13:55 +0200)] 
auth 2136: allow placing DNSKEY/CDS/CDNSKEY regardless of direct-dnskey setting. Fixes #10321

4 years agopdnsutil edit-zone: correctly reask inc-serial question. Fixes #10328 10513/head
Peter van Dijk [Mon, 21 Jun 2021 11:40:02 +0000 (13:40 +0200)] 
pdnsutil edit-zone: correctly reask inc-serial question. Fixes #10328

4 years agopdnsutil add-zone-key: clarify ZSK default 10373/head
Peter van Dijk [Mon, 21 Jun 2021 11:30:06 +0000 (13:30 +0200)] 
pdnsutil add-zone-key: clarify ZSK default

4 years agopdnsutil add-autoprimary: print error when exiting with 1. Fixes #10435. 10512/head
Peter van Dijk [Mon, 21 Jun 2021 10:38:10 +0000 (12:38 +0200)] 
pdnsutil add-autoprimary: print error when exiting with 1. Fixes #10435.

4 years agoSVCB: on parse error, throw instead of truncate. Fixes #10442 10511/head
Peter van Dijk [Mon, 21 Jun 2021 10:18:04 +0000 (12:18 +0200)] 
SVCB: on parse error, throw instead of truncate. Fixes #10442

4 years agopdnsutil create-zone: better error if default-soa-content is broken 10509/head
Peter van Dijk [Sat, 19 Jun 2021 11:33:55 +0000 (13:33 +0200)] 
pdnsutil create-zone: better error if default-soa-content is broken

4 years agoSVCB: Fix auto hints removing non-auto hints 10510/head
Pieter Lexis [Fri, 18 Jun 2021 14:58:59 +0000 (16:58 +0200)] 
SVCB: Fix auto hints removing non-auto hints

Closes #10258

4 years agoMerge pull request #9474 from Habbie/lua-newcafromraw
Peter van Dijk [Fri, 18 Jun 2021 12:06:09 +0000 (14:06 +0200)] 
Merge pull request #9474 from Habbie/lua-newcafromraw

newCAFromRaw(): create ComboAddress from raw 4/16 byte strings

4 years agoMerge pull request #10345 from gregmac/patch-1
Peter van Dijk [Fri, 18 Jun 2021 11:02:08 +0000 (13:02 +0200)] 
Merge pull request #10345 from gregmac/patch-1

Fix documentation around get*DomainMetadata

4 years agonewCAFromRaw(): create ComboAddress from raw 4/16 byte strings, plus test 9474/head
Peter van Dijk [Wed, 16 Sep 2020 08:21:24 +0000 (10:21 +0200)] 
newCAFromRaw(): create ComboAddress from raw 4/16 byte strings, plus test

(code copied from dnsdist)

4 years agoBasic test for dot-to-auth-names and don't setup auths for DoT tests,
Otto [Mon, 14 Jun 2021 10:51:53 +0000 (12:51 +0200)] 
Basic test for dot-to-auth-names and don't setup auths for DoT tests,
we don't need them.

4 years agoMaintain a sseparate inPos and inWanted, this should fix partial reads,
Otto [Mon, 14 Jun 2021 09:54:05 +0000 (11:54 +0200)] 
Maintain a sseparate inPos and inWanted, this should fix partial reads,
make the code more clear and also allow less resizing.

4 years agoImplement a simple (braindead) mechansim to force DoT the specific auths: a fixed...
Otto [Wed, 9 Jun 2021 12:43:55 +0000 (14:43 +0200)] 
Implement a simple (braindead) mechansim to force DoT the specific auths: a fixed list
of names or suffixes of the special nameservers.

4 years agoAdd very basic DoT regression test
Otto [Wed, 9 Jun 2021 11:10:48 +0000 (13:10 +0200)] 
Add very basic DoT regression test

4 years agodotOutqueries metrics: docs, Prometheus and SNMP
Otto [Wed, 9 Jun 2021 09:44:42 +0000 (11:44 +0200)] 
dotOutqueries metrics: docs, Prometheus and SNMP

4 years agoAlign TCPIOHandlerReadable and Writeable and process some review comments
Otto [Fri, 28 May 2021 08:52:49 +0000 (10:52 +0200)] 
Align TCPIOHandlerReadable and Writeable and process some review comments

4 years agoVery basic config: enable/disbale forcing of DoT for target port 853
Otto [Tue, 25 May 2021 12:16:35 +0000 (14:16 +0200)] 
Very basic config: enable/disbale forcing of DoT for target port 853

4 years agoLog if DoT was requested but not available/compiled in
Otto [Tue, 25 May 2021 11:44:03 +0000 (13:44 +0200)] 
Log if DoT was requested but not available/compiled in

4 years agoConvert timeout values to be specified as a timeval, so sub-second timeout
Otto [Tue, 25 May 2021 10:05:30 +0000 (12:05 +0200)] 
Convert timeout values to be specified as a timeval, so sub-second timeout
values can be handled correctly.

Also make sure sdig uses a NB socket, to handle timeouts correctly.

4 years agoStart of working DoT to auth/forwarder.
Otto [Fri, 21 May 2021 09:19:05 +0000 (11:19 +0200)] 
Start of working DoT to auth/forwarder.

The state engine is a bit strange right now, likely needs rework.
I'm also observing connections that remain in "established state"
while I would expect the handler to be cleaned up and connection
to be closed at that point.

4 years agoHandle IOState::NeedWrite/NeedRead by flipping the status
Otto [Wed, 19 May 2021 10:29:38 +0000 (12:29 +0200)] 
Handle IOState::NeedWrite/NeedRead by flipping the status

4 years agoMerge pull request #10494 from omoerbeek/not-formatted-locale
Otto Moerbeek [Tue, 15 Jun 2021 08:31:51 +0000 (10:31 +0200)] 
Merge pull request #10494 from omoerbeek/not-formatted-locale

Set LANG=C explicitly, otherwise it may lead to suprises if the user isn't using LANG=C.

4 years agoMerge pull request #10393 from jsoref/faq-deleted-zones-do-not-propagate
Peter van Dijk [Mon, 14 Jun 2021 14:43:37 +0000 (16:43 +0200)] 
Merge pull request #10393 from jsoref/faq-deleted-zones-do-not-propagate

Correct faq entry to talk about zones

4 years agoMerge pull request #10414 from 42wim/multipleip
Remi Gacogne [Mon, 14 Jun 2021 14:34:12 +0000 (16:34 +0200)] 
Merge pull request #10414 from 42wim/multipleip

Support multiple ip addresses for dnsdist-resolver lua script

4 years agoSet LANG=C explicitly, otherwise it may lead to suprises if the user isn't using... 10494/head
Otto [Mon, 14 Jun 2021 13:12:01 +0000 (15:12 +0200)] 
Set LANG=C explicitly, otherwise it may lead to suprises if the user isn't using LANG=C.

4 years agoMerge pull request #10493 from Habbie/gh-secpoll-mask
Peter van Dijk [Mon, 14 Jun 2021 12:39:18 +0000 (14:39 +0200)] 
Merge pull request #10493 from Habbie/gh-secpoll-mask

in secpoll testing, do not start the auth

4 years agoMerge pull request #10483 from omoerbeek/log-qtype-qclass
Otto Moerbeek [Mon, 14 Jun 2021 11:35:23 +0000 (13:35 +0200)] 
Merge pull request #10483 from omoerbeek/log-qtype-qclass

Implement log methods for QType and QClass

4 years agoin secpoll testing, do not start the auth 10493/head
Peter van Dijk [Mon, 14 Jun 2021 11:33:56 +0000 (13:33 +0200)] 
in secpoll testing, do not start the auth

4 years agoMerge pull request #10492 from rgacogne/fix-qtype-getname-speedtest
Remi Gacogne [Mon, 14 Jun 2021 10:18:48 +0000 (12:18 +0200)] 
Merge pull request #10492 from rgacogne/fix-qtype-getname-speedtest

speedtest: Fix QType::getName() renamed to QType::toString()

4 years agoupdate default in docs, thanks @ncartron
Peter van Dijk [Sun, 13 Jun 2021 16:22:19 +0000 (18:22 +0200)] 
update default in docs, thanks @ncartron

4 years agospeedtest: Fix QType::getName() renamed to QType::toString() 10492/head
Remi Gacogne [Sat, 12 Jun 2021 15:43:15 +0000 (17:43 +0200)] 
speedtest: Fix QType::getName() renamed to QType::toString()

4 years agoMerge pull request #10441 from rgacogne/ddist-memory-client-mode
Remi Gacogne [Sat, 12 Jun 2021 09:20:48 +0000 (11:20 +0200)] 
Merge pull request #10441 from rgacogne/ddist-memory-client-mode

dnsdist: Skip some memory allocations in client mode

4 years agodnsdist: Remove a default param in the definition of DownstreamState's ctor 10441/head
Remi Gacogne [Fri, 11 Jun 2021 14:11:09 +0000 (16:11 +0200)] 
dnsdist: Remove a default param in the definition of DownstreamState's ctor

4 years agoMerge pull request #10486 from Habbie/auth-4.5.0-beta1-docs-secpoll
Peter van Dijk [Wed, 9 Jun 2021 09:29:41 +0000 (11:29 +0200)] 
Merge pull request #10486 from Habbie/auth-4.5.0-beta1-docs-secpoll

auth-4.5.0-beta1: docs+secpoll

4 years agoauth-4.5.0-beta1: docs+secpoll 10486/head
Peter van Dijk [Wed, 9 Jun 2021 08:50:25 +0000 (10:50 +0200)] 
auth-4.5.0-beta1: docs+secpoll

4 years agoMerge pull request #10481 from omoerbeek/rec-prep-4.5.2
Otto Moerbeek [Wed, 9 Jun 2021 08:16:30 +0000 (10:16 +0200)] 
Merge pull request #10481 from omoerbeek/rec-prep-4.5.2

Rec: Prep for 4.4.4 and 4.5.2

4 years agoReformat 10483/head
Otto [Fri, 16 Apr 2021 13:30:15 +0000 (15:30 +0200)] 
Reformat

4 years agoImplement log methods for QType and QClass
Otto [Mon, 12 Apr 2021 09:51:36 +0000 (11:51 +0200)] 
Implement log methods for QType and QClass

4 years agoMerge pull request #10467 from omoerbeek/rec-openbsd-kqueue
Otto Moerbeek [Tue, 8 Jun 2021 08:07:08 +0000 (10:07 +0200)] 
Merge pull request #10467 from omoerbeek/rec-openbsd-kqueue

Switch OpenBSD to kqueue mplexer

4 years agoMerge branch 'rec-prep-4.4.4' into rec-prep-4.5.2 10481/head
Otto [Tue, 8 Jun 2021 08:00:22 +0000 (10:00 +0200)] 
Merge branch 'rec-prep-4.4.4' into rec-prep-4.5.2

4 years agoMention correct version now that this is backported.
Otto [Mon, 7 Jun 2021 07:39:20 +0000 (09:39 +0200)] 
Mention correct version now that this is backported.

4 years agoPrep for 4.5.2, no secpoll change yet since it will conflict with the rec-4.4.4 one.
Otto [Mon, 7 Jun 2021 12:08:11 +0000 (14:08 +0200)] 
Prep for 4.5.2, no secpoll change yet since it will conflict with the rec-4.4.4 one.

4 years agoMerge pull request #10437 from Habbie/ldap-docs-master-yes auth-4.6.0-alpha0
Peter van Dijk [Mon, 7 Jun 2021 10:39:35 +0000 (12:39 +0200)] 
Merge pull request #10437 from Habbie/ldap-docs-master-yes

auth ldap: note that master mode -is- supported

4 years agoPrep for rec-4.4.4
Otto [Mon, 7 Jun 2021 08:24:07 +0000 (10:24 +0200)] 
Prep for rec-4.4.4

4 years agoMerge pull request #10469 from Habbie/dnsdist-no-dnsdist-table auth-4.5.0-beta1
Remi Gacogne [Mon, 7 Jun 2021 08:43:39 +0000 (10:43 +0200)] 
Merge pull request #10469 from Habbie/dnsdist-no-dnsdist-table

dnsdist: remove dnsdist.* lookup fallback

4 years agoMerge pull request #10463 from Habbie/lua-forward-reverse
Peter van Dijk [Sun, 6 Jun 2021 18:32:30 +0000 (20:32 +0200)] 
Merge pull request #10463 from Habbie/lua-forward-reverse

auth LUA: add filterForward function, to limit the scope of createForward[6]

4 years agoadd filterForward function, plus initialiser helper in newNMG 10463/head
Peter van Dijk [Tue, 1 Jun 2021 13:54:02 +0000 (15:54 +0200)] 
add filterForward function, plus initialiser helper in newNMG

4 years agoauth LUA testing: test the exception feature
Peter van Dijk [Mon, 31 May 2021 15:15:14 +0000 (17:15 +0200)] 
auth LUA testing: test the exception feature

4 years agoexpand LUA createForward/Reverse testing
Peter van Dijk [Mon, 31 May 2021 10:51:18 +0000 (12:51 +0200)] 
expand LUA createForward/Reverse testing

4 years agoauthtests.py: fix rcode comparison and reporting
Peter van Dijk [Mon, 31 May 2021 14:46:22 +0000 (16:46 +0200)] 
authtests.py: fix rcode comparison and reporting

4 years agorename suffix to format
Peter van Dijk [Fri, 28 May 2021 21:14:21 +0000 (23:14 +0200)] 
rename suffix to format

4 years agoMerge pull request #10470 from mind04/pdns-auth-py
Peter van Dijk [Sun, 6 Jun 2021 15:03:21 +0000 (17:03 +0200)] 
Merge pull request #10470 from mind04/pdns-auth-py

auth: disable zone-cache for the regression.auth-py tests

4 years agoauth: fix the nobackend tests 10470/head
Kees Monshouwer [Sun, 6 Jun 2021 11:01:12 +0000 (13:01 +0200)] 
auth: fix the nobackend tests

4 years agoauth: disable zone-cache for the regression.auth-py tests
Kees Monshouwer [Sat, 5 Jun 2021 23:33:03 +0000 (01:33 +0200)] 
auth: disable zone-cache for the regression.auth-py tests

4 years agodnsdist: remove dnsdist.* lookup fallback 10469/head
Peter van Dijk [Sat, 5 Jun 2021 16:57:56 +0000 (18:57 +0200)] 
dnsdist: remove dnsdist.* lookup fallback

4 years agoMerge pull request #10426 from omoerbeek/rec-refresh-ns-and-addr-fix
Otto Moerbeek [Fri, 4 Jun 2021 14:34:49 +0000 (16:34 +0200)] 
Merge pull request #10426 from omoerbeek/rec-refresh-ns-and-addr-fix

rec: When refreshing, do not consider root almost expired

4 years agoSwitch OpenBSD to kqueue mplexer; untested 10467/head
Otto [Fri, 4 Jun 2021 14:02:35 +0000 (16:02 +0200)] 
Switch OpenBSD to kqueue mplexer; untested

4 years agomake ttl value's origin clear 10426/head
Otto Moerbeek [Fri, 4 Jun 2021 12:58:50 +0000 (14:58 +0200)] 
make ttl value's origin clear

Co-authored-by: Remi Gacogne <github@coredump.fr>
4 years agoAdd testcase for "almost expired".
Otto [Fri, 4 Jun 2021 11:27:44 +0000 (13:27 +0200)] 
Add testcase for "almost expired".

4 years agoMerge pull request #10450 from pieterlexis/modernize-ax_check_sign
Peter van Dijk [Thu, 3 Jun 2021 20:36:55 +0000 (22:36 +0200)] 
Merge pull request #10450 from pieterlexis/modernize-ax_check_sign

Update AX_CHECK_SIGN for autoconf 2.71

4 years agoMerge pull request #10454 from mind04/pdns-tiny-getalldomains
Peter van Dijk [Thu, 3 Jun 2021 18:57:41 +0000 (20:57 +0200)] 
Merge pull request #10454 from mind04/pdns-tiny-getalldomains

auth: add/fix getAllDomains()

4 years agoMerge pull request #10466 from tuxis-ie/fix_issue_10465
Peter van Dijk [Thu, 3 Jun 2021 14:57:29 +0000 (16:57 +0200)] 
Merge pull request #10466 from tuxis-ie/fix_issue_10465

Update documentation to reflect changes in default-soa-content.

4 years agoadd markup 10466/head
Peter van Dijk [Thu, 3 Jun 2021 14:57:18 +0000 (16:57 +0200)] 
add markup

4 years agoMerge pull request #10461 from mind04/pdns-createdomain
Peter van Dijk [Thu, 3 Jun 2021 14:51:19 +0000 (16:51 +0200)] 
Merge pull request #10461 from mind04/pdns-createdomain

auth: simplify createDomain()

4 years agoMerge pull request #10452 from cmouse/doc-unknown-rr
Peter van Dijk [Thu, 3 Jun 2021 13:46:31 +0000 (15:46 +0200)] 
Merge pull request #10452 from cmouse/doc-unknown-rr

docs: Document unknown record type in supported types

4 years agoauth: document and check backend zone-cache capability 10454/head
Kees Monshouwer [Thu, 3 Jun 2021 06:44:38 +0000 (08:44 +0200)] 
auth: document and check backend zone-cache capability

4 years agoUpdate with @Habbie's suggestions
Mark Schouten [Thu, 3 Jun 2021 11:59:37 +0000 (13:59 +0200)] 
Update with @Habbie's suggestions

4 years agoUpdate documentation to reflect changes in default-soa-content.
Mark Schouten [Thu, 3 Jun 2021 10:32:06 +0000 (12:32 +0200)] 
Update documentation to reflect changes in default-soa-content.

There are more settings that need replacing.

4 years agoMerge pull request #10460 from rgacogne/rec-referral-from-parent-on-ds
Remi Gacogne [Thu, 3 Jun 2021 08:44:39 +0000 (10:44 +0200)] 
Merge pull request #10460 from rgacogne/rec-referral-from-parent-on-ds

rec: Don't follow referral from the parent to the child for DS queries

4 years agoauth: simplify createDomain() 10461/head
Kees Monshouwer [Mon, 31 May 2021 21:25:13 +0000 (23:25 +0200)] 
auth: simplify createDomain()

4 years agoMerge pull request #10419 from rgacogne/ddist-fix-edns-notify
Remi Gacogne [Wed, 2 Jun 2021 14:36:13 +0000 (16:36 +0200)] 
Merge pull request #10419 from rgacogne/ddist-fix-edns-notify

dnsdist: Properly handle ECS for queries with ancount or nscount > 0

4 years agorec: Cleaner way of handling a referral to a child zone for DS queries 10460/head
Remi Gacogne [Wed, 2 Jun 2021 14:29:40 +0000 (16:29 +0200)] 
rec: Cleaner way of handling a referral to a child zone for DS queries

4 years agorec: Also test for the "referral to child on DS query" case in a Secure zone
Remi Gacogne [Wed, 2 Jun 2021 14:26:14 +0000 (16:26 +0200)] 
rec: Also test for the "referral to child on DS query" case in a Secure zone

4 years agoBetter approach: just never consider root records "almost expired".
Otto [Wed, 2 Jun 2021 14:11:44 +0000 (16:11 +0200)] 
Better approach: just never consider root records "almost expired".

They will be refreshed by the periodic task anyway.

4 years agorec: Fix a typo in a comment
Remi Gacogne [Wed, 2 Jun 2021 13:02:42 +0000 (15:02 +0200)] 
rec: Fix a typo in a comment

4 years agorec: Add a unit test for the "referral to child on DS query" case
Remi Gacogne [Wed, 2 Jun 2021 13:00:32 +0000 (15:00 +0200)] 
rec: Add a unit test for the "referral to child on DS query" case

4 years agoMerge pull request #10445 from rgacogne/rec-typo-edns-prometheus-metric
Otto Moerbeek [Wed, 2 Jun 2021 11:28:18 +0000 (13:28 +0200)] 
Merge pull request #10445 from rgacogne/rec-typo-edns-prometheus-metric

rec: Fix a typo in the prometheus "edns-ping-mismatches" metric

4 years agoMerge pull request #10459 from Habbie/auth-py-tests
Peter van Dijk [Wed, 2 Jun 2021 10:15:17 +0000 (12:15 +0200)] 
Merge pull request #10459 from Habbie/auth-py-tests

auth-py tests: unbreak, enable in CircleCI

4 years agoUpdate AX_CHECK_SIGN for autoconf 2.71 10450/head
Pieter Lexis [Wed, 26 May 2021 12:24:17 +0000 (14:24 +0200)] 
Update AX_CHECK_SIGN for autoconf 2.71

When running autoreconf with ax_check_sign.m4, autoconf 2.71 complains
about the use of `AX_TRY_COMPILE`:

```
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:29: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:29: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/ax_check_sign.m4:41: AX_CHECK_SIGN is expanded from...
m4/pdns_check_time_t.m4:1: PDNS_CHECK_TIME_T is expanded from...
configure.ac:29: the top level
```

This updates the macro to use `AC_COMPILE_IFELSE`, which has been present in
autoconf since at least version 2.60, released in 26 Jun 2006 (I did not
check any older releases).

This patch has been [submitted](http://savannah.gnu.org/patch/index.php?10071) [upstream](https://github.com/autoconf-archive/autoconf-archive/pull/225).

4 years agoMerge pull request #10407 from zeha/bullseye
Peter van Dijk [Tue, 1 Jun 2021 08:36:56 +0000 (10:36 +0200)] 
Merge pull request #10407 from zeha/bullseye

builder-support: add Debian bullseye dockerfiles

4 years agoMerge pull request #10462 from pieterlexis/update-boost-m4
Peter van Dijk [Tue, 1 Jun 2021 08:33:27 +0000 (10:33 +0200)] 
Merge pull request #10462 from pieterlexis/update-boost-m4

Update boost.m4

4 years agoauth LUA testing: allow 2 seconds for health checking to run 10459/head
Peter van Dijk [Tue, 1 Jun 2021 08:12:42 +0000 (10:12 +0200)] 
auth LUA testing: allow 2 seconds for health checking to run

4 years agoUpdate boost.m4 10462/head
Pieter Lexis [Tue, 1 Jun 2021 07:12:15 +0000 (09:12 +0200)] 
Update boost.m4

4 years agorec: Don't follow referral from the parent to the child for DS queries
Remi Gacogne [Mon, 31 May 2021 15:00:18 +0000 (17:00 +0200)] 
rec: Don't follow referral from the parent to the child for DS queries

It happens if the server does not know about the DS special case.
Treat the delegation as a unsigned NODATA answer in that case.

For example for sthc.nordlo.cloud we go from the existing:

```
[1]   sthc.nordlo.cloud: Resolved 'nordlo.cloud' NS ns2.zetup.se to: 159.253.27.75
[1]   sthc.nordlo.cloud: Trying IP 159.253.27.75:53, asking 'sthc.nordlo.cloud|DS'
[1]   sthc.nordlo.cloud: Got 3 answers from ns2.zetup.se (159.253.27.75), rcode=0 (No Error), aa=0, in 35ms
[1]   sthc.nordlo.cloud: accept answer 'sthc.nordlo.cloud|NS|ns2.loopia.se.' from 'nordlo.cloud' nameservers? ttl=3600, place=2 YES!
[1]   sthc.nordlo.cloud: accept answer 'sthc.nordlo.cloud|NS|ns1.loopia.se.' from 'nordlo.cloud' nameservers? ttl=3600, place=2 YES!
[1]   sthc.nordlo.cloud: OPT answer '.' from 'nordlo.cloud' nameservers
[1]   sthc.nordlo.cloud: determining status after receiving this packet
[1]   sthc.nordlo.cloud: got NS record 'sthc.nordlo.cloud' -> 'ns2.loopia.se.'
[1]   sthc.nordlo.cloud: got NS record 'sthc.nordlo.cloud' -> 'ns1.loopia.se.'
[1]   sthc.nordlo.cloud: status=did not resolve, got 2 NS, looping to them
[1]   sthc.nordlo.cloud.: Nameservers: ns1.loopia.se(37.85ms), ns2.loopia.se(38.26ms)
[1]   sthc.nordlo.cloud: Trying to resolve NS 'ns1.loopia.se' (1/2)
[1]   Nameserver ns1.loopia.se IPs: 93.188.0.20(37.85ms)
[1]   sthc.nordlo.cloud: Resolved 'sthc.nordlo.cloud' NS ns1.loopia.se to: 93.188.0.20
[1]   sthc.nordlo.cloud: Trying IP 93.188.0.20:53, asking 'sthc.nordlo.cloud|DS'
```

to:

```
[1]   sthc.nordlo.cloud: Resolved 'nordlo.cloud' NS ns2.zetup.se to: 159.253.27.75
[1]   sthc.nordlo.cloud: Trying IP 159.253.27.75:53, asking 'sthc.nordlo.cloud|DS'
[1]   sthc.nordlo.cloud: Got 3 answers from ns2.zetup.se (159.253.27.75), rcode=0 (No Error), aa=0, in 35ms
[1]   sthc.nordlo.cloud: accept answer 'sthc.nordlo.cloud|NS|ns2.loopia.se.' from 'nordlo.cloud' nameservers? ttl=3600, place=2 YES!
[1]   sthc.nordlo.cloud: accept answer 'sthc.nordlo.cloud|NS|ns1.loopia.se.' from 'nordlo.cloud' nameservers? ttl=3600, place=2 YES!
[1]   sthc.nordlo.cloud: OPT answer '.' from 'nordlo.cloud' nameservers
[1]   sthc.nordlo.cloud: determining status after receiving this packet
[1]   sthc.nordlo.cloud: got NS record 'sthc.nordlo.cloud' -> 'ns2.loopia.se.'
[1]   sthc.nordlo.cloud: got (implicit) negative indication of DS record for 'sthc.nordlo.cloud'
[1]   sthc.nordlo.cloud: got NS record 'sthc.nordlo.cloud' -> 'ns1.loopia.se.'
[1]   sthc.nordlo.cloud: status=noerror, other types may exist, but we are done (have negative SOA)
[1] : no signatures for sthc.nordlo.cloud, we likely missed a cut between cloud and nordlo.cloud, looking for it
```

4 years agocircleci: test auth-py
Peter van Dijk [Mon, 15 Feb 2021 13:20:15 +0000 (14:20 +0100)] 
circleci: test auth-py