]> granicus.if.org Git - pdns/log
pdns
8 years agoAdd counter for ignored packets to recursor statistics (+docs).
Andreas Jakum [Fri, 13 Nov 2015 15:04:38 +0000 (16:04 +0100)]
Add counter for ignored packets to recursor statistics (+docs).
Turns out recursor can be kept rather busy dealing with packets that will not show up anywhere.

8 years agoMerge branch 'adp': better infrastructure for metering traffic, prettier grepq
bert hubert [Tue, 8 Dec 2015 18:22:02 +0000 (19:22 +0100)]
Merge branch 'adp': better infrastructure for metering traffic, prettier grepq

8 years agofix up bandwidth exceeded limits, move dnsheader (12 bytes) into ringbuffer, add...
bert hubert [Tue, 8 Dec 2015 15:52:18 +0000 (16:52 +0100)]
fix up bandwidth exceeded limits, move dnsheader (12 bytes) into ringbuffer, add it to grepq output, make that somewhat pretty, plus fix up TCP reporting to the response rings

8 years agoMerge pull request #3007 from ndonegan/patch-1
Pieter Lexis [Tue, 8 Dec 2015 12:25:55 +0000 (13:25 +0100)]
Merge pull request #3007 from ndonegan/patch-1

remotebackend Documentation Update

8 years agofix up dns ring measurements for BW and NXDOMAIN to not inflate rates erroneously
bert hubert [Tue, 8 Dec 2015 10:05:23 +0000 (11:05 +0100)]
fix up dns ring measurements for BW and NXDOMAIN to not inflate rates erroneously

8 years agomake grepq look at the the n newest queries, not the n oldest queries
bert hubert [Tue, 8 Dec 2015 08:55:45 +0000 (09:55 +0100)]
make grepq look at the the n newest queries, not the n oldest queries

8 years agoimplement grepq() for dnsdist
bert hubert [Mon, 7 Dec 2015 22:05:26 +0000 (23:05 +0100)]
implement grepq() for dnsdist

8 years agotrim some dependencies for dnsdistdist benefit
bert hubert [Mon, 7 Dec 2015 22:04:38 +0000 (23:04 +0100)]
trim some dependencies for dnsdistdist benefit

8 years agomake sure we insert query size on query ring too
bert hubert [Mon, 7 Dec 2015 22:04:19 +0000 (23:04 +0100)]
make sure we insert query size on query ring too

8 years agoMerge pull request #3005 from rgacogne/dnsdist-luajit
bert hubert [Mon, 7 Dec 2015 13:57:06 +0000 (14:57 +0100)]
Merge pull request #3005 from rgacogne/dnsdist-luajit

Add support for using LuaJIT in dnsdist

8 years agoreenable in-tree dnsdist building
bert hubert [Mon, 7 Dec 2015 11:00:27 +0000 (12:00 +0100)]
reenable in-tree dnsdist building

8 years agoUpdate backend-remote.md
Niall Donegan [Mon, 7 Dec 2015 10:48:25 +0000 (10:48 +0000)]
Update backend-remote.md

8 years agoUpdate backend-remote.md
Niall Donegan [Mon, 7 Dec 2015 10:47:56 +0000 (10:47 +0000)]
Update backend-remote.md

8 years agoUpdate backend-remote.md
Niall Donegan [Mon, 7 Dec 2015 10:42:41 +0000 (10:42 +0000)]
Update backend-remote.md

8 years agoUpdate backend-remote.md
Niall Donegan [Mon, 7 Dec 2015 10:40:50 +0000 (10:40 +0000)]
Update backend-remote.md

8 years agoDocumentation Update
Niall Donegan [Mon, 7 Dec 2015 10:38:58 +0000 (10:38 +0000)]
Documentation Update

Making it clearer that ZeroMQ backend uses the same JSON format as the pipe and unix backends.

8 years agoAdd support for using LuaJIT in dnsdist
Remi Gacogne [Mon, 7 Dec 2015 10:28:26 +0000 (11:28 +0100)]
Add support for using LuaJIT in dnsdist

LuaJIT support can be enabled with --with-luajit during configure.

8 years agolet topClients() default to top-10
bert hubert [Mon, 7 Dec 2015 09:44:52 +0000 (10:44 +0100)]
let topClients() default to top-10

8 years agoMerge pull request #2927 from rgacogne/dnsdist-ecs
bert hubert [Mon, 7 Dec 2015 09:34:42 +0000 (10:34 +0100)]
Merge pull request #2927 from rgacogne/dnsdist-ecs

