]> granicus.if.org Git - pdns/log
pdns
13 years agofix skip-cname doc reference
Peter van Dijk [Fri, 23 Sep 2011 10:16:47 +0000 (10:16 +0000)]
fix skip-cname doc reference

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

13 years agoimplement per-zone AXFR ACLs via domainmetadata. Remove per-zone-axfr-acls flag from...
Peter van Dijk [Fri, 23 Sep 2011 09:52:08 +0000 (09:52 +0000)]
implement per-zone AXFR ACLs via domainmetadata. Remove per-zone-axfr-acls flag from config - this feature is not optional!

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

13 years agoTry really hard to not leak FDs to pipebackend children. Resolves #194. Reported...
Peter van Dijk [Thu, 22 Sep 2011 15:17:21 +0000 (15:17 +0000)]
Try really hard to not leak FDs to pipebackend children. Resolves #194. Reported by many people, thanks!

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

13 years agovarious minor fixes from Klaus Darilion, thanks!
Peter van Dijk [Wed, 21 Sep 2011 11:37:49 +0000 (11:37 +0000)]
various minor fixes from Klaus Darilion, thanks!

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

13 years agoclarify/correct cache settings. Reported by Klaus Darilion.
Peter van Dijk [Wed, 21 Sep 2011 11:09:37 +0000 (11:09 +0000)]
clarify/correct cache settings. Reported by Klaus Darilion.

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

13 years agoFix RFC number. Pointed out by Martijn Bakker&Wijnand Modderman.
Peter van Dijk [Tue, 20 Sep 2011 08:49:58 +0000 (08:49 +0000)]
Fix RFC number. Pointed out by Martijn Bakker&Wijnand Modderman.

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

13 years agowebserver=no would still bind the port. Found by Xander Soldaat, thanks!
Peter van Dijk [Mon, 19 Sep 2011 14:22:30 +0000 (14:22 +0000)]
webserver=no would still bind the port. Found by Xander Soldaat, thanks!

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

13 years agodon't truncate altitude in LOC records
Peter van Dijk [Thu, 15 Sep 2011 14:24:35 +0000 (14:24 +0000)]
don't truncate altitude in LOC records

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

13 years agodon't bomb out when a blob of unknown length is the last thing in a DNS packet. Bug...
Peter van Dijk [Thu, 15 Sep 2011 14:09:58 +0000 (14:09 +0000)]
don't bomb out when a blob of unknown length is the last thing in a DNS packet. Bug reported by D.Stussy of Snarked.net.

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

13 years agomake sure pdnssec can operate in situations where the 'default-ttl' configuration...
Bert Hubert [Tue, 13 Sep 2011 11:19:01 +0000 (11:19 +0000)]
make sure pdnssec can operate in situations where the 'default-ttl' configuration setting is required

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

13 years agomake xmlto invocation in docs Makefile portable to non-Debian systems; extend docs...
Peter van Dijk [Mon, 12 Sep 2011 12:48:07 +0000 (12:48 +0000)]
make xmlto invocation in docs Makefile portable to non-Debian systems; extend docs make clean target

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

13 years agoonly use MYSQL_OPT_RECONNECT on sufficiently new MySQL. Fixes ticket 378.
Peter van Dijk [Mon, 12 Sep 2011 10:06:01 +0000 (10:06 +0000)]
only use MYSQL_OPT_RECONNECT on sufficiently new MySQL. Fixes ticket 378.

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

13 years agocorrect Trac urls in documentation; fixes ticket 279
Peter van Dijk [Mon, 12 Sep 2011 09:53:41 +0000 (09:53 +0000)]
correct Trac urls in documentation; fixes ticket 279

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

13 years agorectify whitespace in some regression-tests test descriptions
Peter van Dijk [Mon, 12 Sep 2011 06:23:26 +0000 (06:23 +0000)]
rectify whitespace in some regression-tests test descriptions

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

