]> git.ipfire.org Git - thirdparty/pdns.git/log
thirdparty/pdns.git
7 years agowhen (re)priming the root, we do so with auth=0. We'll only set auth=1 after we have... 5318/head
bert hubert [Fri, 12 May 2017 10:34:44 +0000 (12:34 +0200)] 
when (re)priming the root, we do so with auth=0. We'll only set auth=1 after we have an answer from the roots. This however opens up a small race condition in which the root is expired (ttl=0), but still auth=1 in the cache. Our attempt to replace it with auth=0 dta fails at that point. This is probably due to some fencepost error somewhere. To not be subtle about this, explicitly nuke the root when we reprime.

7 years agoMerge pull request #5313 from ahupowerdns/no-root-age
bert hubert [Thu, 11 May 2017 16:35:23 +0000 (18:35 +0200)] 
Merge pull request #5313 from ahupowerdns/no-root-age

don't age the root - this was a mistranslation from 3.x to 4.x

7 years agoMerge pull request #5312 from ahupowerdns/proto-empty-log
bert hubert [Thu, 11 May 2017 16:28:06 +0000 (18:28 +0200)] 
Merge pull request #5312 from ahupowerdns/proto-empty-log

we would attempt to protobuf log DNS questions without a set question…

7 years agodon't age the root - this was a mistranslation from 3.x to 4.x 5313/head
bert hubert [Thu, 11 May 2017 15:18:04 +0000 (17:18 +0200)] 
don't age the root - this was a mistranslation from 3.x to 4.x

7 years agowe would attempt to protobuf log DNS questions without a set question and get excepti... 5312/head
bert hubert [Thu, 11 May 2017 15:16:20 +0000 (17:16 +0200)] 
we would attempt to protobuf log DNS questions without a set question and get exceptions over that

7 years agoMerge pull request #5307 from rgacogne/rec-rpz-clear-nsip-bis
Remi Gacogne [Wed, 10 May 2017 07:53:11 +0000 (09:53 +0200)] 
Merge pull request #5307 from rgacogne/rec-rpz-clear-nsip-bis

rec: Clear the RPZ NS IP table when clearing the policy (bis)

7 years agorec: Clear the RPZ NS IP table when clearing the policy (bis) 5307/head
Remi Gacogne [Tue, 9 May 2017 21:23:08 +0000 (23:23 +0200)] 
rec: Clear the RPZ NS IP table when clearing the policy (bis)

7 years agoMerge pull request #4569 from rgacogne/rec-protobuf-requestor-id
Pieter Lexis [Tue, 9 May 2017 14:30:15 +0000 (16:30 +0200)] 
Merge pull request #4569 from rgacogne/rec-protobuf-requestor-id

rec: Pass `tcp` to `gettag()`, allow setting the requestor ID from hooks

7 years agoMerge pull request #5252 from rgacogne/rec-soa-root-nx-trust
Pieter Lexis [Tue, 9 May 2017 14:26:26 +0000 (16:26 +0200)] 
Merge pull request #5252 from rgacogne/rec-soa-root-nx-trust

rec: Only apply root-nx-trust if the received SOA is "."

7 years agoMerge pull request #5270 from cmouse/geoip-test
Pieter Lexis [Tue, 9 May 2017 14:25:53 +0000 (16:25 +0200)] 
Merge pull request #5270 from cmouse/geoip-test

geoipbackend: Add test for city database

7 years agoMerge pull request #5275 from rgacogne/rec-rpz-fast-updates
Pieter Lexis [Tue, 9 May 2017 14:25:22 +0000 (16:25 +0200)] 
Merge pull request #5275 from rgacogne/rec-rpz-fast-updates

rec: RPZ updates are done zone by zone, zones are now shared pointers

7 years agoMerge pull request #5278 from rgacogne/dnscryptokeyengine-sharedptr
Pieter Lexis [Tue, 9 May 2017 14:25:05 +0000 (16:25 +0200)] 
Merge pull request #5278 from rgacogne/dnscryptokeyengine-sharedptr

Always wrap DNSCryptoKeyEngine objects in a shared pointer

7 years agoMerge pull request #5283 from rgacogne/dnssec-cache-auth-issue
Pieter Lexis [Tue, 9 May 2017 14:24:49 +0000 (16:24 +0200)] 
Merge pull request #5283 from rgacogne/dnssec-cache-auth-issue