add EDNS Client Subnet to dnsdist queries. And adds loads of tests, cleanups, improvements etc.

8 years agoMerge pull request #2919 from zeha/api-dnsname-dot
Peter van Dijk [Mon, 7 Dec 2015 08:51:17 +0000 (09:51 +0100)]
Merge pull request #2919 from zeha/api-dnsname-dot

API: dot correctness

8 years agoAdd more tests for dnsdist ECS support.
Remi Gacogne [Fri, 4 Dec 2015 14:09:08 +0000 (15:09 +0100)]
Add more tests for dnsdist ECS support.

Add regression tests for rewriting the ECS value with
larger / smaller values.
Add one unit test for rewriting response.

8 years agoAdd EDNS Client Subnet to queries, unit tests and regression tests.
Remi Gacogne [Thu, 3 Dec 2015 08:28:22 +0000 (09:28 +0100)]
Add EDNS Client Subnet to queries, unit tests and regression tests.

The main idea is to be able to add EDNS Client Subnet information
to queries to that the downstream servers know who the real client
is. This is easy if the query already has EDNS, since we just have
to add an ECS option to the existing pseudo-RR OPT. Note that if the
query has an existing ECS option, we just leave it as it is unless
setECSOverride has been set to true.
If the original query has no ENDS support, we can easily add the
pseudo-RR OPT with an ECS option, but we need to remove EDNS from
the response, otherwise the client might choke on it. This is not too
hard it the pseudo-RR is the last one, but otherwise removing it
could cause issue with name compression (offsets), therefore we
completely rewrite the response in that case.

This implementation tries hard not to parse the query, and not
to allocate too much objects to parse the response. The huge downside
is that we do not reuse as much parsing code as we probably could.

Unit tests have been added, they are not enabled unless
--enable-unit-tests is set.

Regression tests have been added in regression-tests.dnsdist.

Unit and regression tests are enabled in travis.

8 years agoimplement getNameWithAddr() for downstreams for pretty log messages
bert hubert [Mon, 7 Dec 2015 06:51:59 +0000 (07:51 +0100)]
implement getNameWithAddr() for downstreams for pretty log messages

8 years agofurther rings speedup
bert hubert [Mon, 7 Dec 2015 06:51:24 +0000 (07:51 +0100)]
further rings speedup

8 years agosome ring statistics speedups
bert hubert [Mon, 7 Dec 2015 06:40:04 +0000 (07:40 +0100)]
some ring statistics speedups

8 years agolog when adding a dynamic block
bert hubert [Sun, 6 Dec 2015 18:38:42 +0000 (19:38 +0100)]
log when adding a dynamic block

8 years agoMerge pull request #2996 from zeha/jsoninterface
Peter van Dijk [Sun, 6 Dec 2015 15:07:57 +0000 (16:07 +0100)]
Merge pull request #2996 from zeha/jsoninterface

Rename setting json-interface to api

8 years agoAPI: Update and add more examples
Christian Hofstaedtler [Fri, 4 Dec 2015 21:39:09 +0000 (22:39 +0100)]
API: Update and add more examples

Fixes #2511.

8 years agoAPI: dot correctness
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:16 +0000 (20:28 +0100)]
API: dot correctness

From and to API consumers we'll now always require/send names (and
content) with dots. To the backend, we'll always require/send without
dots. Some API tests now check the data written to the sqlite DB, too.

Incoming names are now checked against a restricted list of chars,
fixing #1437. The double dot case is taken care of by DNSName (and
we'll no longer report an ISE if DNSName parsing fails - we make
sure to parse all names in a try/except).

Cleanup leftovers from pre-DNSName times.

Turn auth api tests back on in travis.

8 years agoAdd PacketCache::purgeExact
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:46 +0000 (20:28 +0100)]
Add PacketCache::purgeExact

8 years agoAPI: copy-edit the spec
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:43 +0000 (20:28 +0100)]
API: copy-edit the spec

Remove links to old documentation, fix some wordings.

8 years agoAPI docs: fix section headers
Christian Hofstaedtler [Fri, 4 Dec 2015 19:28:37 +0000 (20:28 +0100)]
API docs: fix section headers

8 years agowhen installing new overlapping dynamic block, record old number of blocks and keep...
bert hubert [Sat, 5 Dec 2015 22:10:13 +0000 (23:10 +0100)]
when installing new overlapping dynamic block, record old number of blocks and keep that. More pleasing to the eye.

