]> granicus.if.org Git - pdns/log
pdns
7 years agorec: Don't cached merged answers from different sections in a single packet
Remi Gacogne [Mon, 4 Dec 2017 09:38:43 +0000 (10:38 +0100)]
rec: Don't cached merged answers from different sections in a single packet

We incorrectly merged answers for the same qname and qtype coming from
a single packet but from different sections when storing them in the
cache. It resulted in duplicates for the IP addresses of some NS, for
example.

7 years agoMerge pull request #6037 from rgacogne/dnsdist-tags
Remi Gacogne [Fri, 15 Dec 2017 13:29:26 +0000 (14:29 +0100)]
Merge pull request #6037 from rgacogne/dnsdist-tags

dnsdist: Implement tag-based routing, add missing LuaAction and LuaResponseAction

7 years agoMerge pull request #5929 from rgacogne/dnsdist-check-class
Remi Gacogne [Fri, 15 Dec 2017 10:48:47 +0000 (11:48 +0100)]
Merge pull request #5929 from rgacogne/dnsdist-check-class

dnsdist: Add a class option to health checks

7 years agoMerge pull request #6094 from rgacogne/dnsdist-outstanding-responder-exception
Remi Gacogne [Fri, 15 Dec 2017 09:39:45 +0000 (10:39 +0100)]
Merge pull request #6094 from rgacogne/dnsdist-outstanding-responder-exception

dnsdist: Fix the oustanding counter when an exception is raised

7 years agodnsdist: Fix a typo in the IDS outstanding counter comment
Remi Gacogne [Thu, 14 Dec 2017 22:13:36 +0000 (23:13 +0100)]
dnsdist: Fix a typo in the IDS outstanding counter comment

7 years agodnsdist: Fix the oustanding counter when an exception is raised
Remi Gacogne [Thu, 14 Dec 2017 11:28:34 +0000 (12:28 +0100)]
dnsdist: Fix the oustanding counter when an exception is raised

If an exception is raised in the responder thread after the outstanding
queries counter has been decremented, but before we could mark the
state as processed, the same state would be processed again and the
counter decremented a second time, either because of a duplicate
answer or more likely by the timeout handler.
This commit simply increase back the outstanding counter when such
an exception occurs.

7 years agoMerge pull request #6065 from peterthomassen/patch-1
Pieter Lexis [Tue, 12 Dec 2017 15:50:49 +0000 (16:50 +0100)]
Merge pull request #6065 from peterthomassen/patch-1

docs: API: clarify what happens if rrsets is empty

7 years agoMerge pull request #6062 from pieterlexis/rec-centos6-piddir
Pieter Lexis [Tue, 12 Dec 2017 15:50:29 +0000 (16:50 +0100)]
Merge pull request #6062 from pieterlexis/rec-centos6-piddir

Fix PIDDIR detection on CentOS 6

7 years agoMerge pull request #6076 from pieterlexis/api-zone-endpoint-404
Pieter Lexis [Tue, 12 Dec 2017 15:50:12 +0000 (16:50 +0100)]
Merge pull request #6076 from pieterlexis/api-zone-endpoint-404

API: return 404 for non-existing zones

7 years agoMerge pull request #6073 from zeha/one-unused
Remi Gacogne [Tue, 12 Dec 2017 09:07:34 +0000 (10:07 +0100)]
Merge pull request #6073 from zeha/one-unused

Quiet unused variable warning on macOS

7 years agoMerge pull request #6077 from fobser/missing_include
Remi Gacogne [Tue, 12 Dec 2017 09:07:12 +0000 (10:07 +0100)]
Merge pull request #6077 from fobser/missing_include

Include unistd.h for chroot(2) et al.

7 years agoMerge pull request #6085 from rgacogne/rec-skip-non-in
Remi Gacogne [Tue, 12 Dec 2017 09:06:34 +0000 (10:06 +0100)]
Merge pull request #6085 from rgacogne/rec-skip-non-in

rec: Don't process records for another class than IN

