]>
granicus.if.org Git - pdns/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Bert Hubert [Tue, 19 Apr 2011 12:27:39 +0000 (12:27 +0000)]
address ticket 353 - lua generated incoming AXFR records weren't 'ordered' for DNSSEC.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2174
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 19 Apr 2011 12:26:42 +0000 (12:26 +0000)]
release notes of RC2
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2173
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 19 Apr 2011 07:50:35 +0000 (07:50 +0000)]
automated regression tests
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2172
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 19 Apr 2011 07:43:39 +0000 (07:43 +0000)]
mark two regression tests as 'skip' (fancy records)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2171
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 19 Apr 2011 07:42:53 +0000 (07:42 +0000)]
don't drop aa on a cname out of bailiwick
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2170
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 19 Apr 2011 07:42:32 +0000 (07:42 +0000)]
more docs + faq
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2169
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 18 Apr 2011 19:36:52 +0000 (19:36 +0000)]
SDIG IS CASE SENSITIVE
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2168
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 18 Apr 2011 18:47:33 +0000 (18:47 +0000)]
fix two sqlite bugs within zone2sql
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2167
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 18 Apr 2011 18:06:48 +0000 (18:06 +0000)]
add sqlite3 schema for the automated regression testing
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2166
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 16 Apr 2011 19:16:08 +0000 (19:16 +0000)]
rc1 -> rc2, this is not the release yet I think, but it could be
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2165
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 16 Apr 2011 19:11:45 +0000 (19:11 +0000)]
mongo docs
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2164
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 14 Apr 2011 18:12:12 +0000 (18:12 +0000)]
add mongodb to the tar.gz
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2163
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 14 Apr 2011 17:51:04 +0000 (17:51 +0000)]
fredrik danerklint contributed a MongoDB Backend! Will be marked as 'experimental' for 3.0. So far does not autodetect
where mongodb is located, defaults to /opt/mongo.
This commit also eases compilation of the MySQL backend on CentOS 64 bits.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2162
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 13 Apr 2011 08:36:02 +0000 (08:36 +0000)]
Early implementation of TLSA as described in draft-ietf-dane-protocol-06 using the provisional code point 65468
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2161
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 19:30:09 +0000 (19:30 +0000)]
we were converting to a human readable form of IPv6 addresses based on an unzeroed struct inaddr6. Very weird problem spotted by Brielle Bruns (Ascii ending up in IPv6 addresses)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2160
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 16:26:21 +0000 (16:26 +0000)]
when we verify an incoming AXFR TSIG, use *their* timestamp and not ours. All our test servers run their clocks too well it appears, so we never noticed ;-)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2159
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 16:22:39 +0000 (16:22 +0000)]
add AXFR testing to tsig-tests
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2158
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 16:22:06 +0000 (16:22 +0000)]
make sure we never use the random generator uninitialized! abort() if we do
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2157
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 16:18:56 +0000 (16:18 +0000)]
when the year 2106 comes to TSIG, dnswriter.cc will be ready for it!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2156
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 16:18:11 +0000 (16:18 +0000)]
3.4pre
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2155
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 16:17:56 +0000 (16:17 +0000)]
the next version of the recursor will be 3.4
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2154
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 09:30:35 +0000 (09:30 +0000)]
allow DNSSECKeeper to share a database connection on construction. Use this new feature to silence the 'every minute' new database connection!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2153
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 09:28:05 +0000 (09:28 +0000)]
and now we remove the unused variable ;-)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2152
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 12 Apr 2011 09:27:38 +0000 (09:27 +0000)]
remove some whitespace, remove an unused but confusing variable
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2151
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 11 Apr 2011 16:06:41 +0000 (16:06 +0000)]
even TCP answers can only be 65535 bytes long! Plus, we misinterpreted the EDNS0 maximum reply length limit.
Spotted by Thor Spruyt.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2150
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 11 Apr 2011 08:36:34 +0000 (08:36 +0000)]
improve error message when checking remote master for freshness - now include rcode
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2149
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 9 Apr 2011 18:29:01 +0000 (18:29 +0000)]
sligthly improve error messages on checking the TSIG signatures on incoming zone transfers
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2148
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 9 Apr 2011 09:39:51 +0000 (09:39 +0000)]
add missing ntohs to outgoing SOA freshness check TSIG calculation. Spotted by jp_mens
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2147
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 9 Apr 2011 09:19:03 +0000 (09:19 +0000)]
add some spaces in the docs so RFC1234 does not get interpreted as changeset 1234
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2146
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 5 Apr 2011 08:01:34 +0000 (08:01 +0000)]
fix up the PowerDNS PowerDNSbackend (mostly for internal use) - set the TTL on SOA records correctly.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2145
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 5 Apr 2011 07:41:26 +0000 (07:41 +0000)]
Kees Monshouwer discovered that RHEL only ships libpq.so and not .a.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2144
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 13:36:48 +0000 (13:36 +0000)]
dependency hints
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2143
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 13:18:52 +0000 (13:18 +0000)]
silence some warning about not checking return value of write() to console. Thanks to Giel & ssb for nagging about this ;-)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2142
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 12:34:09 +0000 (12:34 +0000)]
work around a bug in boost on debian Lenny (include guards probably)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2141
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 12:05:18 +0000 (12:05 +0000)]
silence further debugging, move 'every query output' behind 'log-dns-queries' (which defaults to off), plus add some more documentation on 3.0
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2140
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 11:38:15 +0000 (11:38 +0000)]
update MySQL schema so it is compatible with 5.5, closing ticket 342 by Jeff Palmer.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2139
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 11:06:49 +0000 (11:06 +0000)]
give some props to the powerdns community
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2138
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 08:49:13 +0000 (08:49 +0000)]
improved release notes plus added chapter on the 2.9.x -> 3.0 migration
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2137
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 4 Apr 2011 08:29:47 +0000 (08:29 +0000)]
more properaly fake the 'auth' status of data in unmigrated non-dnsssec backends, again discovered by Frank Altpeter
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2136
d19b8d6e -7fed-0310-83ef-
9ca221ded41b