]>
granicus.if.org Git - pdns/log
bert hubert [Wed, 25 Oct 2017 10:46:41 +0000 (12:46 +0200)]
also account for network latency when talking to hardcoded servers
bert hubert [Wed, 25 Oct 2017 10:40:20 +0000 (12:40 +0200)]
remove whitespace
bert hubert [Mon, 23 Oct 2017 11:01:14 +0000 (13:01 +0200)]
add annotation to documentation, fix unrelated RST-warning
bert hubert [Mon, 9 Oct 2017 18:43:20 +0000 (20:43 +0200)]
as expected, the 'delta' latency between time passed and time spent on network sometimes goes negative (because we use timers like that). Protect ourselves against messing up the stats when that happens (it is very rare, but it happened to me)
bert hubert [Fri, 6 Oct 2017 11:20:15 +0000 (13:20 +0200)]
Implement experimental metric tracking time spent within PowerDNS per query
With this commit, PowerDNS provides metrics on the difference between the time spent waiting for authoritative servers, and the amount of time elapsed between arrival of query
and sending out the response. This metric should be seen as experimental until operational experience proves its relevance.
Peter van Dijk [Fri, 6 Oct 2017 09:16:50 +0000 (11:16 +0200)]
Merge pull request #5733 from rgacogne/test-vectors
Add DNSSEC test vectors for RSA, ECDSA,
ed25519 and GOST
Peter van Dijk [Fri, 6 Oct 2017 09:13:53 +0000 (11:13 +0200)]
Merge pull request #5766 from rgacogne/auth-purge-query-cache-on-axfr
auth: Correctly purge entries from the caches after a transfer
Peter van Dijk [Fri, 6 Oct 2017 09:12:25 +0000 (11:12 +0200)]
Merge pull request #5771 from rgacogne/rec-ds-queries-cut
rec: For DS queries, only the cuts down to the parent matter
Peter van Dijk [Fri, 6 Oct 2017 09:11:38 +0000 (11:11 +0200)]
Merge pull request #5772 from rgacogne/rec-tc-authority
rec: Set TC=1 if we had to omit part of the AUTHORITY section
Remi Gacogne [Thu, 5 Oct 2017 14:48:27 +0000 (16:48 +0200)]
rec: Set TC=1 if we had to omit part of the AUTHORITY section
The client might need them for validation purpose, for example, so
it needs to know the answer has been truncated.
Remi Gacogne [Thu, 5 Oct 2017 10:24:56 +0000 (12:24 +0200)]
auth: Purge the caches after a successful IXFR
Remi Gacogne [Thu, 5 Oct 2017 10:09:46 +0000 (12:09 +0200)]
auth: Purge entries from the query cache on an incoming AXFR
Since the QC/PC split up, we only removed entries for the AXFR'd
domain from the packet cache, not the query cache.
Remi Gacogne [Tue, 3 Oct 2017 20:41:12 +0000 (22:41 +0200)]
rec: For DS queries, only the cuts down to the parent matter
bert hubert [Mon, 2 Oct 2017 19:39:23 +0000 (21:39 +0200)]
Merge pull request #5756 from ahupowerdns/logimp2
Improve --quiet=false output for recursor to include DNSSEC and more timing details (the good version of this PR)
bert hubert [Fri, 29 Sep 2017 20:37:49 +0000 (22:37 +0200)]
Improve --quiet=false output for recursor to include DNSSEC and more timing details
With this PR, pdns_recursor non-quiet logging shows DNSSEC status and adds time spent waiting for network, plus total time spent before answer was sent. This quantifies the internal overhead.
aerique [Mon, 2 Oct 2017 12:41:06 +0000 (14:41 +0200)]
Merge pull request #5752 from rgacogne/rec-5716-follow-up
rec: Check that the owner name is part of the signer in getDenial
aerique [Mon, 2 Oct 2017 09:33:56 +0000 (11:33 +0200)]
Merge pull request #5753 from rgacogne/rec-nxd-from-exact-auth-ds
rec: When looking for a DS, skip NXD if the auth matches the qname
bert hubert [Mon, 2 Oct 2017 08:30:30 +0000 (10:30 +0200)]
Merge pull request #5755 from ahupowerdns/travis-bulk-improve
Improve dnsbulktest experience in travis for more robustness
bert hubert [Mon, 2 Oct 2017 07:27:03 +0000 (09:27 +0200)]
we actually resolve 98% by new definition, so can affort upping threshold from 90 to 95%.
Peter van Dijk [Sat, 30 Sep 2017 20:10:30 +0000 (22:10 +0200)]
Merge pull request #5744 from cmouse/remotebackend
remotebackend: Fix libjson11.la location to top_builddir
bert hubert [Fri, 29 Sep 2017 20:40:53 +0000 (22:40 +0200)]
Improve dnsbulktest experience in travis for more robustness
This commit changes our dnsbulktest source from Alexa to Cisco Umbrella, but this turned out not to be as important as we thought.
In addition, it turns out we had been installing pdns-tools incorrectly because of wrong apt-settings. We now install pdns-tools from the master repo at repo.powerdns.com
This commit also tunes pdns_recursor to use less simultaneous outbound connections during testing, which appears to make Travis NAT happier, leading to less errors.
Finally, we use new features of dnsbulktest to extract more statistics for how well we are doing. Success is now dependent on errors and timeouts, and less on NXDOMAIN.
bert hubert [Fri, 29 Sep 2017 16:27:35 +0000 (18:27 +0200)]
Merge pull request #5754 from ahupowerdns/dnsbulk-more-stats
Add more metrics to dnsbulktest -e output
bert hubert [Fri, 29 Sep 2017 15:30:23 +0000 (17:30 +0200)]
Add more metrics to dnsbulktest -e output
With this commit, dnsbulktest writes out more statistics when invoked with -e. This enables more granular limits for determining build success in travis.
Remi Gacogne [Fri, 29 Sep 2017 12:35:16 +0000 (14:35 +0200)]
rec: When looking for a DS, skip NXD if the auth matches the qname
Remi Gacogne [Fri, 29 Sep 2017 11:56:50 +0000 (13:56 +0200)]
Merge pull request #5738 from rgacogne/rec-servfail-on-direct-rrsig-nsec3
rec: Do not allow direct queries for RRSIG or NSEC3
Remi Gacogne [Fri, 29 Sep 2017 10:26:05 +0000 (12:26 +0200)]
rec: Check that the owner name is part of the signer in getDenial
Remi Gacogne [Fri, 29 Sep 2017 10:01:40 +0000 (12:01 +0200)]
rec: De-duplicate handling of TA/NTA state from getDSRecords()
bert hubert [Fri, 29 Sep 2017 07:15:54 +0000 (09:15 +0200)]
Merge pull request #5750 from ahupowerdns/dnsbulktest-no-www
add --www feature to dnsbulktest to make it (not) add www. to everything too
bert hubert [Fri, 29 Sep 2017 06:07:53 +0000 (08:07 +0200)]
add --www feature to dnsbulktest to make it (not) add www. to everything too
Peter van Dijk [Thu, 28 Sep 2017 18:44:12 +0000 (20:44 +0200)]
Merge pull request #5716 from rgacogne/rec-cut-ds
rec: Detect zone cuts by asking for DS instead of NS
Aki Tuomi [Thu, 28 Sep 2017 13:12:34 +0000 (16:12 +0300)]
remotebackend: Fix libjson11.la location to top_builddir
bert hubert [Thu, 28 Sep 2017 11:59:46 +0000 (13:59 +0200)]
Merge pull request #5699 from ahupowerdns/rec-dyn-cache-entries
implement dynamic cache sizeing for recursor
aerique [Thu, 28 Sep 2017 09:32:48 +0000 (11:32 +0200)]
Merge pull request #5734 from rgacogne/auth-botan-pk-crash
auth: Fix a crash when getting a public GOST key if the private one is not set
aerique [Thu, 28 Sep 2017 08:15:26 +0000 (10:15 +0200)]
Merge pull request #5739 from rgacogne/rec-policy-pass-truncate
rec: Remove pdns.PASS and pdns.TRUNCATE
bert hubert [Wed, 27 Sep 2017 19:22:30 +0000 (21:22 +0200)]
Merge pull request #5576 from rgacogne/dnsdist-sharded-mmsg
dnsdist: Cache sharding, recvmmsg and CPU pinning support
Remi Gacogne [Wed, 27 Sep 2017 14:24:39 +0000 (16:24 +0200)]
rec: Remove pdns.PASS and pdns.TRUNCATE
Those values are not documented in a recursor context, and does not
work as expected since `pdns.PASS` resulted in an immediate `ServFail`
and `pdns.TRUNCATE` in a strange status code being sent (showing
up as `RESERVED13` in `dig`).
Remi Gacogne [Wed, 27 Sep 2017 14:14:49 +0000 (16:14 +0200)]
rec: Do not allow direct queries for RRSIG or NSEC3
aerique [Wed, 27 Sep 2017 10:13:52 +0000 (12:13 +0200)]
Merge pull request #5723 from rgacogne/auth-bindbackend_dof
auth: Use a unique pointer for bind backend's `d_of`
aerique [Wed, 27 Sep 2017 08:29:53 +0000 (10:29 +0200)]
Merge pull request #5732 from aerique/bugfix/5690-add-note-ldap-schema-update
Add note on updating LDAP schema.
aerique [Tue, 26 Sep 2017 15:11:47 +0000 (17:11 +0200)]
Merge pull request #5715 from rgacogne/rec-direct-nsec
rec: Handle direct NSEC queries
Peter van Dijk [Tue, 26 Sep 2017 09:37:15 +0000 (11:37 +0200)]
Merge pull request #5722 from pieterlexis/issue-5721-publish-inactive-CDS-CDNSKEY
Auth: Publish inactive KSK/CSK as CDNSKEY/CDS
Erik Winkels [Tue, 26 Sep 2017 08:56:40 +0000 (10:56 +0200)]
Add note on updating LDAP schema.
Remi Gacogne [Tue, 26 Sep 2017 08:05:10 +0000 (10:05 +0200)]
Merge pull request #5727 from rgacogne/dnsdist-doc-typo-qnamerule
dnsdist: Fix typo in the documentation QnameRule -> QNameRule
aerique [Mon, 25 Sep 2017 15:03:30 +0000 (17:03 +0200)]
Merge pull request #5730 from aerique/bugfix/4703-handle-afsdb-record-separately
Unit test for AFSDB fix (PR #5667)
Erik Winkels [Mon, 25 Sep 2017 13:10:01 +0000 (15:10 +0200)]
Add AFSDB record to unit.test. zone.
aerique [Mon, 25 Sep 2017 12:40:13 +0000 (14:40 +0200)]
Merge pull request #5729 from aerique/bugfix/5719-pdnsutil-exports-ds-records
Remove printing of DS records from export-zone-dnskey.
Erik Winkels [Mon, 25 Sep 2017 10:44:51 +0000 (12:44 +0200)]
Remove printing of DS records from export-zone-dnskey.
Remi Gacogne [Mon, 25 Sep 2017 09:19:12 +0000 (11:19 +0200)]
dnsdist: Fix typo in the documentation QnameRule -> QNameRule
Peter van Dijk [Mon, 25 Sep 2017 09:08:16 +0000 (11:08 +0200)]
Merge pull request #5725 from PowerDNS/rgacogne-dnsdist-nmg-doc
dnsdist: Fix NetmaskGroup NGM -> NMG typo in the doc
Remi Gacogne [Mon, 25 Sep 2017 09:02:12 +0000 (11:02 +0200)]
dnsdist: Fix NetmaskGroup NGM -> NMG typo in the doc
Remi Gacogne [Fri, 22 Sep 2017 14:59:07 +0000 (16:59 +0200)]
Add DNSSEC test vectors for RSA, ECDSA,
ed25519 and GOST
Pieter Lexis [Fri, 22 Sep 2017 16:00:42 +0000 (18:00 +0200)]
Merge pull request #5718 from pieterlexis/print-log-after-fail
Print test suite log on failure when building packages
Pieter Lexis [Fri, 22 Sep 2017 16:00:16 +0000 (18:00 +0200)]
Merge pull request #5704 from pieterlexis/api-cryptokey-use-defaults
Auth DNSSEC: Make default options singular and use defaults in Cryptokey API-endpoint
Remi Gacogne [Fri, 22 Sep 2017 12:35:54 +0000 (14:35 +0200)]
auth: Fix a crash when getting a public GOST key if the private one is not set
Remi Gacogne [Fri, 22 Sep 2017 12:26:04 +0000 (14:26 +0200)]
auth: Use a unique pointer for bind backend's `d_of`
Pieter Lexis [Fri, 22 Sep 2017 08:17:12 +0000 (10:17 +0200)]
Auth: Publish inactive KSK/CSK as CDNSKEY/CDS
Closes #5721
Remi Gacogne [Thu, 21 Sep 2017 14:49:18 +0000 (16:49 +0200)]
rec: NS-consistency check is only when we expect an insecure delegation
Peter van Dijk [Thu, 21 Sep 2017 11:38:28 +0000 (13:38 +0200)]
Merge pull request #5702 from cmouse/update-fixes
bindbackend: Fix transaction to return false on failure
Remi Gacogne [Thu, 21 Sep 2017 09:17:29 +0000 (11:17 +0200)]
rec: Correctly handle a CNAME answer when looking for a DS
Remi Gacogne [Mon, 18 Sep 2017 13:01:39 +0000 (15:01 +0200)]
rec: Handle direct NSEC queries
Remi Gacogne [Wed, 20 Sep 2017 14:28:34 +0000 (16:28 +0200)]
Merge pull request #5710 from Habbie/secpoll-unquote
remove "" around secpoll result. Fixes #5692
Remi Gacogne [Fri, 15 Sep 2017 08:52:37 +0000 (10:52 +0200)]
rec: Skip looking for cuts once we are Insecure or Bogus, just (N)TA
Remi Gacogne [Wed, 13 Sep 2017 09:10:52 +0000 (11:10 +0200)]
rec: Detect zone cuts by asking for DS instead of NS
bert hubert [Wed, 20 Sep 2017 13:28:01 +0000 (15:28 +0200)]
Merge pull request #5711 from ahupowerdns/dnsdist-proba
add ProbaRule to dnsdist: match with given probability
bert hubert [Tue, 19 Sep 2017 20:22:57 +0000 (22:22 +0200)]
add ProbaRule to dnsdist: match with given probability
This adds a ProbaRule, ProbaRule(1.0) means 'match always', 0.1 '10%'. Useful for TeeAction.
Pieter Lexis [Tue, 19 Sep 2017 14:28:16 +0000 (16:28 +0200)]
Fix doc and message nits
Remi Gacogne [Tue, 12 Sep 2017 12:34:09 +0000 (14:34 +0200)]
rec: Separate the actual code checking if a cut exists for refactoring
Peter van Dijk [Tue, 19 Sep 2017 10:19:37 +0000 (12:19 +0200)]
remove "" around secpoll result. Fixes #5692
Pieter Lexis [Tue, 19 Sep 2017 08:34:57 +0000 (10:34 +0200)]
Merge pull request #5700 from Habbie/seperate
doc nit: s/seperate/separate/
Pieter Lexis [Tue, 19 Sep 2017 08:34:39 +0000 (10:34 +0200)]
Merge pull request #5706 from Habbie/man-virtualenv-fail
actually abort when virtualenv is missing. Fixes #5701
Peter van Dijk [Mon, 18 Sep 2017 15:25:40 +0000 (17:25 +0200)]
actually abort when virtualenv is missing. Fixes #5701
Pieter Lexis [Mon, 18 Sep 2017 07:28:59 +0000 (09:28 +0200)]
auth API: use default options for cryptokeys
Pieter Lexis [Mon, 18 Sep 2017 08:14:28 +0000 (10:14 +0200)]
auth: Warn on startup if default key size is req'd
Pieter Lexis [Fri, 15 Sep 2017 14:08:48 +0000 (16:08 +0200)]
auth: make default-{k,z}sk-algorithms singular
Aki Tuomi [Mon, 18 Sep 2017 09:58:25 +0000 (12:58 +0300)]
bindbackend: Add missing safeGetBBDomainInfo return value checks
Aki Tuomi [Mon, 18 Sep 2017 09:56:02 +0000 (12:56 +0300)]
bindbackend: Move throw to correct place in startTransaction
The cleanup code wasn't being executed due to premature throw
Aki Tuomi [Mon, 18 Sep 2017 06:43:57 +0000 (09:43 +0300)]
bindbackend: Return false if domain_id is negative
It should return false, because it has effectively failed.
Returning true can cause several problems later on as
various functions assume they have valid file handle pointer
and valid domain ID to look up, which they don't.
bert hubert [Mon, 18 Sep 2017 09:21:52 +0000 (11:21 +0200)]
add dynamic cache size metrics & documentation
Aki Tuomi [Mon, 18 Sep 2017 06:22:59 +0000 (09:22 +0300)]
bindbackend: Return false if startTransaction fails
Peter van Dijk [Sat, 16 Sep 2017 00:46:09 +0000 (02:46 +0200)]
doc nit: s/seperate/separate/
bert hubert [Fri, 15 Sep 2017 15:56:47 +0000 (17:56 +0200)]
so I had to fill out "did you compile and test this code" and I nearly lied. So I tried it and it sucked. Better now.
bert hubert [Fri, 15 Sep 2017 15:42:51 +0000 (17:42 +0200)]
implement dynamic cache sizeing for recursor
With this commit, the number of (packet)cache entries can be changed at runtime, although the effect may not be immediate in case of shrinking the cache.
Peter van Dijk [Fri, 15 Sep 2017 08:45:43 +0000 (10:45 +0200)]
Merge pull request #5696 from wojas/auth-api-patch-serial
auth api: return new serial in header after PATCH
Pieter Lexis [Thu, 14 Sep 2017 13:39:35 +0000 (15:39 +0200)]
pkgs: print test suite log on failure
Konrad Wojas [Fri, 15 Sep 2017 06:39:32 +0000 (14:39 +0800)]
auth api: also return old serial from PATCH
This adds the old serial as X-PDNS-Old-Serial and renames the header of
the new one to match.
The old serial is useful to verify that no other PATCH happened in the
meantime.
Konrad Wojas [Fri, 15 Sep 2017 05:56:38 +0000 (13:56 +0800)]
auth api: return new serial in header after PATCH
For zone PATCH requests, this adds a new `X-PDNS-Zone-Serial` response
header with the new zone serial.
Ideally this would be returned in a response JSON object, but this API
currently return 204 No Content and I did not want to break any clients
that might rely on this.
Remi Gacogne [Thu, 14 Sep 2017 13:13:21 +0000 (15:13 +0200)]
Merge pull request #5691 from pieterlexis/boost.m4-gcc-7.2
boost.m4: detect gcc 7.2
Pieter Lexis [Thu, 14 Sep 2017 12:17:55 +0000 (14:17 +0200)]
Merge pull request #5597 from pieterlexis/dnsdist-signed-unsigned-arm
dnsdist: Fix several signed/unsigned comparison warnings on ARM
Pieter Lexis [Thu, 14 Sep 2017 12:17:27 +0000 (14:17 +0200)]
Merge pull request #5659 from Habbie/gettag-docs
gettag doc nits
Pieter Lexis [Thu, 14 Sep 2017 11:24:53 +0000 (13:24 +0200)]
boost.m4: detect gcc 7.2
aerique [Thu, 14 Sep 2017 10:44:39 +0000 (12:44 +0200)]
Merge pull request #5689 from Habbie/check-parts
verify parts.size(). Fixes #5688
Peter van Dijk [Thu, 14 Sep 2017 09:31:26 +0000 (11:31 +0200)]
explicitly warn when no hostname can be gathered
Peter van Dijk [Thu, 14 Sep 2017 08:08:54 +0000 (10:08 +0200)]
verify parts.size(). Fixes #5688
aerique [Wed, 13 Sep 2017 13:58:10 +0000 (15:58 +0200)]
Merge pull request #5584 from eehakkin/ldapbackend/new-record-types
ldapbackend: Add support for new record types
aerique [Wed, 13 Sep 2017 13:03:33 +0000 (15:03 +0200)]
Merge pull request #5678 from rgacogne/auth-requestor-payload
auth: Treat requestor's payload size lower than 512 as equal to 512
aerique [Wed, 13 Sep 2017 12:09:52 +0000 (14:09 +0200)]
Merge pull request #5684 from Habbie/5673
be more specific about trailing dot handling, fixes #5673
aerique [Wed, 13 Sep 2017 11:15:26 +0000 (13:15 +0200)]
Merge pull request #5666 from pieterlexis/doc-nits
Fix some doc nits
aerique [Wed, 13 Sep 2017 09:30:22 +0000 (11:30 +0200)]
Merge pull request #5665 from pieterlexis/auth-enable-pkcs11
Enable PKCS#11 in authoritative packages
aerique [Wed, 13 Sep 2017 07:44:34 +0000 (09:44 +0200)]
Merge pull request #5670 from rgacogne/rec-5648-root-denial
rec: Fix erroneous check for section 4.1 of rfc6840
Pieter Lexis [Tue, 12 Sep 2017 16:17:02 +0000 (18:17 +0200)]
Fix Zone object rendering