rec: Skip DNSSEC validation for cache hits from authoritative zones

7 years agoMerge pull request #5290 from mind04/master-nsec
Pieter Lexis [Tue, 9 May 2017 14:24:33 +0000 (16:24 +0200)] 
Merge pull request #5290 from mind04/master-nsec

auth: add test to make sure NSEC(3) generation is case insensitive

7 years agoMerge pull request #5296 from mind04/boost
Pieter Lexis [Tue, 9 May 2017 14:24:13 +0000 (16:24 +0200)] 
Merge pull request #5296 from mind04/boost

detect gcc/g++ 5.4, 7.0 and 7.1 in boost.m4

7 years agoMerge pull request #5303 from Habbie/packetlimit
Pieter Lexis [Tue, 9 May 2017 14:23:52 +0000 (16:23 +0200)] 
Merge pull request #5303 from Habbie/packetlimit

fix off-by-one in dnsreplay --packet-limit

7 years agofix off-by-one in dnsreplay --packet-limit 5303/head
Peter van Dijk [Mon, 8 May 2017 17:31:43 +0000 (19:31 +0200)] 
fix off-by-one in dnsreplay --packet-limit

7 years agodetect gcc/g++ 5.4, 7.0 and 7.1 in boost.m4 5296/head
Kees Monshouwer [Thu, 4 May 2017 21:33:18 +0000 (23:33 +0200)] 
detect gcc/g++ 5.4, 7.0 and 7.1 in boost.m4

7 years agorec: Allow setting the protobuf `requestorId` from Lua hooks 4569/head
Remi Gacogne [Fri, 5 May 2017 10:29:43 +0000 (12:29 +0200)] 
rec: Allow setting the protobuf `requestorId` from Lua hooks

7 years agorec: Add a `tcp` parameter to `gettag()` since it's now called for TCP
Remi Gacogne [Wed, 12 Oct 2016 15:57:52 +0000 (17:57 +0200)] 
rec: Add a `tcp` parameter to `gettag()` since it's now called for TCP

7 years agoauth: add test to make sure NSEC(3) generation is case insensitive 5290/head
Kees Monshouwer [Wed, 3 May 2017 19:26:30 +0000 (21:26 +0200)] 
auth: add test to make sure NSEC(3) generation is case insensitive

test result before fix (auth-4.0.3):

--- ./tests/nsecx-upcase/expected_result        2017-05-03 21:17:26.000000000 +0200
+++ ./tests/nsecx-upcase/real_result    2017-05-03 21:29:10.231994921 +0200
@@ -2,8 +2,10 @@
 0      Z1234567890.wtest.com.  IN      RRSIG   3600    CNAME 13 2 3600 [expiry] [inception] [keytag] wtest.com. ...
 0      server1.wtest.com.      IN      A       3600    1.2.3.4
 0      server1.wtest.com.      IN      RRSIG   3600    A 13 3 3600 [expiry] [inception] [keytag] wtest.com. ...
-1      a.something.wtest.com.  IN      NSEC    86400   wtest.com. A RRSIG NSEC
-1      a.something.wtest.com.  IN      RRSIG   86400   NSEC 13 4 86400 [expiry] [inception] [keytag] wtest.com. ...
+1      *.wtest.com.    IN      NSEC    86400   e.wtest.com. CNAME RRSIG NSEC
+1      *.wtest.com.    IN      RRSIG   86400   NSEC 13 2 86400 [expiry] [inception] [keytag] wtest.com. ...
 2      .       IN      OPT     32768
 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='Z1234567890.wtest.com.', qtype=A
./tests/nsecx-upcase/unbound-host.out:Z1234567890.wtest.com is an alias for server1.wtest.com. (BOGUS (security failure))
./tests/nsecx-upcase/unbound-host.out:server1.wtest.com has address 1.2.3.4 (BOGUS (security failure))

7 years agoMerge pull request #5273 from cmouse/geoip-random
Remi Gacogne [Tue, 2 May 2017 07:55:25 +0000 (09:55 +0200)] 
Merge pull request #5273 from cmouse/geoip-random

geoipbackend: Use dns_random

7 years agoMerge pull request #5277 from rgacogne/sdig-edns-usage
Remi Gacogne [Tue, 2 May 2017 07:35:00 +0000 (09:35 +0200)] 
Merge pull request #5277 from rgacogne/sdig-edns-usage

