]> granicus.if.org Git - pdns/log
pdns
8 years agoMake the negcache forwarded zones aware
Pieter Lexis [Mon, 29 Aug 2016 09:05:17 +0000 (11:05 +0200)]
Make the negcache forwarded zones aware

Because of DNSSEC (without NTAs configured), we 'leak' the forwarded
name to the cache when looking for the DNSKEY. This resulted in NXDOMAIN
answers for actual NXDOMAINs, but with the root SOA record. Leading to
inconsistent answers to the client.

8 years agoMerge pull request #4359 from pieterlexis/doc-fixes
Pieter Lexis [Mon, 29 Aug 2016 15:49:38 +0000 (17:49 +0200)]
Merge pull request #4359 from pieterlexis/doc-fixes

Several documentation fixes

8 years agoMerge pull request #4368 from rgacogne/rec-more-lua-bindings
Pieter Lexis [Mon, 29 Aug 2016 15:49:29 +0000 (17:49 +0200)]
Merge pull request #4368 from rgacogne/rec-more-lua-bindings

rec: Fix doc for ComboAddress/Netmask Lua bindings, add missing ones

8 years agoMerge pull request #4376 from rgacogne/rec-uninit-policy
Pieter Lexis [Mon, 29 Aug 2016 15:49:21 +0000 (17:49 +0200)]
Merge pull request #4376 from rgacogne/rec-uninit-policy

rec: fix the use of an uninitialized filtering policy

8 years agoDocument config-dir in the manpage better
Pieter Lexis [Mon, 29 Aug 2016 13:09:53 +0000 (15:09 +0200)]
Document config-dir in the manpage better

Closes #4372

8 years agorec: document edns-subnet-whitelist
Pieter Lexis [Tue, 23 Aug 2016 15:50:27 +0000 (17:50 +0200)]
rec: document edns-subnet-whitelist

Closes #4275

8 years agoRec: Fully document loglevel
Pieter Lexis [Tue, 23 Aug 2016 15:42:27 +0000 (17:42 +0200)]
Rec: Fully document loglevel

closes #4209

8 years agorec: fix the use of an uninitialized filtering policy
Remi Gacogne [Mon, 29 Aug 2016 09:52:00 +0000 (11:52 +0200)]
rec: fix the use of an uninitialized filtering policy

If `wantsRPZ` is set to false by the `prerpz` hook, `dfepol` might
not be correctly initialized. This leads to `appliedPolicy` not being
either before being passed to `preresolve` and `postresolve`.

Reported by Coverity.

8 years agoMerge pull request #4365 from rgacogne/dnsdist-outstanding-race
Remi Gacogne [Mon, 29 Aug 2016 09:10:54 +0000 (11:10 +0200)]
Merge pull request #4365 from rgacogne/dnsdist-outstanding-race

dnsdist: Reset origFD asap to keep the outstanding count correct

8 years agoMerge pull request #4348 from rgacogne/dnsdist-outstanding-xfr
Remi Gacogne [Mon, 29 Aug 2016 09:10:23 +0000 (11:10 +0200)]
Merge pull request #4348 from rgacogne/dnsdist-outstanding-xfr

dnsdist: Fix invalid outstanding count for {A,I}XFR over TCP

8 years agoMerge pull request #4375 from rgacogne/dnsdist-dynbpf-tuple-rga
Remi Gacogne [Mon, 29 Aug 2016 09:07:02 +0000 (11:07 +0200)]
Merge pull request #4375 from rgacogne/dnsdist-dynbpf-tuple-rga

dnsdist: tuple requires make_tuple to initialize

8 years agodnsdist: tuple requires make_tuple to initialize
Remi Gacogne [Fri, 26 Aug 2016 15:52:48 +0000 (17:52 +0200)]
dnsdist: tuple requires make_tuple to initialize

Fix compilation on Ubuntu Xenial.
Reported by Christof Chen (thanks!).

8 years agoAdd recursor 4.0.2 secpoll
Pieter Lexis [Fri, 26 Aug 2016 13:23:09 +0000 (15:23 +0200)]
Add recursor 4.0.2 secpoll