7 years agoMerge pull request #6086 from rgacogne/rec-test-time
Remi Gacogne [Tue, 12 Dec 2017 09:05:54 +0000 (10:05 +0100)]
Merge pull request #6086 from rgacogne/rec-test-time

rec: Use the SyncRes time in our unit tests when checking cache validity

7 years agorec: Use the SyncRes time in our unit tests when checking cache validity
Remi Gacogne [Mon, 11 Dec 2017 12:46:13 +0000 (13:46 +0100)]
rec: Use the SyncRes time in our unit tests when checking cache validity

This might not fix our apparently random failures, but it will at least
remove on possible cause.

7 years agoFix date in advisory 2017-08
Pieter Lexis [Mon, 11 Dec 2017 12:12:54 +0000 (13:12 +0100)]
Fix date in advisory 2017-08

7 years agoFix date in advisory 2017-08
Pieter Lexis [Mon, 11 Dec 2017 12:12:08 +0000 (13:12 +0100)]
Fix date in advisory 2017-08

7 years agoMerge pull request #6084 from rgacogne/advisory-2017-08
Pieter Lexis [Mon, 11 Dec 2017 12:09:13 +0000 (13:09 +0100)]
Merge pull request #6084 from rgacogne/advisory-2017-08

Advisory 2017-08

7 years agoAdd advisory 2017-08
Remi Gacogne [Fri, 1 Dec 2017 11:00:45 +0000 (12:00 +0100)]
Add advisory 2017-08

7 years agoMerge pull request #6083 from aerique:feature/update-rec-4.0.x-changelog.
aerique [Mon, 11 Dec 2017 12:01:31 +0000 (13:01 +0100)]
Merge pull request #6083 from aerique:feature/update-rec-4.0.x-changelog.

Update changelog and secpoll for rec-4.0.8.

7 years agoMerge pull request #6072 from Habbie/dnsdist-inclientstartup
Peter van Dijk [Mon, 11 Dec 2017 09:26:37 +0000 (10:26 +0100)]
Merge pull request #6072 from Habbie/dnsdist-inclientstartup

dnsdist: add inClientStartup() function

7 years agorec: Don't process records for another class than IN
Remi Gacogne [Wed, 29 Nov 2017 13:59:26 +0000 (14:59 +0100)]
rec: Don't process records for another class than IN

7 years agoInclude unistd.h for chroot(2) et al.
Florian Obser [Fri, 8 Dec 2017 16:07:49 +0000 (17:07 +0100)]
Include unistd.h for chroot(2) et al.

7 years agoAPI: return 404 for non-existing zones
Pieter Lexis [Fri, 8 Dec 2017 14:33:11 +0000 (15:33 +0100)]
API: return 404 for non-existing zones

This commit ensures that any request for a path inside a non-existing
zone returns an HTTP 404 code.

Closes #6074

7 years agoQuiet unused variable warning on macOS
Chris Hofstaedtler [Fri, 8 Dec 2017 12:28:28 +0000 (13:28 +0100)]
Quiet unused variable warning on macOS

7 years agodo not return true after startup is done
Peter van Dijk [Fri, 8 Dec 2017 09:44:26 +0000 (10:44 +0100)]
do not return true after startup is done

7 years agodnsdist: add inClientStartup() function
Peter van Dijk [Fri, 8 Dec 2017 09:32:56 +0000 (10:32 +0100)]
dnsdist: add inClientStartup() function

7 years agoMerge pull request #6057 from zeha/combo-ipv6
Remi Gacogne [Fri, 8 Dec 2017 09:18:47 +0000 (10:18 +0100)]
Merge pull request #6057 from zeha/combo-ipv6

Handle bracketed IPv6 addresses without ports

7 years agodocs: API: clarify what happens if rrsets is empty
Peter Thomassen [Thu, 7 Dec 2017 09:16:45 +0000 (10:16 +0100)]
docs: API: clarify what happens if rrsets is empty