sdig: Clarify that the `ednssubnet` option takes "subnet/mask"

7 years agoMerge pull request #5281 from pieterlexis/zone2json-in-tests
Remi Gacogne [Tue, 2 May 2017 07:34:00 +0000 (09:34 +0200)] 
Merge pull request #5281 from pieterlexis/zone2json-in-tests

Tell the tests where to find zone2json

7 years agorec: Add a unit test for the OOB flag on a auth zone cache hit 5283/head
Remi Gacogne [Mon, 1 May 2017 08:35:24 +0000 (10:35 +0200)] 
rec: Add a unit test for the OOB flag on a auth zone cache hit

7 years agorec: Skip DNSSEC validation for cache hits from authoritative zones
Remi Gacogne [Fri, 28 Apr 2017 16:48:21 +0000 (18:48 +0200)] 
rec: Skip DNSSEC validation for cache hits from authoritative zones

7 years agoTell the tests where to find zone2json 5281/head
Pieter Lexis [Fri, 28 Apr 2017 12:42:54 +0000 (14:42 +0200)] 
Tell the tests where to find zone2json

7 years agoMerge pull request #5280 from rgacogne/dnsdist-poolrule-from-mask
Remi Gacogne [Fri, 28 Apr 2017 09:13:59 +0000 (11:13 +0200)] 
Merge pull request #5280 from rgacogne/dnsdist-poolrule-from-mask

dnsdist: Clarify that addPoolRule() applies to source addresses

7 years agodnsdist: Clarify that addPoolRule() applies to source addresses 5280/head
Remi Gacogne [Fri, 28 Apr 2017 07:59:32 +0000 (09:59 +0200)] 
dnsdist: Clarify that addPoolRule() applies to source addresses

7 years agoAlways wrap DNSCryptoKeyEngine objects in a shared pointer 5278/head
Remi Gacogne [Thu, 27 Apr 2017 20:41:33 +0000 (22:41 +0200)] 
Always wrap DNSCryptoKeyEngine objects in a shared pointer

It's done almost everywhere, but not quite, and some of the paths
where it's not could leak if an exception is raised.
Also mark the overridden virtual methods with `override` to prevent
future mistakes.

7 years agochangelog thinks recent 4 releases happened in 2016
bert hubert [Thu, 27 Apr 2017 18:01:43 +0000 (21:01 +0300)] 
changelog thinks recent 4 releases happened in 2016

7 years agosdig: Clarify that the `ednssubnet` option takes "subnet/mask" 5277/head
Remi Gacogne [Thu, 27 Apr 2017 11:06:06 +0000 (13:06 +0200)] 
sdig: Clarify that the `ednssubnet` option takes "subnet/mask"

The `mask` part is actually optional but it's probably better to
provide it explicitely anyway.

7 years agorec: RPZ updates are done zone by zone, zones are now shared pointers 5275/head
Remi Gacogne [Thu, 6 Apr 2017 12:21:32 +0000 (14:21 +0200)] 
rec: RPZ updates are done zone by zone, zones are now shared pointers

This prevents having to copy and update all the zones even though
the RPZ IXFR tracker only works on one of them at a time.
Also prevents race conditions if two RPZ IXFR tracker threads
update the state at the same time by using `GlobalStateHolder::modify()`
instead of `GlobalStateHolder::setState()`.

7 years agogeoipbackend: Use dns_random 5273/head
Aki Tuomi [Wed, 26 Apr 2017 06:55:13 +0000 (09:55 +0300)] 
geoipbackend: Use dns_random

Closes coverity CID#1374548

7 years agogeoipbackend: Add test for city database 5270/head
Aki Tuomi [Mon, 24 Apr 2017 12:23:04 +0000 (15:23 +0300)] 
geoipbackend: Add test for city database

7 years agoMerge pull request #5266 from cmouse/geoip-fixes
Peter van Dijk [Tue, 25 Apr 2017 16:16:03 +0000 (18:16 +0200)] 
Merge pull request #5266 from cmouse/geoip-fixes

geoipbackend: Support city databases in region lookup

7 years agoMerge pull request #5267 from cmouse/geoip-weights
Peter van Dijk [Tue, 25 Apr 2017 16:15:01 +0000 (18:15 +0200)] 
Merge pull request #5267 from cmouse/geoip-weights

