]> granicus.if.org Git - pdns/log
pdns
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

14 years agoaddress ticket 353 - lua generated incoming AXFR records weren't 'ordered' for DNSSEC.
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

14 years agorelease notes of RC2
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

14 years agoautomated regression tests
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

14 years agomark two regression tests as 'skip' (fancy records)
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

14 years agodon't drop aa on a cname out of bailiwick
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

14 years agomore docs + faq
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

14 years agoSDIG IS CASE SENSITIVE
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

14 years agofix two sqlite bugs within zone2sql
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

14 years agoadd sqlite3 schema for the automated regression testing
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

14 years agorc1 -> rc2, this is not the release yet I think, but it could be
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

14 years agomongo docs
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

14 years agoadd mongodb to the tar.gz
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

14 years agofredrik danerklint contributed a MongoDB Backend! Will be marked as 'experimental...
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

14 years agoEarly implementation of TLSA as described in draft-ietf-dane-protocol-06 using the...
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

14 years agowe were converting to a human readable form of IPv6 addresses based on an unzeroed...
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

14 years agowhen we verify an incoming AXFR TSIG, use *their* timestamp and not ours. All our...
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

14 years agoadd AXFR testing to tsig-tests
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

14 years agomake sure we never use the random generator uninitialized! abort() if we do
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

14 years agowhen the year 2106 comes to TSIG, dnswriter.cc will be ready for it!
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

14 years ago3.4pre
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

14 years agothe next version of the recursor will be 3.4
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

14 years agoallow DNSSECKeeper to share a database connection on construction. Use this new featu...
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

14 years agoand now we remove the unused variable ;-)
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

14 years agoremove some whitespace, remove an unused but confusing variable
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

14 years agoeven TCP answers can only be 65535 bytes long! Plus, we misinterpreted the EDNS0...
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

14 years agoimprove error message when checking remote master for freshness - now include rcode
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

14 years agosligthly improve error messages on checking the TSIG signatures on incoming zone...
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

14 years agoadd missing ntohs to outgoing SOA freshness check TSIG calculation. Spotted by jp_mens
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

14 years agoadd some spaces in the docs so RFC1234 does not get interpreted as changeset 1234
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

14 years agofix up the PowerDNS PowerDNSbackend (mostly for internal use) - set the TTL on SOA...
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

14 years agoKees Monshouwer discovered that RHEL only ships libpq.so and not .a.
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

14 years agodependency hints
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

14 years agosilence some warning about not checking return value of write() to console. Thanks...
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

14 years agowork around a bug in boost on debian Lenny (include guards probably)
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