13 years agoDisable URL and MBOXFW lines in regression-testing BIND zone. Add --no-config suggest...
Peter van Dijk [Fri, 9 Sep 2011 15:21:46 +0000 (15:21 +0000)]
Disable URL and MBOXFW lines in regression-testing BIND zone. Add --no-config suggestion for pdns_server during regression testing.

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

13 years agoActually pick up inet_pton errors in parsing AAAA content. Correct spurious insertion...
Peter van Dijk [Fri, 9 Sep 2011 14:55:52 +0000 (14:55 +0000)]
Actually pick up inet_pton errors in parsing AAAA content. Correct spurious insertion of space in pipebackend for abiversion 3. Together, these fixes make AAAA records possible in v3 pipe backends.

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

13 years agominor fix for VERBOSELOG compilation
Peter van Dijk [Fri, 9 Sep 2011 14:10:45 +0000 (14:10 +0000)]
minor fix for VERBOSELOG compilation

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

13 years agofix edns-subnet processing for subnets smaller than /25 (v4) or /121 (v6). Reported...
Peter van Dijk [Wed, 7 Sep 2011 11:44:05 +0000 (11:44 +0000)]
fix edns-subnet processing for subnets smaller than /25 (v4) or /121 (v6). Reported by Paul Xek, thanks!

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

13 years agoChristof Meerwald spotted that our tarfile missed a luabackend file. Fixed.
Bert Hubert [Sun, 4 Sep 2011 18:17:24 +0000 (18:17 +0000)]
Christof Meerwald spotted that our tarfile missed a luabackend file. Fixed.

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

13 years agoclarify dnsbulktest syntax
Peter van Dijk [Fri, 2 Sep 2011 11:12:15 +0000 (11:12 +0000)]
clarify dnsbulktest syntax

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

13 years agofix speedtest and dnsbulktest build by adding std:: namespace where relevant
Peter van Dijk [Fri, 2 Sep 2011 09:34:28 +0000 (09:34 +0000)]
fix speedtest and dnsbulktest build by adding std:: namespace where relevant

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

13 years agoclarify pipebackend v3 purpose
Peter van Dijk [Thu, 1 Sep 2011 06:42:51 +0000 (06:42 +0000)]
clarify pipebackend v3 purpose

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

13 years agospotted by Winfried Angele, we launched a whole new set of backend connections per...
Bert Hubert [Tue, 23 Aug 2011 09:13:46 +0000 (09:13 +0000)]
spotted by Winfried Angele, we launched a whole new set of backend connections per BIND zone loaded!

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

13 years agoupdate documentation to svn
Bert Hubert [Thu, 4 Aug 2011 14:37:34 +0000 (14:37 +0000)]
update documentation to svn

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

13 years agoJasper Spaans noted that Debian 'Squeeze' was not happy with our init.d script. This...
Bert Hubert [Mon, 1 Aug 2011 21:26:42 +0000 (21:26 +0000)]
Jasper Spaans noted that Debian 'Squeeze' was not happy with our init.d script. This patch from him fixes it.

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

13 years agotest correct aa-bit on AAAA query for the name of the one of the NS records
Bert Hubert [Mon, 25 Jul 2011 19:19:45 +0000 (19:19 +0000)]
test correct aa-bit on AAAA query for the name of the one of the NS records

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

13 years agomove edns-subnet option from 6 to the codepoint in production, 0x50fa, plus make...
Bert Hubert [Fri, 22 Jul 2011 10:53:00 +0000 (10:53 +0000)]
move edns-subnet option from 6 to the codepoint in production, 0x50fa, plus make this configurable

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

13 years agodrop mandatory IPv6, easing use on Virtuozo and other sorta virtualized solutions
Bert Hubert [Fri, 22 Jul 2011 07:49:38 +0000 (07:49 +0000)]
drop mandatory IPv6, easing use on Virtuozo and other sorta virtualized solutions

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