geoipbackend: Move static record lookup to separate method

7 years agoMerge pull request #5269 from cmouse/geoip-cc
Peter van Dijk [Tue, 25 Apr 2017 16:13:19 +0000 (18:13 +0200)] 
Merge pull request #5269 from cmouse/geoip-cc

geoipbackend: Add support for %cc modifier

7 years agogeoipbackend: Support city databases in region lookup 5266/head
Aki Tuomi [Fri, 21 Apr 2017 19:11:17 +0000 (22:11 +0300)] 
geoipbackend: Support city databases in region lookup

City database contains region information as well.

Fixes #5255 and #4122

7 years agogeoipbackend: Move static record lookup to separate method 5267/head
Aki Tuomi [Mon, 24 Apr 2017 09:39:11 +0000 (12:39 +0300)] 
geoipbackend: Move static record lookup to separate method

Fixes #4704 by applying weights consistently on all lookups.

7 years agogeoipbackend: Document %cc modifier 5269/head
Aki Tuomi [Mon, 24 Apr 2017 09:51:48 +0000 (12:51 +0300)] 
geoipbackend: Document %cc modifier

7 years agoMerge pull request #5261 from percipient/json-stat-fix
Peter van Dijk [Mon, 24 Apr 2017 09:50:40 +0000 (11:50 +0200)] 
Merge pull request #5261 from percipient/json-stat-fix

get-remote-ring's "other" report should only have two items.

7 years agogeoipbackend: Add support for %cc modifier
Aki Tuomi [Mon, 24 Apr 2017 09:50:39 +0000 (12:50 +0300)] 
geoipbackend: Add support for %cc modifier

Fixes #4122

7 years agoget-remote-ring's "other" report should only have two items. 5261/head
Patrick Cloke [Sun, 23 Apr 2017 13:11:12 +0000 (09:11 -0400)] 
get-remote-ring's "other" report should only have two items.

7 years agoMerge pull request #5250 from cmouse/axfrfilter
bert hubert [Fri, 21 Apr 2017 18:21:19 +0000 (20:21 +0200)] 
Merge pull request #5250 from cmouse/axfrfilter

Implement axfrfilter with LuaContext

7 years agoMerge pull request #5258 from mind04/query-cache-stats
bert hubert [Fri, 21 Apr 2017 18:19:17 +0000 (20:19 +0200)] 
Merge pull request #5258 from mind04/query-cache-stats

query cache hit/miss statistics

7 years agoquery cache hit/miss statistics 5258/head
Kees Monshouwer [Wed, 19 Apr 2017 22:59:37 +0000 (00:59 +0200)] 
query cache hit/miss statistics

7 years agorec: Make sure the received SOA comes from a "." auth 5252/head
Remi Gacogne [Thu, 20 Apr 2017 15:47:52 +0000 (17:47 +0200)] 
rec: Make sure the received SOA comes from a "." auth

7 years agoMerge pull request #5254 from pieterlexis/pkg-snmp-support
Pieter Lexis [Thu, 20 Apr 2017 11:25:07 +0000 (13:25 +0200)] 
Merge pull request #5254 from pieterlexis/pkg-snmp-support

Packages: Build with net-snmp support and against LuaJIT

7 years agoMerge pull request #5249 from tfarina/dns-ascii
Pieter Lexis [Thu, 20 Apr 2017 11:24:54 +0000 (13:24 +0200)] 
Merge pull request #5249 from tfarina/dns-ascii

move two other functions into ascii.hh

7 years agoMerge pull request #5235 from ahupowerdns/dnsdist-qnamerule
bert hubert [Wed, 19 Apr 2017 09:06:12 +0000 (11:06 +0200)] 
Merge pull request #5235 from ahupowerdns/dnsdist-qnamerule

Dnsdist qnamerule

7 years agoAllow building the Lua backend with luajit 5254/head
Pieter Lexis [Wed, 19 Apr 2017 08:46:47 +0000 (10:46 +0200)] 
Allow building the Lua backend with luajit

7 years agoMerge pull request #5248 from Habbie/gitignore-protobuf
Remi Gacogne [Wed, 19 Apr 2017 08:01:52 +0000 (10:01 +0200)] 
Merge pull request #5248 from Habbie/gitignore-protobuf