14 years agosilence further debugging, move 'every query output' behind 'log-dns-queries' (which...
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

14 years agoupdate MySQL schema so it is compatible with 5.5, closing ticket 342 by Jeff Palmer.
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

14 years agogive some props to the powerdns community
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

14 years agoimproved release notes plus added chapter on the 2.9.x -> 3.0 migration
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

14 years agomore properaly fake the 'auth' status of data in unmigrated non-dnsssec backends...
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

14 years agoadd two more regression tests, for the A record at the apex when there is one and...
Bert Hubert [Mon, 4 Apr 2011 08:21:55 +0000 (08:21 +0000)]
add two more regression tests, for the A record at the apex when there is one and when there is not one

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

14 years agofound one final instance of using namespace boost in the pipe backend
Bert Hubert [Mon, 4 Apr 2011 07:51:32 +0000 (07:51 +0000)]
found one final instance of using namespace boost in the pipe backend

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

14 years agomore global removes of using namespace boost;
Bert Hubert [Mon, 4 Apr 2011 07:43:03 +0000 (07:43 +0000)]
more global removes of using namespace boost;

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

14 years agoMatt Smith found another instance of using namespace boost which caused problems...
Bert Hubert [Mon, 4 Apr 2011 07:38:37 +0000 (07:38 +0000)]
Matt Smith found another instance of using namespace boost which caused problems for him.

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

14 years agoMatt Smith found a remaining 'using namespace boost;' which caused problems for him...
Bert Hubert [Mon, 4 Apr 2011 07:24:09 +0000 (07:24 +0000)]
Matt Smith found a remaining 'using namespace boost;' which caused problems for him. Removed.

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

14 years agoby popular demand, secure-zone now also rectifies it!
Bert Hubert [Mon, 4 Apr 2011 07:04:24 +0000 (07:04 +0000)]
by popular demand, secure-zone now also rectifies it!

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

14 years agowhen removing NSEC3 settings, also remove the NARROW setting. Closes ticket 347,...
Bert Hubert [Mon, 4 Apr 2011 07:03:45 +0000 (07:03 +0000)]
when removing NSEC3 settings, also remove the NARROW setting. Closes ticket 347, which also included patch. I think this was
by Jose Arthur Benetasso Villanova

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

14 years agomake sure that we do outgoing SOA freshness queries TSIG signed if a TSIG was defined...
Bert Hubert [Sun, 3 Apr 2011 20:55:02 +0000 (20:55 +0000)]
make sure that we do outgoing SOA freshness queries TSIG signed if a TSIG was defined for AXFR-ing that domain
plus fix typo in TSIG method name, plus some comments

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

14 years agofix up processing of notification acknowledgements, be liberal in how we accept them...
Bert Hubert [Sun, 3 Apr 2011 20:09:55 +0000 (20:09 +0000)]
fix up processing of notification acknowledgements, be liberal in how we accept them (no need to match up the port number)

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

14 years agorecent cleanup made us generate a response packet *before* determining if it should...
Bert Hubert [Sun, 3 Apr 2011 20:02:19 +0000 (20:02 +0000)]
recent cleanup made us generate a response packet *before* determining if it should contain a TSIG signature, which made us not do so

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

14 years agomessed up the debian version number
Bert Hubert [Sun, 3 Apr 2011 15:35:30 +0000 (15:35 +0000)]
messed up the debian version number

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

14 years agoimprove some notification logging messages to include port numbers
Bert Hubert [Sun, 3 Apr 2011 15:24:43 +0000 (15:24 +0000)]
improve some notification logging messages to include port numbers

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

14 years agoremove some further unaligned memory accesses in powerdns recursor
Bert Hubert [Sun, 3 Apr 2011 15:23:15 +0000 (15:23 +0000)]
remove some further unaligned memory accesses in powerdns recursor

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

14 years agoremove some unaligned memory accesses in recursor packet cache
Bert Hubert [Sun, 3 Apr 2011 15:22:26 +0000 (15:22 +0000)]
remove some unaligned memory accesses in recursor packet cache

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

14 years agomake sure polarssl has distclean (Maik)
Bert Hubert [Sun, 3 Apr 2011 15:20:46 +0000 (15:20 +0000)]
make sure polarssl has distclean (Maik)

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

14 years agochange version to rc1 (still only preparation, but the packages build correctly now)
Bert Hubert [Sun, 3 Apr 2011 15:20:14 +0000 (15:20 +0000)]
change version to rc1 (still only preparation, but the packages build correctly now)

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

14 years agoAGAIN, PAY ATTENTION! SOMEONE WROTE DOCUMENTATION!! Thanks Maik for documenting the...
Bert Hubert [Sun, 3 Apr 2011 15:17:45 +0000 (15:17 +0000)]
AGAIN, PAY ATTENTION! SOMEONE WROTE DOCUMENTATION!! Thanks Maik for documenting the new & powerful OracleBackend!
plus, deprecate fancy records & mark ldap backend as unmaintained.

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

14 years agosync oracle backend code
Bert Hubert [Sun, 3 Apr 2011 15:15:55 +0000 (15:15 +0000)]
sync oracle backend code

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

14 years agosilence a lot of debugging
Bert Hubert [Sat, 2 Apr 2011 09:57:55 +0000 (09:57 +0000)]
silence a lot of debugging

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

14 years agoadd remaining changelog items to documentation
Bert Hubert [Sat, 2 Apr 2011 09:52:32 +0000 (09:52 +0000)]
add remaining changelog items to documentation

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

14 years agoadd test for correct return of NS at zone apex
Bert Hubert [Sat, 2 Apr 2011 09:43:04 +0000 (09:43 +0000)]
add test for correct return of NS at zone apex

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

14 years agofix Frank Altpeter's discovery that delegations don't work well in non-DNSSEC mode...
Bert Hubert [Sat, 2 Apr 2011 07:32:27 +0000 (07:32 +0000)]
fix Frank Altpeter's discovery that delegations don't work well in non-DNSSEC mode. See this as an incentive to run in DNSSEC mode ;)

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

14 years agothank you powerdns posse for paying attention ;-)
Bert Hubert [Fri, 1 Apr 2011 21:45:51 +0000 (21:45 +0000)]
thank you powerdns posse for paying attention ;-)

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

14 years agoadd regression test for 'query for a wildcard record of a different type', plus fix...
Bert Hubert [Fri, 1 Apr 2011 21:13:33 +0000 (21:13 +0000)]
add regression test for 'query for a wildcard record of a different type', plus fix the bug that that test found

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

14 years agoadd regression tests for a wildcard query that matches the wildcard, plus an ANY...
Bert Hubert [Fri, 1 Apr 2011 20:54:50 +0000 (20:54 +0000)]
add regression tests for a wildcard query that matches the wildcard, plus an ANY wildcard query, plus fix bug that ANY did not match a wildcard in 3.0

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

14 years agoJan-Piet Mens discovered that SOA-EDIT was not listed in the domain metadata document...
Bert Hubert [Thu, 31 Mar 2011 19:54:08 +0000 (19:54 +0000)]
Jan-Piet Mens discovered that SOA-EDIT was not listed in the domain metadata documentation. He also found that the domain metadata schema did not have room enough to store AXFR-MASTER-TSIG.

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

14 years agofix crashes reported by Vasiliy G Tolstov and Frank Altpeter - turns out we were...
Bert Hubert [Thu, 31 Mar 2011 07:51:27 +0000 (07:51 +0000)]
fix crashes reported by Vasiliy G Tolstov and Frank Altpeter - turns out we were handing a copy of the database connection to the master/slave connection.. while we were still using it!

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