]> granicus.if.org Git - pdns/log
pdns
12 years agomake sure that 'any' queries to mydnsbackend also respond with the SOA record. Plus...
Bert Hubert [Thu, 4 Oct 2012 08:14:04 +0000 (08:14 +0000)]
make sure that 'any' queries to mydnsbackend also respond with the SOA record. Plus add helpful schema. Code from ticket 439 (by peter).

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2751 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agobetter error reporting from pdnssec. Closes #434 (Ruben d'Arco)
Peter van Dijk [Thu, 4 Oct 2012 07:29:18 +0000 (07:29 +0000)]
better error reporting from pdnssec. Closes #434 (Ruben d'Arco)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2750 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake pdnssec check-all-zones smarter about reusing database connections. Fixes #519...
Peter van Dijk [Thu, 4 Oct 2012 07:22:50 +0000 (07:22 +0000)]
make pdnssec check-all-zones smarter about reusing database connections. Fixes #519. (Ruben d'Arco)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2749 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake additional lookups smarter about trailing dots. make pdnssec error about trailin...
Peter van Dijk [Thu, 4 Oct 2012 07:09:11 +0000 (07:09 +0000)]
make additional lookups smarter about trailing dots. make pdnssec error about trailing dots in names. make pdnssec warn about trailing dots in names inside content. strip dot from SRV hostnames during axfr. Patches by Ruben d'Arco. Fixes #289.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2748 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agodrop PDNS_ENABLE_LUA
Peter van Dijk [Thu, 4 Oct 2012 05:55:00 +0000 (05:55 +0000)]
drop PDNS_ENABLE_LUA

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2747 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agofix recursor+lua build
Peter van Dijk [Thu, 4 Oct 2012 05:40:37 +0000 (05:40 +0000)]
fix recursor+lua build

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2746 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoIgnore ent in pdnssec check-zone and fix SOA check (Kees Monshouwer)
Peter van Dijk [Wed, 3 Oct 2012 20:41:52 +0000 (20:41 +0000)]
Ignore ent in pdnssec check-zone and fix SOA check (Kees Monshouwer)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2745 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoanother test commit
Bert Hubert [Wed, 3 Oct 2012 20:34:44 +0000 (20:34 +0000)]
another test commit

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2744 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agotest 1 2 3
Bert Hubert [Wed, 3 Oct 2012 20:30:42 +0000 (20:30 +0000)]
test 1 2 3

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2743 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake sure we can build w/o Lua again, closing ticket http://wiki.powerdns.com/trac...
Bert Hubert [Wed, 3 Oct 2012 19:54:24 +0000 (19:54 +0000)]
make sure we can build w/o Lua again, closing ticket http://wiki.powerdns.com/trac/ticket/462
Double check if pdns_recursor is also happy with this change (probably not)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2742 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd bind-config= for bind tests
Peter van Dijk [Wed, 3 Oct 2012 19:29:15 +0000 (19:29 +0000)]
add bind-config= for bind tests

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2741 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoremove last use of select() so we can make the owner of ticket 408 happy and launch...
Bert Hubert [Wed, 3 Oct 2012 19:20:47 +0000 (19:20 +0000)]
remove last use of select() so we can make the owner of ticket 408 happy and launch on 10k IP addresses!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2740 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoremoved use of select(2) from the webserver, to prepare us for fd>1024 use
Bert Hubert [Wed, 3 Oct 2012 19:15:45 +0000 (19:15 +0000)]
removed use of select(2) from the webserver, to prepare us for fd>1024 use

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2739 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agofix testrunner for non-DNSSEC ENT testing
Peter van Dijk [Wed, 3 Oct 2012 18:50:58 +0000 (18:50 +0000)]
fix testrunner for non-DNSSEC ENT testing

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2738 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoexplicitly generate an error if trying to secure a zone which does not exist.
Bert Hubert [Wed, 3 Oct 2012 18:48:49 +0000 (18:48 +0000)]
explicitly generate an error if trying to secure a zone which does not exist.
Remove needless scoped_ptr<> - stack is faster

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2737 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoonly emit helpful gsqlite3 warning when actually trying to load gsqlite3, confusing...
Bert Hubert [Wed, 3 Oct 2012 18:28:15 +0000 (18:28 +0000)]
only emit helpful gsqlite3 warning when actually trying to load gsqlite3, confusing otherwise

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2736 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoremove some whitespace, add an 'MX' record to sample pipe backend script, plus remove...
Bert Hubert [Wed, 3 Oct 2012 18:22:27 +0000 (18:22 +0000)]
remove some whitespace, add an 'MX' record to sample pipe backend script, plus remove 3 bugs from it

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2735 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoReinstate behaviour that we cycle a backend if it throws an AhuException. Temporary...
Bert Hubert [Wed, 3 Oct 2012 18:18:48 +0000 (18:18 +0000)]
Reinstate behaviour that we cycle a backend if it throws an AhuException. Temporary errors whould throw DBExceptions.
We do keep the logging of such an error.
Closes ticket 386, reverts commit 2100.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2734 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agosilence some warning, add some comments
Bert Hubert [Wed, 3 Oct 2012 18:06:20 +0000 (18:06 +0000)]
silence some warning, add some comments

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2733 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd no-DNSSEC ENT support, patch by Kees Monshouwer
Peter van Dijk [Wed, 3 Oct 2012 17:21:21 +0000 (17:21 +0000)]
add no-DNSSEC ENT support, patch by Kees Monshouwer

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2732 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoremove global distributor and replace by 1 distributor per receiver thread, thanks...
Bert Hubert [Wed, 3 Oct 2012 13:53:21 +0000 (13:53 +0000)]
remove global distributor and replace by 1 distributor per receiver thread, thanks to Mark Zealey, who reports fourfold speedups this way.
see http://wiki.powerdns.com/trac/ticket/583 for details

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2731 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agospeedup from Mark Zealey for fillSOAData, ticket 584, thanks!
Bert Hubert [Wed, 3 Oct 2012 13:14:53 +0000 (13:14 +0000)]
speedup from Mark Zealey for fillSOAData, ticket 584, thanks!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2730 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomerge small variant of patch by Mark Zealey as attached to 579. Should be a speedup...
Bert Hubert [Wed, 3 Oct 2012 13:01:37 +0000 (13:01 +0000)]
merge small variant of patch by Mark Zealey as attached to 579. Should be a speedup! If you see sudden crashes, this patch might be related as we rely on good luck right now to make sure qtype is initialized before it is used.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2729 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoSander Hoentjen <sander@hoentjen.eu>:I have a patch that add exit codes to the init...
Bert Hubert [Wed, 3 Oct 2012 12:33:19 +0000 (12:33 +0000)]
Sander Hoentjen <sander@hoentjen.eu>:I have a patch that add exit codes to the init-script status and start commands. This helps stuff like puppet to manage the service.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2728 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoMinor doc fixes from Christian Hofstaedtler
Peter van Dijk [Wed, 3 Oct 2012 10:24:10 +0000 (10:24 +0000)]
Minor doc fixes from Christian Hofstaedtler

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2727 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomanpages for dnsscope, dnswasher, dnsreplay, contributed by joerg jungermann!
Bert Hubert [Tue, 2 Oct 2012 15:18:34 +0000 (15:18 +0000)]
manpages for dnsscope, dnswasher, dnsreplay, contributed by joerg jungermann!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2726 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoactually ignore drill comments in ent-axfr
Peter van Dijk [Mon, 1 Oct 2012 15:01:02 +0000 (15:01 +0000)]
actually ignore drill comments in ent-axfr

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2725 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoignore drill comments in ent-axfr
Peter van Dijk [Mon, 1 Oct 2012 14:58:49 +0000 (14:58 +0000)]
ignore drill comments in ent-axfr

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2724 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agofix tinydns data check
Peter van Dijk [Mon, 1 Oct 2012 14:54:04 +0000 (14:54 +0000)]
fix tinydns data check

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2723 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agodon't run ent-axfr test in nsec3-narrow mode
Peter van Dijk [Mon, 1 Oct 2012 14:53:32 +0000 (14:53 +0000)]
don't run ent-axfr test in nsec3-narrow mode

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2722 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoImport ENT support, done by Kees Monshouwer. Additional testing by Ruben d'Arco.
Peter van Dijk [Mon, 1 Oct 2012 14:35:23 +0000 (14:35 +0000)]
Import ENT support, done by Kees Monshouwer. Additional testing by Ruben d'Arco.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2721 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agofix ISC export for Botan; this fixes Botan/Polar interaction. Thanks to Paul Bakker...
Peter van Dijk [Fri, 28 Sep 2012 10:32:28 +0000 (10:32 +0000)]
fix ISC export for Botan; this fixes Botan/Polar interaction. Thanks to Paul Bakker of PolarSSL for debugging.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2720 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agodo not start bind tests until bindbackend has loaded all zones
Peter van Dijk [Mon, 24 Sep 2012 12:09:30 +0000 (12:09 +0000)]
do not start bind tests until bindbackend has loaded all zones

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2719 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake sure SOAData.scopeMask is initialized always
Peter van Dijk [Mon, 24 Sep 2012 12:09:04 +0000 (12:09 +0000)]
make sure SOAData.scopeMask is initialized always

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2718 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoexit(0) instead of (1) when the guardian is terminated by SIGTERM. Requested by Morte...
Peter van Dijk [Mon, 24 Sep 2012 11:53:28 +0000 (11:53 +0000)]
exit(0) instead of (1) when the guardian is terminated by SIGTERM. Requested by Morten Stevens of Fedora.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2717 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake extract_bits slightly more robust; document limitations (thanks Maik)
Peter van Dijk [Fri, 21 Sep 2012 13:44:20 +0000 (13:44 +0000)]
make extract_bits slightly more robust; document limitations (thanks Maik)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2716 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake extract_bits more robust, limit to 8 bits (we only use it for 5 at a time anyway...
Peter van Dijk [Fri, 21 Sep 2012 13:31:05 +0000 (13:31 +0000)]
make extract_bits more robust, limit to 8 bits (we only use it for 5 at a time anyway). bonus: this makes valgrind happy.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2715 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd pdnssec test-schema
Peter van Dijk [Thu, 20 Sep 2012 10:55:34 +0000 (10:55 +0000)]
add pdnssec test-schema

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2714 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoskip nsec-glue-at-delegation for non-dnssec test runs
Peter van Dijk [Mon, 17 Sep 2012 14:28:55 +0000 (14:28 +0000)]
skip nsec-glue-at-delegation for non-dnssec test runs

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2713 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoskip any-wildcard-dnssec for non-dnssec test runs
Peter van Dijk [Mon, 17 Sep 2012 14:28:12 +0000 (14:28 +0000)]
skip any-wildcard-dnssec for non-dnssec test runs

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2712 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd two test descriptions
Peter van Dijk [Mon, 17 Sep 2012 14:11:44 +0000 (14:11 +0000)]
add two test descriptions

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2711 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd underscore-sorting test; correct sorting behaviour in PG and MySQL. WARNING!...
Peter van Dijk [Mon, 17 Sep 2012 14:09:40 +0000 (14:09 +0000)]
add underscore-sorting test; correct sorting behaviour in PG and MySQL. WARNING! Involves schema changes! also +x two other tests

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2710 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoAdd presigned tests. Improve DNSKEY and NSEC3PARAM query handling, including
Peter van Dijk [Mon, 17 Sep 2012 08:46:18 +0000 (08:46 +0000)]
Add presigned tests. Improve DNSKEY and NSEC3PARAM query handling, including
for ANY queries (this fixes some presigned BOGUS validations). Fix TTLs on
NSEC, NSEC3, SOA, RRSIG SOA and inside RRSIG SOA. Add bufsize support to sdig.
Update all relevant testcases.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2709 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoFix compilation against newer clang, turns out we weren't quite c++ correct. Fix...
Bert Hubert [Mon, 10 Sep 2012 17:30:42 +0000 (17:30 +0000)]
Fix compilation against newer clang, turns out we weren't quite c++ correct. Fix suggested by Christof Meerwald.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2708 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agonit
Peter van Dijk [Fri, 7 Sep 2012 10:26:07 +0000 (10:26 +0000)]
nit

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2707 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agonote that auth-zones file are in BIND format
Peter van Dijk [Thu, 30 Aug 2012 13:34:53 +0000 (13:34 +0000)]
note that auth-zones file are in BIND format

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2706 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoexpand pdnssec test-algorithm(s) to test engine-B signing with keys generated by...
Peter van Dijk [Wed, 29 Aug 2012 15:19:43 +0000 (15:19 +0000)]
expand pdnssec test-algorithm(s) to test engine-B signing with keys generated by engine-A

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2705 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoChristof Meerwald discovered we checked if the remote host in 'pdns_control notify...
Bert Hubert [Tue, 28 Aug 2012 21:19:40 +0000 (21:19 +0000)]
Christof Meerwald discovered we checked if the remote host in 'pdns_control notify-host' was valid, but would only accept IPv4 addresses!

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2704 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agolog error messages when creating a superslave domain, change how we deal with the...
Bert Hubert [Tue, 28 Aug 2012 21:14:36 +0000 (21:14 +0000)]
log error messages when creating a superslave domain, change how we deal with the exception (locally)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2703 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoremove unused variable
Peter van Dijk [Sat, 25 Aug 2012 13:33:10 +0000 (13:33 +0000)]
remove unused variable

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2702 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd AM_PROG_CC_C_O to configure.ac as we appear to need it
Peter van Dijk [Sat, 25 Aug 2012 13:29:07 +0000 (13:29 +0000)]
add AM_PROG_CC_C_O to configure.ac as we appear to need it

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2701 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agonit
Peter van Dijk [Fri, 24 Aug 2012 08:25:38 +0000 (08:25 +0000)]
nit

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2700 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoPurge caches after incoming AXFR. Reported by Martin Draschl, patch by Ruben d'Arco...
Peter van Dijk [Fri, 24 Aug 2012 08:11:48 +0000 (08:11 +0000)]
Purge caches after incoming AXFR. Reported by Martin Draschl, patch by Ruben d'Arco, closes #525.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2699 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agosimplify polarssl version test
Peter van Dijk [Wed, 22 Aug 2012 09:54:48 +0000 (09:54 +0000)]
simplify polarssl version test

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2698 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoDefault to system PolarSSL if it is new enough (>=1.1). Patch by Evgeni Golov, extens...
Peter van Dijk [Mon, 20 Aug 2012 14:18:12 +0000 (14:18 +0000)]
Default to system PolarSSL if it is new enough (>=1.1). Patch by Evgeni Golov, extensive testing by Marc Haber.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2697 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agosupport pkg-config for finding Botan libs. Patch by Marcus 'darix' Rueckert.
Peter van Dijk [Mon, 20 Aug 2012 12:13:14 +0000 (12:13 +0000)]
support pkg-config for finding Botan libs. Patch by Marcus 'darix' Rueckert.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2696 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake nsec3dig understand single-name zones, patch by Ruben d'Arco
Peter van Dijk [Wed, 15 Aug 2012 07:27:25 +0000 (07:27 +0000)]
make nsec3dig understand single-name zones, patch by Ruben d'Arco

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2695 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake sure we clear DNSSEC caches in some relevant places. Fixes #530, patch by Ruben...
Peter van Dijk [Tue, 14 Aug 2012 09:42:56 +0000 (09:42 +0000)]
make sure we clear DNSSEC caches in some relevant places. Fixes #530, patch by Ruben d'Arco

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2694 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd minimal.com zone to tinydnsbackend data
Peter van Dijk [Tue, 14 Aug 2012 07:32:47 +0000 (07:32 +0000)]
add minimal.com zone to tinydnsbackend data

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2693 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agochange pdnssec add-zone-key default to RSASHA256, like secure-zone
Peter van Dijk [Tue, 14 Aug 2012 07:23:41 +0000 (07:23 +0000)]
change pdnssec add-zone-key default to RSASHA256, like secure-zone

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2692 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd NSEC tests for a zone with just one name, submitted by Kees Monshouwer
Peter van Dijk [Tue, 14 Aug 2012 07:16:22 +0000 (07:16 +0000)]
add NSEC tests for a zone with just one name, submitted by Kees Monshouwer

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2691 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoremove unused doWildcardRecords method, pointed out by Leen Besselink
Peter van Dijk [Fri, 3 Aug 2012 07:29:34 +0000 (07:29 +0000)]
remove unused doWildcardRecords method, pointed out by Leen Besselink

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2690 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agominor NSEC3 modeswitch cleanup from Kees Monshouwer
Peter van Dijk [Fri, 3 Aug 2012 07:04:00 +0000 (07:04 +0000)]
minor NSEC3 modeswitch cleanup from Kees Monshouwer

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2689 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomark 7 new tests executable
Peter van Dijk [Thu, 2 Aug 2012 20:19:24 +0000 (20:19 +0000)]
mark 7 new tests executable

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2688 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoThis monster-commit contains three weeks of work, mostly by Kees Monshouwer.
Peter van Dijk [Thu, 2 Aug 2012 20:04:53 +0000 (20:04 +0000)]
This monster-commit contains three weeks of work, mostly by Kees Monshouwer.
Contents:
- minor fixes to nsec3dig
- lower-boundary NSEC3 wraparound fix for bindbackend
- a bunch of additional tests for NSEC3 behaviour
- 4 new NSEC3 modes, presumably covering all NSEC3-sets we can possibly need
- minor fixes to the existing modes (we used to generate too many NSEC3s in some cases)
- a (non-DNSSEC) fix for wildcards wrongly synthesising responses when there were partially overlapping names
- perhaps some other minor fixes

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2687 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoMinor luabackend README fixes. Triggered by a suggestion from Leen Besselink.
Peter van Dijk [Mon, 30 Jul 2012 05:09:57 +0000 (05:09 +0000)]
Minor luabackend README fixes. Triggered by a suggestion from Leen Besselink.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2686 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agofix silly typo in pdns_server manpage. Spotted by Friek Mulder.
Peter van Dijk [Fri, 27 Jul 2012 20:47:53 +0000 (20:47 +0000)]
fix silly typo in pdns_server manpage. Spotted by Friek Mulder.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2685 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd listen-port to nproxy, plus fix that we tried to bind to IPv6 on an IPv4 socket...
Bert Hubert [Thu, 26 Jul 2012 20:43:53 +0000 (20:43 +0000)]
add listen-port to nproxy, plus fix that we tried to bind to IPv6 on an IPv4 socket. Intended to close ticket 534.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2684 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake sure trailing dot does not confuse nsec3dig
Peter van Dijk [Fri, 20 Jul 2012 11:22:35 +0000 (11:22 +0000)]
make sure trailing dot does not confuse nsec3dig

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2683 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd closest encloser/next closer/wildcard at encloser debugging to nsec3dig
Peter van Dijk [Fri, 20 Jul 2012 11:18:55 +0000 (11:18 +0000)]
add closest encloser/next closer/wildcard at encloser debugging to nsec3dig

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2682 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd nsec3dig debugging tool
Peter van Dijk [Thu, 19 Jul 2012 10:20:29 +0000 (10:20 +0000)]
add nsec3dig debugging tool

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2681 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoit appears we did not set the opcode on outgoing packets if opcode!=0 (ie, notify)
Bert Hubert [Mon, 16 Jul 2012 20:30:15 +0000 (20:30 +0000)]
it appears we did not set the opcode on outgoing packets if opcode!=0 (ie, notify)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2680 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoremove mention of 3.1.1 RC1 + remove 1000qps limit warning for DNSSEC
Bert Hubert [Thu, 12 Jul 2012 18:25:47 +0000 (18:25 +0000)]
remove mention of 3.1.1 RC1 + remove 1000qps limit warning for DNSSEC

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2677 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoFix for ticket 460, as attached to that ticket. Code & debugging by
Peter van Dijk [Thu, 12 Jul 2012 10:03:48 +0000 (10:03 +0000)]
Fix for ticket 460, as attached to that ticket. Code & debugging by
s.hoogeveen@nederhost.nl.  Additional help in debugging by Totaalnet, Miek
Gieben en Roland van Rijswijk.
This fixes presigned wildcard record signatures. (r2674)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2676 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake sure pdnssec test-algorithm has an argument
Peter van Dijk [Thu, 12 Jul 2012 10:02:39 +0000 (10:02 +0000)]
make sure pdnssec test-algorithm has an argument

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2675 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake sure dnsreplay & friends compile on OpenBSD. Closes ticket 522 by 'Stefan' ...
Peter van Dijk [Sun, 8 Jul 2012 18:18:50 +0000 (18:18 +0000)]
make sure dnsreplay & friends compile on OpenBSD. Closes ticket 522 by 'Stefan' (r2672)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2673 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agosemi-static build instructions (r2669)
Peter van Dijk [Fri, 6 Jul 2012 12:03:23 +0000 (12:03 +0000)]
semi-static build instructions (r2669)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2671 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agofix issue if signer could not sign and died on us, leaving us with 100% busy CPU...
Peter van Dijk [Fri, 6 Jul 2012 12:02:44 +0000 (12:02 +0000)]
fix issue if signer could not sign and died on us, leaving us with 100% busy CPU in many cases (r2668)

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2670 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoupdate docs for 3.1.1
Peter van Dijk [Mon, 2 Jul 2012 10:49:48 +0000 (10:49 +0000)]
update docs for 3.1.1

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2667 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoalso look for x86_64 mysql libs
Peter van Dijk [Mon, 2 Jul 2012 10:49:23 +0000 (10:49 +0000)]
also look for x86_64 mysql libs

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2666 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoprovide useful diagnostics when people have been confused into typing pdnssec test...
Peter van Dijk [Mon, 2 Jul 2012 08:16:58 +0000 (08:16 +0000)]
provide useful diagnostics when people have been confused into typing pdnssec test-zone

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2651 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd big warning about DNSSEC in 3.0 to the docs
Bert Hubert [Mon, 2 Jul 2012 07:45:54 +0000 (07:45 +0000)]
add big warning about DNSSEC in 3.0 to the docs

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2650 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoIf we receive a question with an EDNS section in auth, always answer with an EDNS...
Bert Hubert [Sun, 1 Jul 2012 11:44:26 +0000 (11:44 +0000)]
If we receive a question with an EDNS section in auth, always answer with an EDNS section too. Some versions of BIND intepreted our lack of EDNS section on non-DO=1 answers as an indication we did not do DNSSEC, with ensuing pain.
Spotted by the ever-vigilant Jimmy Bergman.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2649 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoupdate docs to improve operational DNSSEC doctrine
Bert Hubert [Sun, 1 Jul 2012 10:21:31 +0000 (10:21 +0000)]
update docs to improve operational DNSSEC doctrine

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2648 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agothere will not be a powerdns recursor 3.4 release, now aiming for 3.5.
Bert Hubert [Sun, 1 Jul 2012 10:15:53 +0000 (10:15 +0000)]
there will not be a powerdns recursor 3.4 release, now aiming for 3.5.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2647 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoFix missing newline, reported by Job Snijders.
Peter van Dijk [Wed, 27 Jun 2012 08:19:35 +0000 (08:19 +0000)]
Fix missing newline, reported by Job Snijders.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2646 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake sure get-all-domains works with postgres too. Patch by Ruben d'Arco.
Peter van Dijk [Tue, 26 Jun 2012 11:06:25 +0000 (11:06 +0000)]
make sure get-all-domains works with postgres too. Patch by Ruben d'Arco.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2645 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd lua-auth.hh to Makefile.am deps
Bert Hubert [Sat, 23 Jun 2012 19:23:37 +0000 (19:23 +0000)]
add lua-auth.hh to Makefile.am deps

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2644 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd getRemote to lua DNSPacket binding
Peter van Dijk [Fri, 22 Jun 2012 10:51:35 +0000 (10:51 +0000)]
add getRemote to lua DNSPacket binding

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2643 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agomake dist-recursor independent of Makefile; make dist-recursor fail early when necessary
Peter van Dijk [Fri, 22 Jun 2012 10:15:40 +0000 (10:15 +0000)]
make dist-recursor independent of Makefile; make dist-recursor fail early when necessary

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2642 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoone more +x
Peter van Dijk [Fri, 22 Jun 2012 09:08:40 +0000 (09:08 +0000)]
one more +x

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2641 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd a bunch of RCODEs to the lua "pdns" table
Peter van Dijk [Thu, 21 Jun 2012 19:37:14 +0000 (19:37 +0000)]
add a bunch of RCODEs to the lua "pdns" table

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2640 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years ago+x one more regression test
Peter van Dijk [Thu, 21 Jun 2012 13:13:13 +0000 (13:13 +0000)]
+x one more regression test

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2639 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoset C locale for sort in cleandig
Peter van Dijk [Thu, 21 Jun 2012 13:11:52 +0000 (13:11 +0000)]
set C locale for sort in cleandig

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2638 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoset regression test scripts executable
Peter van Dijk [Thu, 21 Jun 2012 13:10:46 +0000 (13:10 +0000)]
set regression test scripts executable

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2637 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoset recursor test scripts executable
Peter van Dijk [Thu, 21 Jun 2012 11:17:33 +0000 (11:17 +0000)]
set recursor test scripts executable

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2636 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoslightly saner regression-tests.recursor sample settings
Peter van Dijk [Wed, 20 Jun 2012 16:31:58 +0000 (16:31 +0000)]
slightly saner regression-tests.recursor sample settings

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2635 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoadd recursor test suite
Peter van Dijk [Wed, 20 Jun 2012 15:37:39 +0000 (15:37 +0000)]
add recursor test suite

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2634 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoprevent recursor from adding a SOA for intermediate steps in a CNAME chain
Peter van Dijk [Wed, 20 Jun 2012 15:32:49 +0000 (15:32 +0000)]
prevent recursor from adding a SOA for intermediate steps in a CNAME chain

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2633 d19b8d6e-7fed-0310-83ef-9ca221ded41b

12 years agoupdate pdns.conf-dist with lua-prequery-script
Peter van Dijk [Wed, 20 Jun 2012 10:25:39 +0000 (10:25 +0000)]
update pdns.conf-dist with lua-prequery-script

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2632 d19b8d6e-7fed-0310-83ef-9ca221ded41b