7 years agoMerge pull request #6061 from rgacogne/docs-regression-tests-typos
Remi Gacogne [Wed, 6 Dec 2017 14:11:10 +0000 (15:11 +0100)]
Merge pull request #6061 from rgacogne/docs-regression-tests-typos

Docs: Fix minor typos in the regression tests README

7 years agoFix PIDDIR detection on CentOS 6
Pieter Lexis [Wed, 6 Dec 2017 14:02:30 +0000 (15:02 +0100)]
Fix PIDDIR detection on CentOS 6

Fixes #6051

7 years agoDrop useless if branch
Chris Hofstaedtler [Wed, 6 Dec 2017 09:44:08 +0000 (10:44 +0100)]
Drop useless if branch

7 years agoMerge pull request #6022 from rgacogne/dnsdist-api-pools-cache-hits
Remi Gacogne [Wed, 6 Dec 2017 09:07:39 +0000 (10:07 +0100)]
Merge pull request #6022 from rgacogne/dnsdist-api-pools-cache-hits

dnsdist: Add Pools, cacheHitResponseRules to the API

7 years agoDocs: Fix minor typos in the regression tests README
Remi Gacogne [Wed, 6 Dec 2017 09:03:11 +0000 (10:03 +0100)]
Docs: Fix minor typos in the regression tests README

7 years agoMerge pull request #6058 from pieterlexis/docs-from-swagger
Pieter Lexis [Wed, 6 Dec 2017 08:54:47 +0000 (09:54 +0100)]
Merge pull request #6058 from pieterlexis/docs-from-swagger

Auth: Generate API documentation based on swagger file

7 years agoMerge pull request #6059 from cyclops1982/docfix
Pieter Lexis [Wed, 6 Dec 2017 08:54:22 +0000 (09:54 +0100)]
Merge pull request #6059 from cyclops1982/docfix

Small changes to docs that can help contributors

7 years agoMerge pull request #6055 from rgacogne/rec-negcache-32
Pieter Lexis [Wed, 6 Dec 2017 08:52:22 +0000 (09:52 +0100)]
Merge pull request #6055 from rgacogne/rec-negcache-32

rec: Work around a RRSIG year-2038 issue in the negcache unit tests

7 years agoMove debian-jessie notes to a less prominent place
Ruben d'Arco [Tue, 5 Dec 2017 18:14:24 +0000 (18:14 +0000)]
Move debian-jessie notes to a less prominent place

7 years agoSmall notes on needed tools for tests
Ruben d'Arco [Tue, 5 Dec 2017 18:11:06 +0000 (18:11 +0000)]
Small notes on needed tools for tests

7 years agoAuth: Generate API documentation based on swagger file
Pieter Lexis [Tue, 21 Nov 2017 17:09:30 +0000 (18:09 +0100)]
Auth: Generate API documentation based on swagger file

7 years agoHandle bracketed IPv6 addresses without ports
Chris Hofstaedtler [Tue, 5 Dec 2017 17:13:25 +0000 (18:13 +0100)]
Handle bracketed IPv6 addresses without ports

dnsdist's newServer source parameter is documented to take values
of those forms (plus some more):
  - v4 address ("192.0.2.1")
  - v6 address ("2001:DB8::1")

For consistency, bracketed addresses should work too, and all of them
should have a test.

7 years agoSome utils that debian-jessie has in docs
Ruben d'Arco [Tue, 5 Dec 2017 16:46:04 +0000 (16:46 +0000)]
Some utils that debian-jessie has in docs

7 years agoFor building docs, virtualenv is needed.
Ruben d'Arco [Tue, 5 Dec 2017 16:39:15 +0000 (16:39 +0000)]
For building docs, virtualenv is needed.

7 years agorec: Work around a RRSIG year-2038 issue in the negcache unit tests
Remi Gacogne [Tue, 5 Dec 2017 13:47:39 +0000 (14:47 +0100)]
rec: Work around a RRSIG year-2038 issue in the negcache unit tests