13 years agoturns out we no longer HAVE chomp() in the source, only in the header files
Bert Hubert [Wed, 20 Jul 2011 17:15:00 +0000 (17:15 +0000)]
turns out we no longer HAVE chomp() in the source, only in the header files

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

13 years agoremove 1024 character line limit from pipepackend, issue spotted by 'daethnir'
Bert Hubert [Wed, 20 Jul 2011 16:11:08 +0000 (16:11 +0000)]
remove 1024 character line limit from pipepackend, issue spotted by 'daethnir'

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

13 years agomake sure that pdnssec also defines the pipebackend-abi-version
Bert Hubert [Tue, 19 Jul 2011 15:01:51 +0000 (15:01 +0000)]
make sure that pdnssec also defines the pipebackend-abi-version

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

13 years agoat least svn will call itself '3.0' now
Bert Hubert [Tue, 19 Jul 2011 13:28:30 +0000 (13:28 +0000)]
at least svn will call itself '3.0' now

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

13 years agoadd lua backend to the debs, currently only part of the rpms, unsure why
Bert Hubert [Tue, 19 Jul 2011 13:27:25 +0000 (13:27 +0000)]
add lua backend to the debs, currently only part of the rpms, unsure why

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

13 years agodocumentation changelog
Bert Hubert [Tue, 19 Jul 2011 13:26:00 +0000 (13:26 +0000)]
documentation changelog

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

13 years agoupdates for the Lua backend from fredrik danerklint
Bert Hubert [Tue, 19 Jul 2011 13:23:42 +0000 (13:23 +0000)]
updates for the Lua backend from fredrik danerklint

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

13 years agotweak to pipe abi version 3: add 'auth' field after 'bits'
Bert Hubert [Tue, 19 Jul 2011 08:28:13 +0000 (08:28 +0000)]
tweak to pipe abi version 3: add 'auth' field after 'bits'

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

13 years agofix up compilation error on some debian 32 bit platforms
Bert Hubert [Fri, 15 Jul 2011 07:53:35 +0000 (07:53 +0000)]
fix up compilation error on some debian 32 bit platforms

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

13 years agorc3, which will hopefully be the real thing
Bert Hubert [Fri, 15 Jul 2011 07:23:12 +0000 (07:23 +0000)]
rc3, which will hopefully be the real thing

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

13 years agodocumentation updates
Bert Hubert [Fri, 15 Jul 2011 07:19:47 +0000 (07:19 +0000)]
documentation updates

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

13 years agovery simpleminded ldap reconnect fix
Bert Hubert [Thu, 14 Jul 2011 18:42:05 +0000 (18:42 +0000)]
very simpleminded ldap reconnect fix

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