ignore file created by runtests

7 years agoMerge pull request #5253 from ahupowerdns/dnsdist-verbosepro
Remi Gacogne [Wed, 19 Apr 2017 08:01:12 +0000 (10:01 +0200)] 
Merge pull request #5253 from ahupowerdns/dnsdist-verbosepro

add some better dnsdist -v logging on queries that get dropped, timed out or received

7 years agoMerge pull request #5185 from rgacogne/dnsdist-nmg-add-masks
bert hubert [Tue, 18 Apr 2017 19:03:02 +0000 (21:03 +0200)] 
Merge pull request #5185 from rgacogne/dnsdist-nmg-add-masks

dnsdist: Add `NetmaskGroup::addMasks()` to fill a NMG from `exceeds*` results

7 years agoadd some better -v logging on queries that get dropped, time out or received 5253/head
bert hubert [Tue, 18 Apr 2017 18:12:52 +0000 (20:12 +0200)] 
add some better -v logging on queries that get dropped, time out or received

7 years agoNo net-snmp nor luajit on SLES
Pieter Lexis [Tue, 18 Apr 2017 17:30:09 +0000 (19:30 +0200)] 
No net-snmp nor luajit on SLES

7 years agoBuild pkgs against LuaJit (where available)
Pieter Lexis [Tue, 18 Apr 2017 14:51:04 +0000 (16:51 +0200)] 
Build pkgs against LuaJit (where available)

7 years agoAdd the protobuf pkgs as build-dep to EL6
Pieter Lexis [Tue, 18 Apr 2017 13:06:51 +0000 (15:06 +0200)] 
Add the protobuf pkgs as build-dep to EL6

7 years agoAdd net-snmp support to recursor and dnsdist pkgs
Pieter Lexis [Tue, 18 Apr 2017 11:33:56 +0000 (13:33 +0200)] 
Add net-snmp support to recursor and dnsdist pkgs

7 years agorec: Only apply root-nx-trust if the received SOA is "."
Remi Gacogne [Tue, 18 Apr 2017 08:27:27 +0000 (10:27 +0200)] 
rec: Only apply root-nx-trust if the received SOA is "."

If `root-nx-trust` is enabled and we got a NX answer from the root, check that the received SOA is for the root before negatively caching the entire TLD. This might happen if "." is forwarded, for example.

7 years agolua-auth: Drop axfrfilter 5250/head
Aki Tuomi [Mon, 17 Apr 2017 17:00:02 +0000 (20:00 +0300)] 
lua-auth: Drop axfrfilter

It's no longer needed.

7 years agodoc: Update documentation for axfr filter
Aki Tuomi [Mon, 17 Apr 2017 16:53:25 +0000 (19:53 +0300)] 
doc: Update documentation for axfr filter

7 years agocommunicator: Use new version of AXFR filter
Aki Tuomi [Mon, 17 Apr 2017 16:48:02 +0000 (19:48 +0300)] 
communicator: Use new version of AXFR filter

7 years agolua-auth4: Implement axfrfilter
Aki Tuomi [Mon, 17 Apr 2017 16:47:53 +0000 (19:47 +0300)] 
lua-auth4: Implement axfrfilter

7 years agomove two other functions into ascii.hh 5249/head
Thiago Farina [Mon, 17 Apr 2017 00:59:28 +0000 (21:59 -0300)] 
move two other functions into ascii.hh

dns_isspace() and dns_toupper() are all functions operating upon ASCII
characters. So lets move them into ascii.hh and keep them together with
dns_tolower().

7 years agoignore file created by runtests 5248/head
Peter van Dijk [Sun, 16 Apr 2017 19:18:44 +0000 (21:18 +0200)] 
ignore file created by runtests

7 years agoMerge pull request #5247 from Habbie/requires-nit
Peter van Dijk [Sun, 16 Apr 2017 18:22:51 +0000 (20:22 +0200)] 
Merge pull request #5247 from Habbie/requires-nit

nit

7 years agonit 5247/head
Peter van Dijk [Sun, 16 Apr 2017 16:45:24 +0000 (18:45 +0200)] 
nit

7 years agoMerge pull request #5244 from rgacogne/dnsdist-stop-on-dynblock
Remi Gacogne [Sun, 16 Apr 2017 09:41:56 +0000 (11:41 +0200)] 
Merge pull request #5244 from rgacogne/dnsdist-stop-on-dynblock