Thanks @zaphodb for noticing

8 years agoslightly improve 4.0.2 recursor release notes
bert hubert [Fri, 26 Aug 2016 10:30:05 +0000 (12:30 +0200)]
slightly improve 4.0.2 recursor release notes

8 years agoMerge pull request #4364 from pieterlexis/rec-4.0.2-changelog rec-4.0.2
Pieter Lexis [Fri, 26 Aug 2016 10:19:24 +0000 (12:19 +0200)]
Merge pull request #4364 from pieterlexis/rec-4.0.2-changelog

Add Recursor 4.0.2 changelog

8 years agoAdd Recursor 4.0.2 changelog
Pieter Lexis [Thu, 25 Aug 2016 09:54:29 +0000 (11:54 +0200)]
Add Recursor 4.0.2 changelog

8 years agorec: Fix doc for ComboAddress/Netmask Lua bindings, add missing ones
Remi Gacogne [Fri, 26 Aug 2016 10:06:17 +0000 (12:06 +0200)]
rec: Fix doc for ComboAddress/Netmask Lua bindings, add missing ones

8 years agoMerge pull request #4324 from rgacogne/lua-RPZ-discard-rebased
bert hubert [Fri, 26 Aug 2016 10:06:27 +0000 (12:06 +0200)]
Merge pull request #4324 from rgacogne/lua-RPZ-discard-rebased

Allow Lua access to the result of the Policy Engine decision, skip RPZ

8 years agoMerge pull request #3 from pieterlexis/lua-RPZ-discard-rebased-doc-update
Remi Gacogne [Fri, 26 Aug 2016 08:22:52 +0000 (10:22 +0200)]
Merge pull request #3 from pieterlexis/lua-RPZ-discard-rebased-doc-update

The return value for prerpz is unused

8 years agoThe return value for prerpz is unused
Pieter Lexis [Fri, 26 Aug 2016 08:16:38 +0000 (10:16 +0200)]
The return value for prerpz is unused

8 years agorec: The prerpz hook didn't return anything when compiled w/o Lua
Remi Gacogne [Fri, 26 Aug 2016 07:50:01 +0000 (09:50 +0200)]
rec: The prerpz hook didn't return anything when compiled w/o Lua

8 years agodnsdist: Reset origFD asap to keep the outstanding count correct
Remi Gacogne [Thu, 25 Aug 2016 15:15:54 +0000 (17:15 +0200)]
dnsdist: Reset origFD asap to keep the outstanding count correct

Previously the health check thread waited until we had finished
with the IDState to set `origFD` to -1, but:
* for the UDP client thread, the only difference it makes is that
`outstanding` will not be incremented if `origFD` is not -1,
which is not what we want since we are going to decrement it
* for the UDP responder thread, it actually increases the
likelihood of decrementing `outstanding` twice, once in the
responder threader and once in the health check thread.

This was especially likely to be an issue because the health check
thread used to call `gettime()` and to acquire a mutex before
setting `origFD` to -1.

8 years agoMerge pull request #4360 from 42wim/systemd
Pieter Lexis [Thu, 25 Aug 2016 13:57:02 +0000 (15:57 +0200)]
Merge pull request #4360 from 42wim/systemd

Make sure mariadb (mysql on centos/rhel) is started before pdns

8 years agoMerge pull request #4356 from rgacogne/auth-nocachelookup-tsig
Pieter Lexis [Thu, 25 Aug 2016 13:56:52 +0000 (15:56 +0200)]
Merge pull request #4356 from rgacogne/auth-nocachelookup-tsig

auth: Don't look up the packet cache for TSIG-enabled queries

8 years agofix subtle bug in findNamedPolicy
Pieter Lexis [Tue, 23 Aug 2016 07:41:18 +0000 (09:41 +0200)]
fix subtle bug in findNamedPolicy

8 years agoRevert "Recursor: Always log EDNS clientsubnet in trace"
Remi Gacogne [Tue, 23 Aug 2016 07:14:36 +0000 (09:14 +0200)]
Revert "Recursor: Always log EDNS clientsubnet in trace"