13 years agoimplement luxurious restarting of tripped postgresql connections (fe after pgsql...
Bert Hubert [Thu, 14 Jul 2011 14:43:03 +0000 (14:43 +0000)]
implement luxurious restarting of tripped postgresql connections (fe after pgsql restart), addressing ticket 374. Additional debugging by Peter van Dijk.

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

13 years agoadd pipebackend protocol version '3' & sample backend: allow for specification of...
Bert Hubert [Mon, 11 Jul 2011 07:26:48 +0000 (07:26 +0000)]
add pipebackend protocol version '3' & sample backend: allow for specification of scope netmask in answer, plus receive 'real' source netmask with question

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

13 years agosilence a warning from perl-based pipe backends about SIGCHLD
Bert Hubert [Mon, 11 Jul 2011 07:25:52 +0000 (07:25 +0000)]
silence a warning from perl-based pipe backends about SIGCHLD

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

13 years agoadd edns-subnet parsing, plus some testing code in 'toysdig'. Off by default, turn...
Bert Hubert [Mon, 11 Jul 2011 07:25:27 +0000 (07:25 +0000)]
add edns-subnet parsing, plus some testing code in 'toysdig'. Off by default, turn on with 'edns-subnet-processing'

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

13 years agorename DNSPacket::remote to DNSPacket::d_remote
Bert Hubert [Sun, 10 Jul 2011 10:14:12 +0000 (10:14 +0000)]
rename DNSPacket::remote to DNSPacket::d_remote

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

13 years agoadd some trimmings to the Netmask class for edns-subnet
Bert Hubert [Sun, 10 Jul 2011 10:08:29 +0000 (10:08 +0000)]
add some trimmings to the Netmask class for edns-subnet

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

13 years agoadd the edns subnet parsing code
Bert Hubert [Sat, 9 Jul 2011 20:21:22 +0000 (20:21 +0000)]
add the edns subnet parsing code

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

13 years agonot quite sure what this is, something to do with crlf I think - pls ignore
Bert Hubert [Sat, 9 Jul 2011 20:20:34 +0000 (20:20 +0000)]
not quite sure what this is, something to do with crlf I think - pls ignore

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

13 years agofix bug where printing a netmask would not work correctly, plus prepare netmask for...
Bert Hubert [Sat, 9 Jul 2011 10:05:45 +0000 (10:05 +0000)]
fix bug where printing a netmask would not work correctly, plus prepare netmask for edns-client-subnet use

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

13 years agoticket 371 discovered we set domain_id to default null instead of not null in cryptok...
Bert Hubert [Thu, 7 Jul 2011 18:58:56 +0000 (18:58 +0000)]
ticket 371 discovered we set domain_id to default null instead of not null in cryptokeys. Found by Gerald Gruenberg.

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

13 years agogive up and bring our 'out-of-bailiwick' CNAME handling exactly in line with what...
Bert Hubert [Thu, 7 Jul 2011 14:38:35 +0000 (14:38 +0000)]
give up and bring our 'out-of-bailiwick' CNAME handling exactly in line with what BIND 9.8.0 does.

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

13 years agomove sqlite3 detection of libs and include flags to pkg-config to accomodate newer...
Bert Hubert [Thu, 7 Jul 2011 14:13:02 +0000 (14:13 +0000)]
move sqlite3 detection of libs and include flags to pkg-config to accomodate newer ubuntus

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

13 years agoin 2.9.22 we dropped aa on out of bailiwick cname, in 3.0 we stopped doing that but...
Bert Hubert [Thu, 30 Jun 2011 13:32:30 +0000 (13:32 +0000)]
in 2.9.22 we dropped aa on out of bailiwick cname, in 3.0 we stopped doing that but it breaks things. Spotted by 'j4son'.

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

13 years agosomeone anonymous contributed this patch, thanks!
Bert Hubert [Wed, 29 Jun 2011 08:12:52 +0000 (08:12 +0000)]
someone anonymous contributed this patch, thanks!

- Fix up spelling mistake - remove keys when using disable-dnssec - Fix
- formatting of help - Do better checking of arguments given to commands -
- When adding a key don't activate it initially.

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

13 years agodocumentation updates from Maik Zumstrull
Bert Hubert [Tue, 28 Jun 2011 18:30:09 +0000 (18:30 +0000)]
documentation updates from Maik Zumstrull

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

13 years agoexport control notes (no worries)
Bert Hubert [Sat, 25 Jun 2011 12:16:33 +0000 (12:16 +0000)]
export control notes (no worries)

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

13 years agoby suggestion of Miek Gieben, add 'EPOCH' SOA-EDIT possibility when operating as...
Bert Hubert [Thu, 23 Jun 2011 12:35:42 +0000 (12:35 +0000)]
by suggestion of Miek Gieben, add 'EPOCH' SOA-EDIT possibility when operating as signing-master/slave

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

14 years agovery simple DoS database bypass whereby powerdns becomes packetcache only when the...
Bert Hubert [Sun, 19 Jun 2011 22:04:55 +0000 (22:04 +0000)]
very simple DoS database bypass whereby powerdns becomes packetcache only when the database gets overloaded.
enable by setting overload-queue-length to a non-zero value (like maybe 100)

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

14 years agoactually implement disable-dnssec for a zone, lack spotted by Craig Whitmore, plus...
Bert Hubert [Tue, 14 Jun 2011 09:32:29 +0000 (09:32 +0000)]
actually implement disable-dnssec for a zone, lack spotted by Craig Whitmore, plus fix up --help error & some tab damage

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

14 years agochristopher meerwald discovered we sign a SOA record *before* we edit it for possible...
Bert Hubert [Sun, 12 Jun 2011 15:47:13 +0000 (15:47 +0000)]
christopher meerwald discovered we sign a SOA record *before* we edit it for possible serial updates from Lua ;-)

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