8 years agoshow some more block/drop kinds in webpage
bert hubert [Sat, 5 Dec 2015 22:09:55 +0000 (23:09 +0100)]
show some more block/drop kinds in webpage

8 years agoalso show dynblock number of blocks in showDynBlocks()
bert hubert [Sat, 5 Dec 2015 21:25:49 +0000 (22:25 +0100)]
also show dynblock number of blocks in showDynBlocks()

8 years agorevamp dynamic block syntax, you now insert blocks per x seconds, and we display...
bert hubert [Sat, 5 Dec 2015 21:23:06 +0000 (22:23 +0100)]
revamp dynamic block syntax, you now insert blocks per x seconds, and we display remaining seconds count, plus number of things blocked

8 years agonetmask src rule did not show itself correctly in dnsdist output
bert hubert [Sat, 5 Dec 2015 21:22:32 +0000 (22:22 +0100)]
netmask src rule did not show itself correctly in dnsdist output

8 years agoresolve conflict, add reporting of acl/locals
bert hubert [Sat, 5 Dec 2015 19:54:43 +0000 (20:54 +0100)]
resolve conflict, add reporting of acl/locals

8 years agoMerge branch 'master' of github.com:PowerDNS/pdns
bert hubert [Sat, 5 Dec 2015 19:51:27 +0000 (20:51 +0100)]
Merge branch 'master' of github.com:PowerDNS/pdns

8 years agofill out acl and local to index.html
bert hubert [Sat, 5 Dec 2015 19:50:25 +0000 (20:50 +0100)]
fill out acl and local to index.html

8 years agoreport acl and local addresses over web-api
bert hubert [Sat, 5 Dec 2015 19:50:03 +0000 (20:50 +0100)]
report acl and local addresses over web-api

8 years agoMerge pull request #2999 from zeha/dnsdistrad
bert hubert [Sat, 5 Dec 2015 19:49:48 +0000 (20:49 +0100)]
Merge pull request #2999 from zeha/dnsdistrad

Improve dnsdist html a tiny bit more

8 years agoImprove dnsdist html a tiny bit more
Christian Hofstaedtler [Sat, 5 Dec 2015 19:45:52 +0000 (19:45 +0000)]
Improve dnsdist html a tiny bit more

8 years agomake webserver display acl-drops - vital debugging hint. Plus GPL reminder.
bert hubert [Sat, 5 Dec 2015 15:28:24 +0000 (16:28 +0100)]
make webserver display acl-drops - vital debugging hint. Plus GPL reminder.

8 years agocleanup dnsdist javascript & html, plus make it look a lot prettier
bert hubert [Sat, 5 Dec 2015 15:23:30 +0000 (16:23 +0100)]
cleanup dnsdist javascript & html, plus make it look a lot prettier

8 years agoMerge pull request #2998 from ahupowerdns/various
bert hubert [Sat, 5 Dec 2015 12:38:29 +0000 (13:38 +0100)]
Merge pull request #2998 from ahupowerdns/various

adds topBandwidth, starts process of abstracting out operations on rings

8 years agofix up dnsdist javascript to the new /api/v1/ URLs
bert hubert [Sat, 5 Dec 2015 10:18:35 +0000 (11:18 +0100)]
fix up dnsdist javascript to the new /api/v1/ URLs

8 years agoRename setting json-interface to api
Christian Hofstaedtler [Fri, 4 Dec 2015 20:06:56 +0000 (21:06 +0100)]
Rename setting json-interface to api

Plus:
* Mark settings as available since 4.0, as before they were
called experimental-...
* Sync setting descriptions between auth and recursor.

8 years agoMerge pull request #2993 from rgacogne/dnsdist-tuning
bert hubert [Fri, 4 Dec 2015 19:49:01 +0000 (20:49 +0100)]
Merge pull request #2993 from rgacogne/dnsdist-tuning

Allow setting maxOustanding and maxTCPClientThreads in configuration

8 years agoMerge pull request #2994 from zeha/no-gcc3x
bert hubert [Fri, 4 Dec 2015 19:45:53 +0000 (20:45 +0100)]
Merge pull request #2994 from zeha/no-gcc3x

Drop compat code for gcc3.x/RHEL5

8 years agoDrop compat code for gcc3.x/RHEL5
Christian Hofstaedtler [Fri, 4 Dec 2015 15:54:23 +0000 (16:54 +0100)]
Drop compat code for gcc3.x/RHEL5

Closes #320