On 32-bit OS with a signed 32-bit `time_t`, we have a known issue with
dates later than 2038 in `RecordTextWriter::xfrTime()`. For now we will
just use an earlier date than 2038 in these tests since the date has no
relevance there.

7 years agoMerge pull request #6012 from rgacogne/dnsdist-tcp-ka
Remi Gacogne [Tue, 5 Dec 2017 13:39:20 +0000 (14:39 +0100)]
Merge pull request #6012 from rgacogne/dnsdist-tcp-ka

dnsdist: Keep the TCP connection open on cache hit, generated answers

7 years agoMerge pull request #6043 from rgacogne/dnsdist-fix-servers-order
Remi Gacogne [Tue, 5 Dec 2017 13:38:39 +0000 (14:38 +0100)]
Merge pull request #6043 from rgacogne/dnsdist-fix-servers-order

dnsdist: Sort the servers based on their 'order' after it has been set

7 years agoMerge pull request #5862 from ffledgling/5854-swagger-api
Pieter Lexis [Tue, 5 Dec 2017 12:55:11 +0000 (13:55 +0100)]
Merge pull request #5862 from ffledgling/5854-swagger-api

Add Draft of swagger spec for Authoritative Server HTTP API

7 years agoSwagger: bump version
Pieter Lexis [Tue, 5 Dec 2017 11:24:23 +0000 (12:24 +0100)]
Swagger: bump version

7 years agoSwagger: update description
Pieter Lexis [Tue, 5 Dec 2017 11:24:02 +0000 (12:24 +0100)]
Swagger: update description

7 years agoMerge pull request #6046 from pieterlexis/rec-40-EOL
bert hubert [Tue, 5 Dec 2017 11:21:58 +0000 (12:21 +0100)]
Merge pull request #6046 from pieterlexis/rec-40-EOL

Recursor: update EOL statements

7 years agoRename listCryptokey to getCryptokey
Pieter Lexis [Tue, 5 Dec 2017 11:21:34 +0000 (12:21 +0100)]
Rename listCryptokey to getCryptokey

7 years agoMerge pull request #6047 from RvdE/patch-2
Pieter Lexis [Mon, 4 Dec 2017 18:56:13 +0000 (19:56 +0100)]
Merge pull request #6047 from RvdE/patch-2

Update recursion.rst

7 years agoMerge pull request #6033 from pieterlexis/doc-updates
Pieter Lexis [Mon, 4 Dec 2017 18:55:59 +0000 (19:55 +0100)]
Merge pull request #6033 from pieterlexis/doc-updates

A collection of documentation updates

7 years agoMerge pull request #5994 from zeha/macosnotes
Pieter Lexis [Mon, 4 Dec 2017 18:55:45 +0000 (19:55 +0100)]
Merge pull request #5994 from zeha/macosnotes

Update/add macOS compilation notes

7 years agoRecursor: Fix some manpage issues
Pieter Lexis [Fri, 1 Dec 2017 10:48:53 +0000 (11:48 +0100)]
Recursor: Fix some manpage issues

7 years agoUpdate recursion.rst
RvdE [Mon, 4 Dec 2017 15:23:05 +0000 (16:23 +0100)]
Update recursion.rst

Fix newServer statements in the dnsdist config and fix duplicate sesion 4.

7 years agoRecursor: update EOL statements
Pieter Lexis [Mon, 4 Dec 2017 15:14:06 +0000 (16:14 +0100)]
Recursor: update EOL statements

7 years agodnsdist: fix some manpage issues
Pieter Lexis [Fri, 1 Dec 2017 10:45:40 +0000 (11:45 +0100)]
dnsdist: fix some manpage issues

7 years agodocs: Fix the Authoritative Server manpages' intro
Pieter Lexis [Fri, 1 Dec 2017 10:35:46 +0000 (11:35 +0100)]
docs: Fix the Authoritative Server manpages' intro

Also set the name to PowerDNS Authoritative Server.