14 years agoChristoph Meerwald discovered we do not parse EDNS options on TSIG-signed questions...
Bert Hubert [Thu, 9 Jun 2011 21:18:10 +0000 (21:18 +0000)]
Christoph Meerwald discovered we do not parse EDNS options on TSIG-signed questions, since we expect the OPT record to be the last one.

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

14 years agoforgot to commit the .hh change
Bert Hubert [Thu, 9 Jun 2011 19:42:09 +0000 (19:42 +0000)]
forgot to commit the .hh change

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

14 years agothis might fix up mongodb compilation on various platforms
Bert Hubert [Thu, 9 Jun 2011 19:33:14 +0000 (19:33 +0000)]
this might fix up mongodb compilation on various platforms

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

14 years agofix corner case where the packetcache might div up the wrong answer if there was...
Bert Hubert [Thu, 9 Jun 2011 17:29:38 +0000 (17:29 +0000)]
fix corner case where the packetcache might div up the wrong answer if there was a question of identical length under some circumstances - has not been observed

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

14 years agoadd some sanity checking to the dnsproxy for recursion handoff
Bert Hubert [Thu, 9 Jun 2011 17:22:09 +0000 (17:22 +0000)]
add some sanity checking to the dnsproxy for recursion handoff

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

14 years agoChristoph Meerwald discovered that our 'SOA freshness checking' actually also looked...
Bert Hubert [Thu, 9 Jun 2011 13:14:28 +0000 (13:14 +0000)]
Christoph Meerwald discovered that our 'SOA freshness checking' actually also looked at the freshness of non-SOA responses.

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

14 years agoadd Lua backend, add to tar.gz, .deb and rpm
Bert Hubert [Sun, 5 Jun 2011 18:27:45 +0000 (18:27 +0000)]
add Lua backend, add to tar.gz, .deb and rpm

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

14 years agotemporary fix for ticket 356 about binary data in TXT records
Bert Hubert [Fri, 3 Jun 2011 15:49:06 +0000 (15:49 +0000)]
temporary fix for ticket 356 about binary data in TXT records

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

14 years agomake sure we adjust the SOA record even in ANY queries. Spotted by Marc Laros & other...
Bert Hubert [Fri, 3 Jun 2011 15:11:04 +0000 (15:11 +0000)]
make sure we adjust the SOA record even in ANY queries. Spotted by Marc Laros & others. Closes ticket 357.

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

14 years agoclose ticket 355, pdnssec manual 'hash-zone-record' emitted inverted warning for...
Bert Hubert [Fri, 3 Jun 2011 14:11:56 +0000 (14:11 +0000)]
close ticket 355, pdnssec manual 'hash-zone-record' emitted inverted warning for narrow hashed zones, thanks to jan piet mens for discovering this.
Plus fix mis-testing of TXT records in test-zone.

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

14 years agoRuben van Staveren fixed our failure to detect libraries in lib64 on certain platform...
Bert Hubert [Fri, 3 Jun 2011 11:22:52 +0000 (11:22 +0000)]
Ruben van Staveren fixed our failure to detect libraries in lib64 on certain platforms for gsqlite3 and gpgsqlite, thanks!

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