8 years agoMerge pull request #2992 from Habbie/no-botan-1.8
Peter van Dijk [Fri, 4 Dec 2015 15:46:04 +0000 (16:46 +0100)]
Merge pull request #2992 from Habbie/no-botan-1.8

get rid of botan 1.8

8 years agoget rid of botan 1.8
Peter van Dijk [Fri, 4 Dec 2015 15:07:02 +0000 (16:07 +0100)]
get rid of botan 1.8

8 years agoAllow setting maxOustanding and maxTCPClientThreads in configuration
Remi Gacogne [Fri, 4 Dec 2015 15:01:40 +0000 (16:01 +0100)]
Allow setting maxOustanding and maxTCPClientThreads in configuration

This commit adds the setMaxTCPClientThreads() and
setMaxUDPOutstanding() directives.
These controls, respectively, the maximum number of TCP threads
handling client connections and the maximum number of oustanding
UDP queries to a given backend server.
setMaxUDPOutstanding() is only usable at configuration-time, and
not at runtime.

8 years agoremove outdated comment
Peter van Dijk [Fri, 4 Dec 2015 11:17:08 +0000 (12:17 +0100)]
remove outdated comment

8 years agofix up separate build
bert hubert [Thu, 3 Dec 2015 20:01:15 +0000 (21:01 +0100)]
fix up separate build

8 years agothis should make us work on all arches for incbin
bert hubert [Thu, 3 Dec 2015 19:19:42 +0000 (20:19 +0100)]
this should make us work on all arches for incbin

8 years agorgacogne found that arm has unsigned chars which broke all the things in yahttp ...
bert hubert [Thu, 3 Dec 2015 19:26:04 +0000 (20:26 +0100)]
rgacogne found that arm has unsigned chars which broke all the things in yahttp @cmouse

8 years agohook up getTopBandwidth()
bert hubert [Thu, 3 Dec 2015 19:52:37 +0000 (20:52 +0100)]
hook up getTopBandwidth()

8 years agoMerge pull request #2989 from Habbie/64bitpi
Peter van Dijk [Thu, 3 Dec 2015 19:48:47 +0000 (20:48 +0100)]
Merge pull request #2989 from Habbie/64bitpi

don't truncate timestamps on raspberry pi

8 years agorgacogne found that arm has unsigned chars which broke all the things in yahttp ...
bert hubert [Thu, 3 Dec 2015 19:26:04 +0000 (20:26 +0100)]
rgacogne found that arm has unsigned chars which broke all the things in yahttp @cmouse

8 years agomove ring stuff to own file, so it can share between dnsdist-lua and dnsdist-web...
bert hubert [Thu, 3 Dec 2015 19:21:16 +0000 (20:21 +0100)]
move ring stuff to own file, so it can share between dnsdist-lua and dnsdist-web, plus we get the locking in one place

8 years agothis should make us work on all arches for incbin
bert hubert [Thu, 3 Dec 2015 19:19:42 +0000 (20:19 +0100)]
this should make us work on all arches for incbin

8 years agoMerge pull request #2990 from ndonegan/patch-1
Peter van Dijk [Thu, 3 Dec 2015 15:59:43 +0000 (16:59 +0100)]
Merge pull request #2990 from ndonegan/patch-1

Update backend-remote.md

8 years agoUpdate backend-remote.md
Niall Donegan [Thu, 3 Dec 2015 15:44:18 +0000 (15:44 +0000)]
Update backend-remote.md

8 years agoMerge pull request #2972 from pieterlexis/no-more-experimental
bert hubert [Thu, 3 Dec 2015 14:45:25 +0000 (15:45 +0100)]
Merge pull request #2972 from pieterlexis/no-more-experimental

Unmark several features as not-experimental

8 years agoMerge pull request #2984 from rgacogne/dnsdist-frontend-stats
bert hubert [Thu, 3 Dec 2015 14:43:06 +0000 (15:43 +0100)]
Merge pull request #2984 from rgacogne/dnsdist-frontend-stats

Add per-frontend stats to dnsdist

8 years agodon't truncate timestamps on raspberry pi
Peter van Dijk [Thu, 3 Dec 2015 12:53:37 +0000 (13:53 +0100)]
don't truncate timestamps on raspberry pi

8 years agoMerge pull request #2983 from pieterlexis/ws-return-to-path
Pieter Lexis [Thu, 3 Dec 2015 09:38:54 +0000 (10:38 +0100)]
Merge pull request #2983 from pieterlexis/ws-return-to-path