7 years agodocs: Document `newRemoteLogger` in dnsdist
Pieter Lexis [Fri, 1 Dec 2017 10:08:21 +0000 (11:08 +0100)]
docs: Document `newRemoteLogger` in dnsdist

7 years agoMerge pull request #6017 from aerique:feature/update-rec-4.1.0-changelog.
aerique [Mon, 4 Dec 2017 13:47:41 +0000 (14:47 +0100)]
Merge pull request #6017 from aerique:feature/update-rec-4.1.0-changelog.

Update changelog and secpoll for 4.1.0.

7 years agoMerge pull request #6041 from rgacogne/mplexer-time rec-4.1.0
Peter van Dijk [Mon, 4 Dec 2017 11:34:00 +0000 (12:34 +0100)]
Merge pull request #6041 from rgacogne/mplexer-time

Add the missing <sys/time.h> include to mplexer.hh for struct timeval

7 years agodnsdist: Sort the servers based on their 'order' after it has been set
Remi Gacogne [Mon, 4 Dec 2017 11:22:19 +0000 (12:22 +0100)]
dnsdist: Sort the servers based on their 'order' after it has been set

We keep the servers ordered inside their pools because it's easier
for the policies that way, so we sort them whenever a new one is
added. However we were doing the sorting _before_ the order of the
new server had been set, resulting in the last added server to be
sorted based on an order of 0, regardless of its actual order.
Reported by Frank Even (thanks!).

7 years agoAdd the missing <sys/time.h> include to mplexer.hh for struct timeval
Remi Gacogne [Mon, 4 Dec 2017 08:41:49 +0000 (09:41 +0100)]
Add the missing <sys/time.h> include to mplexer.hh for struct timeval

7 years agodnsdist: Fix DNSResponse:dh Lua binding
Remi Gacogne [Fri, 1 Dec 2017 18:23:56 +0000 (19:23 +0100)]
dnsdist: Fix DNSResponse:dh Lua binding

7 years agodnsdist: Add missing LuaAction and LuaResponseAction
Remi Gacogne [Fri, 1 Dec 2017 18:23:01 +0000 (19:23 +0100)]
dnsdist: Add missing LuaAction and LuaResponseAction

7 years agodnsdist: Add tag-based routing
Remi Gacogne [Fri, 1 Dec 2017 18:21:20 +0000 (19:21 +0100)]
dnsdist: Add tag-based routing

7 years agoMerge pull request #6023 from rgacogne/dnsdist-ebpf-doc
Pieter Lexis [Fri, 1 Dec 2017 15:50:40 +0000 (16:50 +0100)]
Merge pull request #6023 from rgacogne/dnsdist-ebpf-doc

dnsdist: Add missing documentation about ClientState, eBPF dynamic filters

7 years agoMerge pull request #5956 from job/priv_drop
Pieter Lexis [Fri, 1 Dec 2017 15:50:15 +0000 (16:50 +0100)]
Merge pull request #5956 from job/priv_drop

Priv drop

7 years agoMerge pull request #6034 from Habbie/ragel-path
Peter van Dijk [Fri, 1 Dec 2017 15:16:28 +0000 (16:16 +0100)]
Merge pull request #6034 from Habbie/ragel-path

centralise ragel check+remove .cc symlink

7 years agoMerge pull request #6032 from rgacogne/rec-getrr-cleanup
bert hubert [Fri, 1 Dec 2017 12:22:41 +0000 (13:22 +0100)]
Merge pull request #6032 from rgacogne/rec-getrr-cleanup

rec: Use getRR<T>() instead of directly using a dynamic cast

7 years agoremove spurious symlink
Peter van Dijk [Fri, 1 Dec 2017 12:10:36 +0000 (13:10 +0100)]
remove spurious symlink

7 years agocentralise ragel check
Peter van Dijk [Fri, 1 Dec 2017 12:00:10 +0000 (13:00 +0100)]
centralise ragel check

7 years agoMerge pull request #6020 from rgacogne/auth-testrunner-log
Pieter Lexis [Fri, 1 Dec 2017 11:01:22 +0000 (12:01 +0100)]
Merge pull request #6020 from rgacogne/auth-testrunner-log