14 years agolatest revision of the mongodb backend
Bert Hubert [Sun, 29 May 2011 19:19:58 +0000 (19:19 +0000)]
latest revision of the mongodb backend

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

14 years agoLike many others, Charles Sprickman discovered powerdns gsqlite3 needs write access...
Bert Hubert [Sun, 29 May 2011 08:09:28 +0000 (08:09 +0000)]
Like many others, Charles Sprickman discovered powerdns gsqlite3 needs write access to the directory containing the sqlite3 database. There was no useful error reporting if this was wrong. This commit fixes the problem.

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

14 years agofix up compilation of dnsscope
Bert Hubert [Sun, 29 May 2011 08:08:16 +0000 (08:08 +0000)]
fix up compilation of dnsscope

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

14 years agomake dnsgram typename output a bit more useful
Bert Hubert [Sun, 29 May 2011 08:07:59 +0000 (08:07 +0000)]
make dnsgram typename output a bit more useful

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

14 years agofix up mysql & sqlite3 version checking for ancient CentOS 5 versions
Bert Hubert [Mon, 23 May 2011 19:12:22 +0000 (19:12 +0000)]
fix up mysql & sqlite3 version checking for ancient CentOS 5 versions

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

14 years agoease compilation against older mysql libraries
Bert Hubert [Mon, 23 May 2011 17:27:52 +0000 (17:27 +0000)]
ease compilation against older mysql libraries

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

14 years agoimprove 'should not happen' error message to ease replication of that which should...
Bert Hubert [Mon, 16 May 2011 13:56:28 +0000 (13:56 +0000)]
improve 'should not happen' error message to ease replication of that which should not happen ;-)

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

14 years agoCharlie Smurthwaite found yet another case where we ask a non-DNSSEC backend DNSSEC...
Bert Hubert [Mon, 16 May 2011 13:43:50 +0000 (13:43 +0000)]
Charlie Smurthwaite found yet another case where we ask a non-DNSSEC backend DNSSEC questions

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

14 years agofix up error message on being unable to find a certain gid or uid, closing ticket...
Bert Hubert [Sun, 15 May 2011 19:29:58 +0000 (19:29 +0000)]
fix up error message on being unable to find a certain gid or uid, closing ticket 359.

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

14 years agoclose ticket 360, which caused crashes for DNSSEC queries with non-DNSSEC capable...
Bert Hubert [Sun, 15 May 2011 19:02:29 +0000 (19:02 +0000)]
close ticket 360, which caused crashes for DNSSEC queries with non-DNSSEC capable backends.

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

14 years agochristian hofstaedtler fixed ticket 313 in the LDAP backend.
Bert Hubert [Sat, 14 May 2011 19:06:27 +0000 (19:06 +0000)]
christian hofstaedtler fixed ticket 313 in the LDAP backend.

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

14 years agothank our GLORIOUS sponsors ;-) Plus update the FAQ.
Bert Hubert [Sat, 14 May 2011 12:30:22 +0000 (12:30 +0000)]
thank our GLORIOUS sponsors ;-) Plus update the FAQ.

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

14 years agomake sure we can also use an IPv6 recursor backend
Bert Hubert [Mon, 9 May 2011 13:42:01 +0000 (13:42 +0000)]
make sure we can also use an IPv6 recursor backend

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

14 years agofix crash reported by Marc Laros when using a non-DNSSEC capable backend. Should...
Bert Hubert [Mon, 9 May 2011 08:11:35 +0000 (08:11 +0000)]
fix crash reported by Marc Laros when using a non-DNSSEC capable backend. Should also improve non-DNSSEC performance.

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

14 years agoJohn Leach discovered our MySQL based backends would wait for ages on a failing MySQL...
Bert Hubert [Sun, 1 May 2011 20:28:05 +0000 (20:28 +0000)]
John Leach discovered our MySQL based backends would wait for ages on a failing MySQL server.
This patch he contributed reduces the timeout significantly, which is especially useful with haproxy and mysqlproxy.

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