Redirect to the path of the request, not the root

8 years agoMerge pull request #2962 from cmouse/tools-timeout
Pieter Lexis [Thu, 3 Dec 2015 09:38:14 +0000 (10:38 +0100)]
Merge pull request #2962 from cmouse/tools-timeout

Make some tools timeout

8 years agoMerge pull request #2973 from pieterlexis/move-qtypes-to-private
Pieter Lexis [Thu, 3 Dec 2015 09:38:03 +0000 (10:38 +0100)]
Merge pull request #2973 from pieterlexis/move-qtypes-to-private

Move internal QTypes to the private range

8 years agoMerge pull request #2965 from pieterlexis/negcache-tests-dotted-cname
Pieter Lexis [Thu, 3 Dec 2015 09:37:56 +0000 (10:37 +0100)]
Merge pull request #2965 from pieterlexis/negcache-tests-dotted-cname

Add negative caching with dotted cnames test

8 years agoMerge pull request #2970 from pieterlexis/h-root-update
Pieter Lexis [Thu, 3 Dec 2015 09:37:50 +0000 (10:37 +0100)]
Merge pull request #2970 from pieterlexis/h-root-update

Update root hints for h.root-servers.net

8 years agoMerge pull request #2975 from stasic/patch-2
Peter van Dijk [Thu, 3 Dec 2015 08:59:15 +0000 (09:59 +0100)]
Merge pull request #2975 from stasic/patch-2

make logging output identical

8 years agoMerge pull request #2985 from rgacogne/dnsdist-rd-queries
bert hubert [Wed, 2 Dec 2015 22:35:47 +0000 (23:35 +0100)]
Merge pull request #2985 from rgacogne/dnsdist-rd-queries

Add stats for RD queries in dnsdist

8 years agoMerge pull request #2986 from rgacogne/dnsdist-idstate-lock
bert hubert [Wed, 2 Dec 2015 22:35:35 +0000 (23:35 +0100)]
Merge pull request #2986 from rgacogne/dnsdist-idstate-lock

Remove the IDState lock.

8 years agoFix stats handling for TCP queries.
Remi Gacogne [Wed, 2 Dec 2015 16:42:01 +0000 (17:42 +0100)]
Fix stats handling for TCP queries.

The previous commit tried to fix the fact that TCP queries were
not correctly accounted, but did not properly handle the fact that
several queries can be sent over a single connection.
Responses were not properly handled either.

8 years agoRemove the IDState lock.
Remi Gacogne [Wed, 2 Dec 2015 17:55:44 +0000 (18:55 +0100)]
Remove the IDState lock.

Keeping a copy of the origFD in the response handling thread and
setting ids->age to 0 before setting ids->origFD in the UDP query
thread should prevent dropping query because of a race.

8 years agoAdd per-frontend stats to dnsdist
Remi Gacogne [Wed, 2 Dec 2015 15:27:40 +0000 (16:27 +0100)]
Add per-frontend stats to dnsdist

For now, we only display the number of queries received for each
frontend, separating TCP and UDP.

8 years agoAdd stats for RD queries in dnsdist
Remi Gacogne [Wed, 2 Dec 2015 16:19:19 +0000 (17:19 +0100)]
Add stats for RD queries in dnsdist

8 years agoMerge pull request #2846 from rgacogne/dnsdist-rings-rwlocks
bert hubert [Wed, 2 Dec 2015 15:59:24 +0000 (16:59 +0100)]
Merge pull request #2846 from rgacogne/dnsdist-rings-rwlocks

Protect dnsdist client and query rings with a RW lock. Plus IDstate lock, which we might be able to remove later. It is going to be bad for performance.

8 years agoUpdate root hints for h.root-servers.net
Pieter Lexis [Tue, 1 Dec 2015 09:48:50 +0000 (10:48 +0100)]
Update root hints for h.root-servers.net

https://lists.dns-oarc.net/pipermail/dns-operations/2015-November/013862.html

8 years agoProtect dnsdist IDState and query ring with a RW lock
Remi Gacogne [Wed, 2 Dec 2015 10:43:37 +0000 (11:43 +0100)]
Protect dnsdist IDState and query ring with a RW lock

The IDState issue is mainly origFD, modified by maintThread on timeout while used by the others.
upStatus and availability in DownstreamState are also causing complaints from helgrind / TSAN,
but I believe we can live with racy status and availability.