This reverts commit 601b188c559fb9d58392bc2115ddd583225ee52c.

`dc->d_ednssubnet` is only available when protobuf support is enabled.

8 years agorec: Fix rec_control man page tests
Remi Gacogne [Tue, 16 Aug 2016 15:55:34 +0000 (17:55 +0200)]
rec: Fix rec_control man page tests

8 years agoFix counting of `rec_control help` elements and grep syntax
Remi Gacogne [Tue, 16 Aug 2016 15:35:40 +0000 (17:35 +0200)]
Fix counting of `rec_control help` elements and grep syntax

8 years agoRecursor config for the regression tests is still in configs
Remi Gacogne [Tue, 16 Aug 2016 14:27:18 +0000 (16:27 +0200)]
Recursor config for the regression tests is still in configs

8 years agoFix hardcoded prefix in auth-zone-delegation test
Remi Gacogne [Tue, 16 Aug 2016 10:00:17 +0000 (12:00 +0200)]
Fix hardcoded prefix in auth-zone-delegation test

8 years agoActually fail on failed recursor tests
Remi Gacogne [Mon, 15 Aug 2016 13:28:24 +0000 (15:28 +0200)]
Actually fail on failed recursor tests

8 years agoFix hardcoded prefix in lowercase-outgoing test
Remi Gacogne [Mon, 15 Aug 2016 12:48:34 +0000 (14:48 +0200)]
Fix hardcoded prefix in lowercase-outgoing test

8 years agorecursor regression tests: have the socket live in /tmp
Pieter Lexis [Mon, 15 Aug 2016 09:32:41 +0000 (11:32 +0200)]
recursor regression tests: have the socket live in /tmp

8 years agoRecursor tests: we use bashisms now
Pieter Lexis [Mon, 15 Aug 2016 09:29:11 +0000 (11:29 +0200)]
Recursor tests: we use bashisms now

8 years agoRecursor tests: Fail on failed tests
Pieter Lexis [Mon, 15 Aug 2016 09:28:43 +0000 (11:28 +0200)]
Recursor tests: Fail on failed tests

8 years agoAdd regression tests for prerpz
Remi Gacogne [Mon, 15 Aug 2016 08:51:00 +0000 (10:51 +0200)]
Add regression tests for prerpz

8 years agoAdd documentation for the `prerpz` hook
Remi Gacogne [Mon, 15 Aug 2016 08:15:17 +0000 (10:15 +0200)]
Add documentation for the `prerpz` hook

8 years ago`protobufLogQuery()` never actually gets an applied policy
Remi Gacogne [Mon, 15 Aug 2016 08:01:45 +0000 (10:01 +0200)]
`protobufLogQuery()` never actually gets an applied policy

8 years agoMinor indentation fixes in `loadRecursorLuaConfig()`
Remi Gacogne [Mon, 15 Aug 2016 07:35:10 +0000 (09:35 +0200)]
Minor indentation fixes in `loadRecursorLuaConfig()`

8 years agorec: Add a 'prerpz' hook to be able to discard selected RPZ policies
Remi Gacogne [Fri, 12 Aug 2016 16:35:08 +0000 (18:35 +0200)]
rec: Add a 'prerpz' hook to be able to discard selected RPZ policies

8 years agoRPZ: Tests for wantsRPZ override, NSDNAME and NSIP
Pieter Lexis [Wed, 27 Jul 2016 21:03:20 +0000 (23:03 +0200)]
RPZ: Tests for wantsRPZ override, NSDNAME and NSIP

8 years agoRPZ: Implement NSDNAME and NSIP RPZ capabilities
Pieter Lexis [Wed, 27 Jul 2016 20:34:08 +0000 (22:34 +0200)]
RPZ: Implement NSDNAME and NSIP RPZ capabilities

Closes #2897