14 years agook, decided to just ignore SOA NXDOMAIN records that are outside the scope of what...
Bert Hubert [Fri, 29 Apr 2011 06:49:30 +0000 (06:49 +0000)]
ok, decided to just ignore SOA NXDOMAIN records that are outside the scope of what was asked for..

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

14 years agofix up postgresql tests, plus write out status of dnssec tests to the report
Bert Hubert [Wed, 27 Apr 2011 19:54:00 +0000 (19:54 +0000)]
fix up postgresql tests, plus write out status of dnssec tests to the report

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

14 years agoadd postgresql to the automated regression tests
Bert Hubert [Wed, 27 Apr 2011 19:22:37 +0000 (19:22 +0000)]
add postgresql to the automated regression tests

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

14 years agopgsql schema for regression testing
Bert Hubert [Wed, 27 Apr 2011 19:19:26 +0000 (19:19 +0000)]
pgsql schema for regression testing

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

14 years agoStef Van Dessel told me that this was a good idea, and that it would work.
Bert Hubert [Wed, 27 Apr 2011 18:48:48 +0000 (18:48 +0000)]
Stef Van Dessel told me that this was a good idea, and that it would work.

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

14 years agoDS records really are always auth=1. Warty.
Bert Hubert [Wed, 27 Apr 2011 15:39:53 +0000 (15:39 +0000)]
DS records really are always auth=1. Warty.

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

14 years agoadd very basic test of correct DNSSEC signing & verification using ldns/drill to...
Bert Hubert [Wed, 27 Apr 2011 14:41:42 +0000 (14:41 +0000)]
add very basic test of correct DNSSEC signing & verification using ldns/drill to regression tests

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

14 years agofix up followup bug - we get two ANY queries in very short succession for *different...
Bert Hubert [Wed, 27 Apr 2011 08:53:14 +0000 (08:53 +0000)]
fix up followup bug - we get two ANY queries in very short succession for *different* zones. Turned out that the query
cache had some missing code to deal with this.

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

14 years agospecial case DS queries when delegating to ourselves. We now never pick a SOA APEX...
Bert Hubert [Wed, 27 Apr 2011 08:52:13 +0000 (08:52 +0000)]
special case DS queries when delegating to ourselves. We now never pick a SOA APEX equal to the DS name queried for as the authoritative zone.

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

14 years agocreate two dnssec enabled zones during regression testing and insert the DS record...
Bert Hubert [Wed, 27 Apr 2011 08:49:30 +0000 (08:49 +0000)]
create two dnssec enabled zones during regression testing and insert the DS record in the parent, so we can debug 'delegation to ourselves' issues

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

14 years agoadd dnssec enables zones to the regression test
Bert Hubert [Wed, 27 Apr 2011 08:48:42 +0000 (08:48 +0000)]
add dnssec enables zones to the regression test

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

14 years agoJames Cloos discovered "pdnssec check-zone" failed to properly check SRV records...
Bert Hubert [Sat, 23 Apr 2011 07:51:44 +0000 (07:51 +0000)]
James Cloos discovered "pdnssec check-zone" failed to properly check SRV records. Fixed, plus added check-zone to the regression tests, which should both keep pdnssec and the powerdns core in line!

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

14 years agodue to a previous cleanup, we were storing empty recursive answers in the packet...
Bert Hubert [Tue, 19 Apr 2011 19:55:30 +0000 (19:55 +0000)]
due to a previous cleanup, we were storing empty recursive answers in the packet cache. Spotted by Steve Bauer.

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

14 years agosilence warnings from autogenerated ragel code about variables not being used
Bert Hubert [Tue, 19 Apr 2011 13:31:46 +0000 (13:31 +0000)]
silence warnings from autogenerated ragel code about variables not being used
silence warning caused by boost::optional, after much reminding by Serge Belyshev ;-)
powerdns auth 3.0 now compiles w/o warnings with -Wall

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