8 years agoRedirect to the path of the request, not the root
Pieter Lexis [Wed, 2 Dec 2015 10:17:38 +0000 (11:17 +0100)]
Redirect to the path of the request, not the root

If you proxy at e.g. /auth, redirecting to / 'breaks' the flow.

8 years agofix up incbin, with the great help of Dale Weiler. Closes #2957. dnsdist works on...
bert hubert [Wed, 2 Dec 2015 07:09:49 +0000 (08:09 +0100)]
fix up incbin, with the great help of Dale Weiler. Closes #2957. dnsdist works on our raspberries again!

8 years agoMerge pull request #2979 from mind04/keycount
bert hubert [Tue, 1 Dec 2015 22:12:43 +0000 (23:12 +0100)]
Merge pull request #2979 from mind04/keycount

check number of keys in trustedkeys file

8 years agoMerge pull request #2977 from rgacogne/dnsdist-client-getserver
bert hubert [Tue, 1 Dec 2015 22:11:07 +0000 (23:11 +0100)]
Merge pull request #2977 from rgacogne/dnsdist-client-getserver

Make getServer() return a dummy one in client mode. Closes #2976.

8 years agoMerge pull request #2974 from rgacogne/dnsdist-tcp-closed
bert hubert [Tue, 1 Dec 2015 22:10:50 +0000 (23:10 +0100)]
Merge pull request #2974 from rgacogne/dnsdist-tcp-closed

Gracefully handle a reused downstream TCP connection dying on us

8 years agofix up TTL for RPZ zones, and allow override from config
bert hubert [Tue, 1 Dec 2015 21:13:01 +0000 (22:13 +0100)]
fix up TTL for RPZ zones, and allow override from config

8 years agoregression-tests: don't include zsk keys with 257 in content in trustedkeys
Kees Monshouwer [Tue, 1 Dec 2015 19:22:15 +0000 (20:22 +0100)]
regression-tests: don't include zsk keys with 257 in content in trustedkeys

8 years agoMake getServer() return a dummy one in client mode. Closes #2976.
Remi Gacogne [Tue, 1 Dec 2015 17:43:56 +0000 (18:43 +0100)]
Make getServer() return a dummy one in client mode. Closes #2976.

8 years agomore const; disable useless compiler warning
Peter van Dijk [Tue, 1 Dec 2015 17:45:24 +0000 (18:45 +0100)]
more const; disable useless compiler warning

8 years agoadd default/override policies to RPZ, move RPZ config to the Lua configuration file...
bert hubert [Tue, 1 Dec 2015 16:42:15 +0000 (17:42 +0100)]
add default/override policies to RPZ, move RPZ config to the Lua configuration file, fix up so that the overrides based on IP addresses in the zone actually work

8 years agomove our RPZ blocking to the most GLORIOUS NetmaskTree (thanks Aki!)
bert hubert [Tue, 1 Dec 2015 16:39:59 +0000 (17:39 +0100)]
move our RPZ blocking to the most GLORIOUS NetmaskTree (thanks Aki!)

8 years agodefault zone for zoneparser should be the root, not the "empty DNSName"
bert hubert [Tue, 1 Dec 2015 16:39:20 +0000 (17:39 +0100)]
default zone for zoneparser should be the root, not the "empty DNSName"

8 years agoconst correctness for sortlist comparator
bert hubert [Tue, 1 Dec 2015 16:38:38 +0000 (17:38 +0100)]
const correctness for sortlist comparator

8 years agoafter some further bikeshedding..
bert hubert [Tue, 1 Dec 2015 16:36:02 +0000 (17:36 +0100)]
after some further bikeshedding..

8 years agomake logging output identical
Arsen Stasic [Tue, 1 Dec 2015 16:27:01 +0000 (17:27 +0100)]
make logging output identical

'pdns_control notify' and 'pdns_control notify-host' produce now the same output message

8 years agoit is that kind of day. Or one of those days.
bert hubert [Tue, 1 Dec 2015 14:31:24 +0000 (15:31 +0100)]
it is that kind of day. Or one of those days.

8 years agoGracefully handle a reused downstream TCP connection dying on us
Remi Gacogne [Tue, 1 Dec 2015 13:24:26 +0000 (14:24 +0100)]
Gracefully handle a reused downstream TCP connection dying on us

In dnsdist, we try to reuse TCP connection to Downstream servers
as much as possible. However, when sending the size of a new
query, we didn't properly handle a connection being closed by the
downstream server.

Turns out, writing tests actually help finding bugs, who
would have thought?