]> granicus.if.org Git - pdns/log
pdns
12 years agoJustin Clift discovered OSX needs some help to support the new destination sensing...
Bert Hubert [Sun, 7 Oct 2012 13:07:33 +0000 (13:07 +0000)]
Justin Clift discovered OSX needs some help to support the new destination sensing / source selection stuff for IPv6

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

12 years agofix up the mysql client group patch
Bert Hubert [Sat, 6 Oct 2012 19:16:34 +0000 (19:16 +0000)]
fix up the mysql client group patch

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

12 years agoamazing in how many places we define a backend..
Bert Hubert [Sat, 6 Oct 2012 18:30:42 +0000 (18:30 +0000)]
amazing in how many places we define a backend..

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

12 years agochanged version by accident
Bert Hubert [Sat, 6 Oct 2012 18:25:08 +0000 (18:25 +0000)]
changed version by accident

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

12 years agomore vestiges of sqlite2
Bert Hubert [Sat, 6 Oct 2012 18:24:34 +0000 (18:24 +0000)]
more vestiges of sqlite2

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

12 years agovestige of gsqlite (2)
Bert Hubert [Sat, 6 Oct 2012 18:22:30 +0000 (18:22 +0000)]
vestige of gsqlite (2)

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

12 years agosqlite2 backend had been broken for a while now, and it is ancient. bye bye. Closes...
Bert Hubert [Sat, 6 Oct 2012 18:20:35 +0000 (18:20 +0000)]
sqlite2 backend had been broken for a while now, and it is ancient. bye bye. Closes ticket 565.

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

12 years agoMake sure we don't try to do notifications to IPv6 if we have no IPv6 (and vv for...
Bert Hubert [Sat, 6 Oct 2012 11:21:32 +0000 (11:21 +0000)]
Make sure we don't try to do notifications to IPv6 if we have no IPv6 (and vv for IPv4). Closes ticket 515.

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

12 years agodocument gmysql-group
Bert Hubert [Sat, 6 Oct 2012 11:03:14 +0000 (11:03 +0000)]
document gmysql-group

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

12 years agogmysql-client can now be used to select which 'group' we connect as to MySQL. Continu...
Bert Hubert [Sat, 6 Oct 2012 10:58:38 +0000 (10:58 +0000)]
gmysql-client can now be used to select which 'group' we connect as to MySQL. Continues to default to 'client'. Thanks to Kees Monshouwer for contributing this patch, which closes ticket 463.
Please check!

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

12 years agoMake sure that if you deactivate all keys, we'll still show the keys with 'show-zone...
Bert Hubert [Sat, 6 Oct 2012 10:42:46 +0000 (10:42 +0000)]
Make sure that if you deactivate all keys, we'll still show the keys with 'show-zone'. Closes ticket  586 which was so well worded that I'm sure it comes from Marc Haber ;-)

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

12 years agomove (DNSSEC) metadata cache to a read/write lock interface, as suggested in ticket...
Bert Hubert [Sat, 6 Oct 2012 10:20:14 +0000 (10:20 +0000)]
move (DNSSEC) metadata cache to a read/write lock interface, as suggested in ticket 578 by Mark Zealey. We look forward to seeing this benchmarked ;-)

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

12 years ago3.2-pre time!
Bert Hubert [Fri, 5 Oct 2012 18:47:19 +0000 (18:47 +0000)]
3.2-pre time!

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

12 years agoremove linuxism
Bert Hubert [Fri, 5 Oct 2012 13:53:09 +0000 (13:53 +0000)]
remove linuxism

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

12 years agore-commit botan fix from 2720 as 2721 accidentally reverted it
Peter van Dijk [Fri, 5 Oct 2012 13:28:35 +0000 (13:28 +0000)]
re-commit botan fix from 2720 as 2721 accidentally reverted it

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

12 years agoin all likelihood fix compilation with boost in non-standard location
Bert Hubert [Fri, 5 Oct 2012 12:36:48 +0000 (12:36 +0000)]
in all likelihood fix compilation with boost in non-standard location

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

12 years agofinally gave up. You can now bind to 0.0.0.0 or :: and we'll Do The Right Thing at...
Bert Hubert [Fri, 5 Oct 2012 11:39:27 +0000 (11:39 +0000)]
finally gave up. You can now bind to 0.0.0.0 or :: and we'll Do The Right Thing at least on Linux and BSD. Untested on BSD, unknown if this even will work on Solaris.

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

12 years agotinydnsbackend updates: add ignore-bogus-records setting; update tai offset; remove...
Peter van Dijk [Fri, 5 Oct 2012 11:26:00 +0000 (11:26 +0000)]
tinydnsbackend updates: add ignore-bogus-records setting; update tai offset; remove dnslabel dependency; strip dots on names where necessary; minor optimizations (Ruben d'Arco)

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

12 years agoclean up two compiler warnings, thanks Aki Tuomi
Peter van Dijk [Fri, 5 Oct 2012 10:02:09 +0000 (10:02 +0000)]
clean up two compiler warnings, thanks Aki Tuomi

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

12 years agouse $testsdir in a few more places
Peter van Dijk [Fri, 5 Oct 2012 09:31:36 +0000 (09:31 +0000)]
use $testsdir in a few more places

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

12 years agoadd remotebackend test
Peter van Dijk [Fri, 5 Oct 2012 09:17:36 +0000 (09:17 +0000)]
add remotebackend test

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

12 years agoclarify HTTP method usage for remotebackend
Peter van Dijk [Fri, 5 Oct 2012 09:06:02 +0000 (09:06 +0000)]
clarify HTTP method usage for remotebackend

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

12 years agoremove remotebackend README (moved to docs); update remotebackend TODO
Peter van Dijk [Fri, 5 Oct 2012 08:45:42 +0000 (08:45 +0000)]
remove remotebackend README (moved to docs); update remotebackend TODO

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

12 years agoadd initial remotebackend docs
Peter van Dijk [Fri, 5 Oct 2012 08:40:49 +0000 (08:40 +0000)]
add initial remotebackend docs

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

12 years agoadd remotebackend, by Aki Tuomi
Peter van Dijk [Fri, 5 Oct 2012 08:04:59 +0000 (08:04 +0000)]
add remotebackend, by Aki Tuomi

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

12 years agoallow tests to live in separate directory, to allow limited testing of specific backends
Peter van Dijk [Fri, 5 Oct 2012 08:02:06 +0000 (08:02 +0000)]
allow tests to live in separate directory, to allow limited testing of specific backends

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

12 years agobecause we love debian - closes ticket 502
Bert Hubert [Thu, 4 Oct 2012 09:02:32 +0000 (09:02 +0000)]
because we love debian - closes ticket 502

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

12 years agomake polarssl use -fPIC so we can build PIE executables, for better security. Closing...
Bert Hubert [Thu, 4 Oct 2012 08:36:35 +0000 (08:36 +0000)]
make polarssl use -fPIC so we can build PIE executables, for better security. Closing ticket 437, patch from OpenSUSE.

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

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