This also adds an extra bool 'wantsRPZ' to the Lua engine so RPZ
processing can be disabled for queries (Closes #4226).

Furthermore, IPv6 for RPZ is implemented.

8 years agoRPZ: Add metrics for the Policy Engine
Pieter Lexis [Wed, 27 Jul 2016 13:11:37 +0000 (15:11 +0200)]
RPZ: Add metrics for the Policy Engine

Closes #2895

8 years agoRPZ tests: add test for #4086
Pieter Lexis [Wed, 27 Jul 2016 10:44:09 +0000 (12:44 +0200)]
RPZ tests: add test for #4086

8 years agoAdd RPZ lua tests
Pieter Lexis [Tue, 26 Jul 2016 13:54:38 +0000 (15:54 +0200)]
Add RPZ lua tests

8 years agoAdd basic RPZ tests
Pieter Lexis [Tue, 26 Jul 2016 12:02:33 +0000 (14:02 +0200)]
Add basic RPZ tests

8 years agoAllow Lua to modify the RPZ decision
Pieter Lexis [Fri, 22 Jul 2016 18:56:44 +0000 (20:56 +0200)]
Allow Lua to modify the RPZ decision

in preResolve() and postResolve(), the user can now modify the whole
appliedPolicy. For clarity, the appliedPolicy elements have been named
policySomething. one can set the policyKind with the helper
pdns.policykinds.Name.

When the query is not marked as 'handled' by the Lua function, the
(possibly modified) policy is applied to the query.

8 years agoRPZ: Always set the policy name
Pieter Lexis [Fri, 22 Jul 2016 19:14:47 +0000 (21:14 +0200)]
RPZ: Always set the policy name

For slaved zones, set it to the name of the zone by default. For
file-based RPZs, use "rpzFile";

8 years agoRPZ: filter correctly by name
Pieter Lexis [Tue, 26 Jul 2016 11:48:01 +0000 (13:48 +0200)]
RPZ: filter correctly by name

Closes #4086

8 years agopdns_recursor.cc: Move comment to the right place
Pieter Lexis [Fri, 22 Jul 2016 18:49:39 +0000 (20:49 +0200)]
pdns_recursor.cc: Move comment to the right place

8 years agoRecursor: Always log EDNS clientsubnet in trace
Pieter Lexis [Fri, 22 Jul 2016 17:42:41 +0000 (19:42 +0200)]
Recursor: Always log EDNS clientsubnet in trace

8 years agolua-recursor4.cc: whitespace fixes
Pieter Lexis [Fri, 22 Jul 2016 17:34:28 +0000 (19:34 +0200)]
lua-recursor4.cc: whitespace fixes

8 years agoMerge pull request #4163 from pieterlexis/license-woes
Remi Gacogne [Thu, 25 Aug 2016 08:41:21 +0000 (10:41 +0200)]
Merge pull request #4163 from pieterlexis/license-woes

More licensing everywhere

8 years agoMerge pull request #4357 from pieterlexis/root-dnssec-data-to-header
Remi Gacogne [Thu, 25 Aug 2016 08:39:52 +0000 (10:39 +0200)]
Merge pull request #4357 from pieterlexis/root-dnssec-data-to-header

Move the root DNSSEC data to a header file

8 years agoMerge pull request #4288 from rgacogne/rec-async-protobuf-startup
bert hubert [Thu, 25 Aug 2016 08:39:41 +0000 (10:39 +0200)]
Merge pull request #4288 from rgacogne/rec-async-protobuf-startup

rec: Respect the timeout when connecting to a protobuf server

8 years agoMerge pull request #4318 from rgacogne/rec-anonymize-protobuf-ecs
bert hubert [Thu, 25 Aug 2016 08:36:46 +0000 (10:36 +0200)]
Merge pull request #4318 from rgacogne/rec-anonymize-protobuf-ecs

rec: Anonymize the protobuf ECS value as well

8 years agoMerge pull request #4354 from rgacogne/rec-delegation-only
bert hubert [Thu, 25 Aug 2016 08:35:42 +0000 (10:35 +0200)]
Merge pull request #4354 from rgacogne/rec-delegation-only

rec: Fix delegation-only

8 years agoMerge pull request #4351 from pieterlexis/issue-4343-rec-rpz-source-addr
Remi Gacogne [Thu, 25 Aug 2016 08:32:07 +0000 (10:32 +0200)]
Merge pull request #4351 from pieterlexis/issue-4343-rec-rpz-source-addr

RPZ: Use query-local-address(6) by default

8 years agoMerge pull request #4340 from ahupowerdns/cnamesfirst
bert hubert [Thu, 25 Aug 2016 06:21:06 +0000 (08:21 +0200)]
Merge pull request #4340 from ahupowerdns/cnamesfirst

Recursor would shuffle CNAME records until after the name they referred to.

8 years agoMake sure mariadb (mysql on centos/rhel) is started before pdns
Wim [Wed, 24 Aug 2016 13:20:30 +0000 (15:20 +0200)]
Make sure mariadb (mysql on centos/rhel) is started before pdns

8 years agolog expired rrsig on dnskeys
bert hubert [Wed, 24 Aug 2016 07:25:30 +0000 (09:25 +0200)]
log expired rrsig on dnskeys

8 years agoMerge pull request #4349 from rgacogne/remove-unused-dnspacket-dqlen
Pieter Lexis [Tue, 23 Aug 2016 15:32:28 +0000 (17:32 +0200)]
Merge pull request #4349 from rgacogne/remove-unused-dnspacket-dqlen

Remove unused `DNSPacket::d_qlen`

8 years agoMove the root DNSSEC data to a header file
Pieter Lexis [Tue, 23 Aug 2016 14:53:40 +0000 (16:53 +0200)]
Move the root DNSSEC data to a header file

Fixes #4253

8 years agoMerge pull request #4175 from skoef/queryLogging
Remi Gacogne [Tue, 23 Aug 2016 14:00:45 +0000 (16:00 +0200)]
Merge pull request #4175 from skoef/queryLogging

dnsdist: implemented query counting

8 years agoauth: Don't look up the packet cache for TSIG-enabled queries
Remi Gacogne [Tue, 23 Aug 2016 13:51:11 +0000 (15:51 +0200)]
auth: Don't look up the packet cache for TSIG-enabled queries

We are rightfully careful about not caching responses for TSIG-enabled
queries, but we would nevertheless happily serve cached entries for those.

8 years agodnsdist: implemented query counting
Reinier Schoof [Tue, 23 Aug 2016 12:44:59 +0000 (14:44 +0200)]
dnsdist: implemented query counting

8 years agoRPZ: Use query-local-address(6) for IXFR as well
Pieter Lexis [Tue, 23 Aug 2016 11:40:37 +0000 (13:40 +0200)]
RPZ: Use query-local-address(6) for IXFR as well

8 years agorec: Fix delegation-only
Remi Gacogne [Tue, 23 Aug 2016 09:06:51 +0000 (11:06 +0200)]
rec: Fix delegation-only

* use a unordered_set instead of a `SuffixMatchNode`
* allow RRSIG and DNSKEY from delegation-only servers

8 years agodnsdist: Fix invalid outstanding count for {A,I}XFR over TCP
Remi Gacogne [Tue, 23 Aug 2016 08:47:23 +0000 (10:47 +0200)]
dnsdist: Fix invalid outstanding count for {A,I}XFR over TCP

8 years agoRPZ: Use query-local-address(6) by default
Pieter Lexis [Tue, 23 Aug 2016 08:46:50 +0000 (10:46 +0200)]
RPZ: Use query-local-address(6) by default

Add localAddress to rpzMaster options to allow override.

Fixes #4343

8 years agoRemove unused `DNSPacket::d_qlen`
Remi Gacogne [Mon, 22 Aug 2016 08:50:59 +0000 (10:50 +0200)]
Remove unused `DNSPacket::d_qlen`

8 years agoMerge pull request #4334 from pieterlexis/doc-getRaw
Pieter Lexis [Mon, 22 Aug 2016 08:26:56 +0000 (10:26 +0200)]
Merge pull request #4334 from pieterlexis/doc-getRaw

recursor Lua: Document ComboAddress:getRaw()

8 years agoMerge pull request #4335 from mind04/tsig
Pieter Lexis [Mon, 22 Aug 2016 08:25:51 +0000 (10:25 +0200)]
Merge pull request #4335 from mind04/tsig

fix TSIG for single thread distributor

8 years agoso what broke the ordering was the RRSIGs interspersed with the answers. With this...
bert hubert [Sun, 21 Aug 2016 13:01:17 +0000 (15:01 +0200)]
so what broke the ordering was the RRSIGs interspersed with the answers. With this commit, RRSIGs get explicitly put at the back, and also not shuffled
within the actual answer records.

8 years agoThe PowerDNS Recursor shuffles answers randomly, so no single A record gets overloade...
bert hubert [Sun, 21 Aug 2016 12:21:28 +0000 (14:21 +0200)]
The PowerDNS Recursor shuffles answers randomly, so no single A record gets overloaded. This logic also took care not to shuffle a CNAME record until after the name it points to, because we theorized this would upset some resolvers.
Our logic however assumed all the CNAMEs would initially be at the front of the packet. We'd start our shuffling after skipping all the CNAMEs up front. It now turns out that sometimes we end up with a 'CNAME A CNAME A' packet to shuffle.
This would happily shuffle the last three records. With this PR, we put the CNAMEs up front explicitly before commencing the shuffle. Closes #4339.

Still to be investigated: why didn't this bite us before?

8 years agorec: Add a `asyncConnect` option to `protobufServer()`
Remi Gacogne [Fri, 19 Aug 2016 09:33:12 +0000 (11:33 +0200)]
rec: Add a `asyncConnect` option to `protobufServer()`

8 years agorec: Respect the timeout when connecting to a protobuf server
Remi Gacogne [Fri, 5 Aug 2016 13:06:10 +0000 (15:06 +0200)]
rec: Respect the timeout when connecting to a protobuf server

8 years agorecursor Lua: Document ComboAddress:getRaw()
Pieter Lexis [Fri, 19 Aug 2016 15:07:27 +0000 (17:07 +0200)]
recursor Lua: Document ComboAddress:getRaw()

8 years agoMerge pull request #4325 from pieterlexis/dnsdist-pkg-more-features
Remi Gacogne [Fri, 19 Aug 2016 13:05:37 +0000 (15:05 +0200)]
Merge pull request #4325 from pieterlexis/dnsdist-pkg-more-features

Build dnsdist packages with libre2 and DNSCrypt support (where available)

8 years agoMerge pull request #4284 from rgacogne/dnsdist-response-delay
Remi Gacogne [Fri, 19 Aug 2016 09:35:20 +0000 (11:35 +0200)]
Merge pull request #4284 from rgacogne/dnsdist-response-delay

dnsdist: Add RCodeRule(), Allow, Delay and Drop response actions

8 years agoMerge pull request #4326 from zeha/api-example-fix
Pieter Lexis [Fri, 19 Aug 2016 08:36:48 +0000 (10:36 +0200)]
Merge pull request #4326 from zeha/api-example-fix

Fix broken HTTP API example for AAAA

8 years agoMerge pull request #4251 from rgacogne/dnsdist-website-optional-deps
Remi Gacogne [Fri, 19 Aug 2016 07:50:57 +0000 (09:50 +0200)]
Merge pull request #4251 from rgacogne/dnsdist-website-optional-deps

dnsdist: Document protobuf and re2 as optional deps

8 years agoMerge pull request #4068 from rgacogne/dnsdist-ebpf-web
Remi Gacogne [Fri, 19 Aug 2016 07:49:36 +0000 (09:49 +0200)]
Merge pull request #4068 from rgacogne/dnsdist-ebpf-web

dnsdist: Display the dyn eBPF filters stats in the web interface

8 years agodnsdist: build pkgs with dnscrypt and re2 support
Pieter Lexis [Tue, 16 Aug 2016 12:57:01 +0000 (14:57 +0200)]
dnsdist: build pkgs with dnscrypt and re2 support

Only for distros where libsodium and libre2 are recent enough.

8 years agoMerge pull request #4116 from skoef/netmaskGroupRuleLocalAddr
Remi Gacogne [Fri, 19 Aug 2016 07:44:06 +0000 (09:44 +0200)]
Merge pull request #4116 from skoef/netmaskGroupRuleLocalAddr

added src boolean to NetmaskGroupRule to match destination address

8 years agodnsdist: Add RCodeRule(), Allow, Delay and Drop response actions
Remi Gacogne [Thu, 4 Aug 2016 10:37:47 +0000 (12:37 +0200)]
dnsdist: Add RCodeRule(), Allow, Delay and Drop response actions

8 years agoMerge pull request #4286 from rgacogne/dnsdist-response-rules-api
Remi Gacogne [Fri, 19 Aug 2016 07:37:22 +0000 (09:37 +0200)]
Merge pull request #4286 from rgacogne/dnsdist-response-rules-api

dnsdist: Add response rules to the API and Web status page

8 years agoStandardize license text in all PDNS files
Pieter Lexis [Tue, 16 Aug 2016 09:33:47 +0000 (11:33 +0200)]
Standardize license text in all PDNS files

8 years agoMore licensing everywhere
Pieter Lexis [Tue, 12 Jul 2016 15:39:02 +0000 (17:39 +0200)]
More licensing everywhere

Closes #4148

8 years agoMerge pull request #4329 from wessels/master
Remi Gacogne [Fri, 19 Aug 2016 07:29:30 +0000 (09:29 +0200)]
Merge pull request #4329 from wessels/master

Add options to LogAction() so it can append (instead of truncate) and…

8 years agoForgot to add [append] and [buffered] parameters to LogAppend() description
wessels [Thu, 18 Aug 2016 21:43:21 +0000 (21:43 +0000)]
Forgot to add [append] and [buffered] parameters to LogAppend() description

8 years agoWe don't need to keep d_append and d_buffered around, since they
wessels [Thu, 18 Aug 2016 21:41:53 +0000 (21:41 +0000)]
We don't need to keep d_append and d_buffered around, since they
are only used in the constructor.

8 years agoMerge pull request #4323 from ahupowerdns/dnsname-lowercase
bert hubert [Thu, 18 Aug 2016 07:06:03 +0000 (09:06 +0200)]
Merge pull request #4323 from ahupowerdns/dnsname-lowercase

with this change, DNSName can make a lowercase copy of itself, and we use this for speedup

8 years agoAdd options to LogAction() so it can append (instead of truncate) and write without...
wessels [Wed, 17 Aug 2016 22:34:11 +0000 (18:34 -0400)]
Add options to LogAction() so it can append (instead of truncate) and write without buffering.

Was so happy to discover LogAction() but disappointed that it truncates
the file each time the process starts, and apparently doesn't flush the
file upon exiting.  With two new optional args, the file can be appended
rather than truncated and buffering disabled.  The defaults remain as
before, which is to say to truncate and to buffer.

8 years agoFix broken HTTP API example for AAAA
Christian Hofstaedtler [Wed, 17 Aug 2016 14:00:36 +0000 (16:00 +0200)]
Fix broken HTTP API example for AAAA

8 years agodnsdist: Allow re2 detection without .pc file
Pieter Lexis [Wed, 17 Aug 2016 10:11:23 +0000 (12:11 +0200)]
dnsdist: Allow re2 detection without .pc file

8 years agomalloctrace would crash if you asked it for more topAllocators than there were
bert hubert [Wed, 17 Aug 2016 09:12:55 +0000 (11:12 +0200)]
malloctrace would crash if you asked it for more topAllocators than there were

8 years agowith this change, DNSName can make a lowercase copy of itself, and we make dnssecsign...
bert hubert [Wed, 17 Aug 2016 09:10:16 +0000 (11:10 +0200)]
with this change, DNSName can make a lowercase copy of itself, and we make dnssecsigner.cc use that instead of round-tripping through human-escape presentation for lowercasing.
Includes a test

8 years agofix up speedtest compilation
bert hubert [Wed, 17 Aug 2016 09:01:28 +0000 (11:01 +0200)]
fix up speedtest compilation

8 years agoMerge pull request #4317 from ahupowerdns/root-performance
Peter van Dijk [Tue, 16 Aug 2016 14:19:25 +0000 (16:19 +0200)]
Merge pull request #4317 from ahupowerdns/root-performance

Root performance fixes after tests by Anand