Travis: Display the content of the logs when the auth unit tests fail

7 years agoMerge pull request #6025 from pieterlexis/fix-changelog-blog-url
Pieter Lexis [Fri, 1 Dec 2017 11:01:08 +0000 (12:01 +0100)]
Merge pull request #6025 from pieterlexis/fix-changelog-blog-url

Fix 4.1.0 changelog blog url

7 years agoMerge pull request #6026 from pieterlexis/update-EOL
Pieter Lexis [Fri, 1 Dec 2017 11:00:54 +0000 (12:00 +0100)]
Merge pull request #6026 from pieterlexis/update-EOL

[WIP] Update auth EOL statement on Auth

7 years agoMerge pull request #6027 from rgacogne/rec-regression-tests-rpz-ttl
Pieter Lexis [Fri, 1 Dec 2017 11:00:40 +0000 (12:00 +0100)]
Merge pull request #6027 from rgacogne/rec-regression-tests-rpz-ttl

rec: Normalize the TTLs for default.example.net. in the RPZ tests

7 years agoMerge pull request #6029 from Habbie/alias-nocompress
Pieter Lexis [Fri, 1 Dec 2017 11:00:20 +0000 (12:00 +0100)]
Merge pull request #6029 from Habbie/alias-nocompress

forbid label compression in ALIAS wire format

7 years agorec: Use getRR<T>() instead of directly using a dynamic cast
Remi Gacogne [Fri, 1 Dec 2017 10:18:25 +0000 (11:18 +0100)]
rec: Use getRR<T>() instead of directly using a dynamic cast

7 years agoforbid label compression in ALIAS wire format
Peter van Dijk [Thu, 30 Nov 2017 18:20:41 +0000 (19:20 +0100)]
forbid label compression in ALIAS wire format

fixes #6028

7 years agoMerge pull request #6024 from Habbie/builder-version
Peter van Dijk [Thu, 30 Nov 2017 15:58:37 +0000 (16:58 +0100)]
Merge pull request #6024 from Habbie/builder-version

add preliminary pdns-builder support

7 years agoadd explicit 3.x statement, clarify we offer commercial support beyond EOL.
bert hubert [Thu, 30 Nov 2017 15:47:15 +0000 (16:47 +0100)]
add explicit 3.x statement, clarify we offer commercial support beyond EOL.

7 years agorec: Normalize the TTLs for default.example.net. in the RPZ tests
Remi Gacogne [Thu, 30 Nov 2017 14:29:30 +0000 (15:29 +0100)]
rec: Normalize the TTLs for default.example.net. in the RPZ tests

Since we ask for several records that are CNAME to default.example.net.
the TTL might have been decreased by the time we get to the last ones.
That's fine, the TTL we are interested in are for other records, so we
can just ignore the TTL for this exact record.

7 years agoFix 4.1.0 changelog blog url
Pieter Lexis [Thu, 30 Nov 2017 13:08:53 +0000 (14:08 +0100)]
Fix 4.1.0 changelog blog url

7 years agoadd preliminary pdns-builder support
Peter van Dijk [Thu, 30 Nov 2017 12:34:09 +0000 (13:34 +0100)]
add preliminary pdns-builder support

7 years agodnsdist: Add missing documentation about ClientState, eBPF dynamic filters
Remi Gacogne [Thu, 30 Nov 2017 11:57:37 +0000 (12:57 +0100)]
dnsdist: Add missing documentation about ClientState, eBPF dynamic filters

7 years agodnsdist: Add Pools, cacheHitResponseRules to the API
Remi Gacogne [Thu, 30 Nov 2017 09:47:34 +0000 (10:47 +0100)]
dnsdist: Add Pools, cacheHitResponseRules to the API

7 years agoMerge pull request #6016 from aerique:feature/update-auth-4.1.0-changelog. auth-4.1.0
aerique [Thu, 30 Nov 2017 09:33:09 +0000 (10:33 +0100)]
Merge pull request #6016 from aerique:feature/update-auth-4.1.0-changelog.