dnsdist: Stop sending queries as soon as we are dyn-blocked in tests

7 years agodnsdist: Fix a typo in the DynBlocks tests comment 5244/head
Remi Gacogne [Sat, 15 Apr 2017 18:32:00 +0000 (20:32 +0200)] 
dnsdist: Fix a typo in the DynBlocks tests comment

Thanks Habbie for noticing!

7 years agodnsdist: Stop sending queries as soon as we are dyn-blocked in tests
Remi Gacogne [Sat, 15 Apr 2017 15:21:24 +0000 (17:21 +0200)] 
dnsdist: Stop sending queries as soon as we are dyn-blocked in tests

Otherwise we might take too much time to finish sending our queries
(2s timeout per query), ending up with the dynamic block rule gone
by the time we finish.

7 years agoMerge pull request #5239 from rgacogne/dnsdist-debug-dynblocks-failures
Remi Gacogne [Fri, 14 Apr 2017 15:15:31 +0000 (17:15 +0200)] 
Merge pull request #5239 from rgacogne/dnsdist-debug-dynblocks-failures

dnsdist: Add some debug to the DynBlocks regression tests

7 years agodnsdist: Add some debug to the DynBlocks regression tests 5239/head
Remi Gacogne [Fri, 14 Apr 2017 08:09:14 +0000 (10:09 +0200)] 
dnsdist: Add some debug to the DynBlocks regression tests

7 years agoMerge pull request #5230 from Habbie/dnsdist-unnest-error
bert hubert [Wed, 12 Apr 2017 11:16:58 +0000 (13:16 +0200)] 
Merge pull request #5230 from Habbie/dnsdist-unnest-error

unnest Lua exceptions when they get all the way back to main()

7 years agoMerge pull request #5199 from ahupowerdns/dnsdistrekey
bert hubert [Wed, 12 Apr 2017 11:13:43 +0000 (13:13 +0200)] 
Merge pull request #5199 from ahupowerdns/dnsdistrekey

setKey() was actually "appendKey()". In addition, '-k' would not override for server configuration

7 years agoMerge pull request #5234 from aerique/bugfix/5054-dnsdist-query-counters-integer...
bert hubert [Wed, 12 Apr 2017 11:13:04 +0000 (13:13 +0200)] 
Merge pull request #5234 from aerique/bugfix/5054-dnsdist-query-counters-integer-overflows

Bugfix/5054 dnsdist query counters integer overflows

7 years agocheck new key before replacing old one. 5199/head
bert hubert [Wed, 12 Apr 2017 09:42:14 +0000 (11:42 +0200)] 
check new key before replacing old one.

7 years agoMerge pull request #5228 from mind04/order
Peter van Dijk [Tue, 11 Apr 2017 13:12:02 +0000 (15:12 +0200)] 
Merge pull request #5228 from mind04/order

signpipe stumbles over interrupted rrsets

7 years agoadd a test for QNameRule 5235/head
bert hubert [Tue, 11 Apr 2017 12:55:29 +0000 (14:55 +0200)] 
add a test for QNameRule

7 years agoFix "queries" overflow in dnsdist API. 5234/head
Erik Winkels [Tue, 11 Apr 2017 12:22:30 +0000 (14:22 +0200)] 
Fix "queries" overflow in dnsdist API.

The way it is currently fixed means that matches can still overflow
in the web interface because JavaScript has a 2^53 number limit.

However, this fix is in line with how earlier cases have been fixed.

This fixes issue #5054.

7 years agoFix matches overflow in dnsdist API.
Erik Winkels [Tue, 4 Apr 2017 14:40:32 +0000 (16:40 +0200)] 
Fix matches overflow in dnsdist API.

The way it is currently fixed means that matches can still overflow
in the web interface because JavaScript has a 2^53 number limit.

However, this fix is in line with how earlier cases have been fixed.

7 years agoadd & document QNameRule
bert hubert [Mon, 10 Apr 2017 17:23:49 +0000 (19:23 +0200)] 
add & document QNameRule

7 years agoMerge pull request #5209 from ahupowerdns/lock-touches
bert hubert [Tue, 11 Apr 2017 11:43:06 +0000 (13:43 +0200)] 
Merge pull request #5209 from ahupowerdns/lock-touches