Update changelog and secpoll for 4.1.0.

7 years agoTravis: Display the content of the logs when the auth unit tests fail
Remi Gacogne [Wed, 29 Nov 2017 11:09:22 +0000 (12:09 +0100)]
Travis: Display the content of the logs when the auth unit tests fail

7 years agoMerge pull request #6006 from rgacogne/nixu-5.3.4
aerique [Tue, 28 Nov 2017 20:21:28 +0000 (21:21 +0100)]
Merge pull request #6006 from rgacogne/nixu-5.3.4

rec: Sanitize values received from the API before writing them to the conf

7 years agoMerge pull request #6011 from ahupowerdns/quote-server-id
aerique [Tue, 28 Nov 2017 15:53:22 +0000 (16:53 +0100)]
Merge pull request #6011 from ahupowerdns/quote-server-id

quote server-id to hosts with - or . in their name get reported again

7 years agoMerge pull request #6015 from Habbie/id.server
aerique [Tue, 28 Nov 2017 15:53:08 +0000 (16:53 +0100)]
Merge pull request #6015 from Habbie/id.server

it's id.server, not server.id

7 years agonit
Peter van Dijk [Tue, 28 Nov 2017 13:18:44 +0000 (14:18 +0100)]
nit

7 years agoMerge pull request #6000 from rgacogne/rec-authzone-validation
Pieter Lexis [Tue, 28 Nov 2017 12:33:18 +0000 (13:33 +0100)]
Merge pull request #6000 from rgacogne/rec-authzone-validation

rec: Skip validation (including cached entries) for auth zones

7 years agoMerge pull request #6001 from zeha/secpoll-servfail
Pieter Lexis [Tue, 28 Nov 2017 12:33:03 +0000 (13:33 +0100)]
Merge pull request #6001 from zeha/secpoll-servfail

recursor secpoll: improve message on timeout

7 years agoMerge pull request #6009 from rgacogne/rec-zone-part-signer
Pieter Lexis [Tue, 28 Nov 2017 12:32:39 +0000 (13:32 +0100)]
Merge pull request #6009 from rgacogne/rec-zone-part-signer

rec: When validating DNSKeys, the zone should be part of the signer

7 years agoMerge pull request #6008 from rgacogne/ecdsa-error-leak
Pieter Lexis [Tue, 28 Nov 2017 12:32:26 +0000 (13:32 +0100)]
Merge pull request #6008 from rgacogne/ecdsa-error-leak

rec:  Don't leak when the loading a public ECDSA key fails

7 years agoMerge pull request #6007 from rgacogne/auth-web-readonly-ops
aerique [Tue, 28 Nov 2017 12:26:56 +0000 (13:26 +0100)]
Merge pull request #6007 from rgacogne/auth-web-readonly-ops

auth: Deny cache flush, zone retrieve and notify if the API is RO

7 years agofix tab & {}
bert hubert [Tue, 28 Nov 2017 10:44:51 +0000 (11:44 +0100)]
fix tab & {}

7 years agodnsdist: Keep the TCP connection open on cache hit, generated answers
Remi Gacogne [Tue, 28 Nov 2017 10:02:09 +0000 (11:02 +0100)]
dnsdist: Keep the TCP connection open on cache hit, generated answers

We used to close the TCP connection right away on cases where that did
not make sense:
- on a cache hit
- on a self-generated answer
- on a servfail answer caused by the lack of usable downstream servers

We still close the TCP connections on drops, dynamic blocks, lack of
usable downstream servers without `setServFailWhenNoServer()` set,
invalid queries, network errors..

7 years agoquote server-id. This stops us from breaking serving chaos txt id.server if your...
bert hubert [Tue, 28 Nov 2017 09:50:24 +0000 (10:50 +0100)]
quote server-id. This stops us from breaking serving chaos txt id.server if your server has a dash or a dot or an underscore in its name.