make our Lock classes uncopyable, make ReadLock and WriteLock moveable.

7 years agoupdate tinydns data files 5228/head
Kees Monshouwer [Tue, 11 Apr 2017 09:00:46 +0000 (11:00 +0200)] 
update tinydns data files

7 years agoMerge pull request #5226 from pieterlexis/syncres-refactor-mv-negcache
Remi Gacogne [Tue, 11 Apr 2017 09:05:13 +0000 (11:05 +0200)] 
Merge pull request #5226 from pieterlexis/syncres-refactor-mv-negcache

rec: Refactor the negative cache into a class

7 years agosignpipe stumbles over interrupted rrsets
Kees Monshouwer [Fri, 7 Apr 2017 20:51:06 +0000 (22:51 +0200)] 
signpipe stumbles over interrupted rrsets

7 years agoMerge pull request #5231 from rgacogne/rec-rpz-clear-nsip
Pieter Lexis [Tue, 11 Apr 2017 08:15:37 +0000 (10:15 +0200)] 
Merge pull request #5231 from rgacogne/rec-rpz-clear-nsip

rec: Clear the RPZ NS IP table when clearing the policy

7 years agoMerge pull request #5212 from tfarina/dns2-tolower
Pieter Lexis [Tue, 11 Apr 2017 07:47:24 +0000 (09:47 +0200)] 
Merge pull request #5212 from tfarina/dns2-tolower

pdns: remove duplicated dns2_tolower() function

7 years agoMerge pull request #5229 from Habbie/sort-tinydns-data
Pieter Lexis [Tue, 11 Apr 2017 07:46:24 +0000 (09:46 +0200)] 
Merge pull request #5229 from Habbie/sort-tinydns-data

sort tinydns data to reduce size of future diffs

7 years agorec: Clear the RPZ NS IP table when clearing the policy 5231/head
Remi Gacogne [Mon, 10 Apr 2017 16:33:30 +0000 (18:33 +0200)] 
rec: Clear the RPZ NS IP table when clearing the policy

Be it the entire policy object or a single zone.

7 years agorec NegCache: expired test for getRootNXTrust 5226/head
Pieter Lexis [Mon, 10 Apr 2017 15:59:20 +0000 (17:59 +0200)] 
rec NegCache: expired test for getRootNXTrust

7 years agorec NegCache: Add count() for QNAME|QTYPE
Pieter Lexis [Mon, 10 Apr 2017 15:58:55 +0000 (17:58 +0200)] 
rec NegCache: Add count() for QNAME|QTYPE

7 years agounnest Lua exceptions when they get all the way back to main() 5230/head
Peter van Dijk [Mon, 10 Apr 2017 14:05:07 +0000 (16:05 +0200)] 
unnest Lua exceptions when they get all the way back to main()

7 years agoMerge pull request #4477 from KamagoNet/ldap-backend-update
Peter van Dijk [Mon, 10 Apr 2017 11:21:58 +0000 (13:21 +0200)] 
Merge pull request #4477 from KamagoNet/ldap-backend-update

Ldap backend update

7 years agosort tinydns data to reduce size of future diffs 5229/head
Peter van Dijk [Mon, 10 Apr 2017 09:51:44 +0000 (11:51 +0200)] 
sort tinydns data to reduce size of future diffs

7 years agoMerge pull request #5200 from Habbie/luawrapper-downstream
Peter van Dijk [Mon, 10 Apr 2017 10:13:54 +0000 (12:13 +0200)] 
Merge pull request #5200 from Habbie/luawrapper-downstream

downstream luawrapper changes

7 years agoMerge pull request #5204 from rgacogne/snmp-thread-move
Peter van Dijk [Mon, 10 Apr 2017 10:13:20 +0000 (12:13 +0200)] 
Merge pull request #5204 from rgacogne/snmp-thread-move

SNMP: Let the compiler elide copy instead of calling the move ctor

7 years agorec: Add tests for NegCache::getRootNXTrust
Pieter Lexis [Mon, 10 Apr 2017 08:09:54 +0000 (10:09 +0200)] 
rec: Add tests for NegCache::getRootNXTrust

7 years agorec negcache: check retval in test_add_updated_entry
Pieter Lexis [Mon, 10 Apr 2017 08:09:48 +0000 (10:09 +0200)] 
rec negcache: check retval in test_add_updated_entry