]>
git.ipfire.org Git - thirdparty/pdns.git/log
Bert Hubert [Tue, 22 Mar 2011 19:42:12 +0000 (19:42 +0000)]
fix up various small things, plus remove ugly debugging prints from AXFR handler, replaced with nice log message
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2085
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 14:13:27 +0000 (14:13 +0000)]
after many years ;-) merge the fix so MySQL stored procedures can be called. Closes ticket 231. Please test ;-)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2084
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 13:49:44 +0000 (13:49 +0000)]
improve gsqlite3backend error message as suggested by ticket 190.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2083
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 10:30:56 +0000 (10:30 +0000)]
start database list request in AXFR at the latest possible moment so as not to have an open SQL transaction if there are problems with keys
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2082
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 09:51:23 +0000 (09:51 +0000)]
allow queries for domains with spaces in them
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2081
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 09:21:33 +0000 (09:21 +0000)]
make sure that not only we can retrieve unknown records over AXFR, but that all backends can serve them too
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2080
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 09:20:47 +0000 (09:20 +0000)]
rename some confusing variables
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2079
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 08:41:47 +0000 (08:41 +0000)]
everybody pay attention - SOMEONE CONTRIBUTED DOCUMENTATION!! Jan-Piet Mens documented the feature of incoming AXFR editing that he invented. Thanks!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2078
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 22 Mar 2011 08:27:01 +0000 (08:27 +0000)]
implement RFC1982 serial number arithmetic in zone slaving engine (already!) problem spotted by Jan-Piet Mens
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2077
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 21 Mar 2011 21:58:44 +0000 (21:58 +0000)]
add warnings about trailing dots in domain names in powerdns record storage, plus fix up broken links and email addresses.
Closes ticket 343, thanks!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2076
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 21 Mar 2011 20:52:31 +0000 (20:52 +0000)]
it is 2011
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2075
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 21 Mar 2011 20:46:41 +0000 (20:46 +0000)]
fix up ssqlite internal 'escape' function - which was not used.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2074
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Mar 2011 08:39:46 +0000 (08:39 +0000)]
Ralf van der Enden contributed a patch that fixes our Lua detection on FreeBSD, Thanks!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2073
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Mar 2011 08:30:57 +0000 (08:30 +0000)]
make sure dnsresource records are default initialized fully, possibly solving serialization issues
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2072
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Mar 2011 07:46:14 +0000 (07:46 +0000)]
Brielle Bruns nagged us about this spelling error which reported a 'succesful' connection ;-)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2071
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Mar 2011 16:02:48 +0000 (16:02 +0000)]
instead of partially stealing lua autoconf from mysqlproxy, steal *all* of it
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2070
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Mar 2011 11:12:47 +0000 (11:12 +0000)]
would sometimes *add* data from the query-cache to a response instead of replacing it
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2069
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Mar 2011 09:13:27 +0000 (09:13 +0000)]
properly detect Lua on most platforms. Trick stolen from MySQL.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2068
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Mar 2011 19:11:15 +0000 (19:11 +0000)]
add error checking for the Lua incoming AXFR filter script. jp_mens, pls update your blog ;-)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2067
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Mar 2011 15:08:00 +0000 (15:08 +0000)]
allow Lua to load modules in powerdns auth
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2066
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Mar 2011 08:35:09 +0000 (08:35 +0000)]
implement incoming AXFR editing with Lua scripts. Useful when operating as a 'signer' to add a record
about when the zone was last signed, but can also be used to fiddle with the SOA serial number.
To enable for zone with domain_id=5: insert into domainmetadata (domain_id, kind, content) values (5, 'LUA-AXFR-SCRIPT', './powerdns-example-script.lua');
Use absolute paths pls.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2065
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Mar 2011 08:31:52 +0000 (08:31 +0000)]
make sure we build the manpages for the recursor
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2064
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Mar 2011 12:57:00 +0000 (12:57 +0000)]
teach built-in authoritative server in the powerdns recursor to understand wildcards
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2062
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Mar 2011 12:33:51 +0000 (12:33 +0000)]
document hash-zone-records for NSEC3
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2061
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 12 Mar 2011 21:17:07 +0000 (21:17 +0000)]
fix up unaligned access on UltraSPARC in recursor. Analysis provided by Jan Gyselinck.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2060
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 4 Mar 2011 20:43:28 +0000 (20:43 +0000)]
remove our old DNSResourceRecord serializer, replace it with the boost one, plus serialize vectors of DNSResourceRecords now, allowing the querycache to store answers with multiple records, which should be a big speedup!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2059
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 3 Mar 2011 12:12:24 +0000 (12:12 +0000)]
move zone freshness checking on incoming notification away from the main query threads and into the slave communicator loop, improving responsiveness when being mass-notified of changes.
Spotted by Richard Poole.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2058
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 3 Mar 2011 12:09:08 +0000 (12:09 +0000)]
documentation commit
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2057
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 1 Mar 2011 15:11:08 +0000 (15:11 +0000)]
fix up botan18 vector transition for ordered key output
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2056
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 27 Feb 2011 09:33:39 +0000 (09:33 +0000)]
fix up the ECDSA from the crypto++ too for the new BIND field ordering
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2055
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 27 Feb 2011 09:11:43 +0000 (09:11 +0000)]
make sure we export private keys in "bind order", it appears tools are depending on the exact ordering used by BIND (...)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2054
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 25 Feb 2011 20:54:32 +0000 (20:54 +0000)]
backends supporting DNSSEC must return all records of one (name,type) tuple consecutively. This commit solves the issue
where multiple signatures were seen for a single such tuple.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2053
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 19 Feb 2011 20:08:29 +0000 (20:08 +0000)]
don't send do=1 SOA requests for slaving purposes for non-presigned slave zones
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2052
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 19 Feb 2011 20:06:02 +0000 (20:06 +0000)]
some further comment improvements (spent most of the day debugging, took hours to find the bug, this is what I did in the meantime ;-))
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2051
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 19 Feb 2011 20:05:02 +0000 (20:05 +0000)]
improve some comments
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2050
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 19 Feb 2011 20:04:34 +0000 (20:04 +0000)]
improve some generic sql error messages and comments
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2049
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 19 Feb 2011 20:03:13 +0000 (20:03 +0000)]
sqlite3 can host slave zones too, zone2sql didn't know that
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2048
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 19 Feb 2011 20:02:42 +0000 (20:02 +0000)]
add gsqlite3-pragma-synchronous for benchmarketing purposes, plus make sqlite3 more paranoid about closing its connection
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2047
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sat, 19 Feb 2011 14:57:44 +0000 (14:57 +0000)]
add port numbers where relevant to SOA notification output, plus prevent filedescriptor leak on AXFR error
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2046
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Feb 2011 22:12:48 +0000 (22:12 +0000)]
make sure we AXFR from the correct master port after a notification, and not port 53 only
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2045
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Feb 2011 18:59:03 +0000 (18:59 +0000)]
add the commit methods to dnsseckeeper
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2044
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Feb 2011 16:27:15 +0000 (16:27 +0000)]
for bulk signing: pdnssec secure-zone can now accept multiple zones in one go, in one database transaction
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2043
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Feb 2011 16:19:19 +0000 (16:19 +0000)]
don't wait a full second for notifications to come in
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2042
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Feb 2011 16:18:01 +0000 (16:18 +0000)]
siles some logging on loading BIND zones
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2041
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Fri, 18 Feb 2011 13:55:06 +0000 (13:55 +0000)]
it helps tremendously if you actually close your incoming AXFR socket!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2040
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Feb 2011 21:53:05 +0000 (21:53 +0000)]
further indices needed for high dnssec performance
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2039
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Feb 2011 20:54:30 +0000 (20:54 +0000)]
oops, cryptokeys table lacked an index
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2038
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Feb 2011 13:00:15 +0000 (13:00 +0000)]
phase out boost::bimap so we can depend on 1.34 again
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2037
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Feb 2011 10:21:16 +0000 (10:21 +0000)]
TSIG-verify first answer chunk ('envelope') of incoming AXFR. I don't understand the RFC on how to verify subsequent
envelopes.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2036
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Feb 2011 09:59:21 +0000 (09:59 +0000)]
add ability to do TSIG signed AXFR requests by setting AXFR-MASTER-TSIG domainmetadata setting to a TSIG keyname
Does not yet verify responses!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2035
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Feb 2011 08:57:26 +0000 (08:57 +0000)]
move around code so TSIG generation/verification is divorced from DNSPacket, readying it for use in signing notifications & verifying AXFR answers
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2034
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 17 Feb 2011 07:28:33 +0000 (07:28 +0000)]
Evan H discovered our documentation what out of whack with the source wrt to specifying the TSIG algorithm. The source has been adjusted.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2033
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Feb 2011 22:53:58 +0000 (22:53 +0000)]
and another case of not closing a db connection properly in pdnssec - harmless warning
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2032
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Feb 2011 22:31:37 +0000 (22:31 +0000)]
the zone2sql code was _so_ scary I didn't dare touch it for half a decade. Revamped it completely.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2031
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Feb 2011 21:17:18 +0000 (21:17 +0000)]
Jose Arthur Benetasso Villanova discovered pdnssec did not do a proper database connection teardown after rectify-zone, leading to a message in the postgresql log.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2030
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Feb 2011 16:38:56 +0000 (16:38 +0000)]
neglected to 0 the NSEC3PARAM field from the actual NSEC3 setting (I wonder why the RFC requires this)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2029
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Feb 2011 16:17:43 +0000 (16:17 +0000)]
jan piet mens discovered we neglected to put the NSEC3PARAM in outgoing AXFR.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2028
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Wed, 16 Feb 2011 12:09:16 +0000 (12:09 +0000)]
forgot to copy d_havetsig properly, leading to odd behaviour
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2027
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 15 Feb 2011 22:01:54 +0000 (22:01 +0000)]
spruce up docs a bit
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2026
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 15 Feb 2011 21:51:03 +0000 (21:51 +0000)]
document TSIG, plus remove trailing dot from TSIG key name
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2025
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 15 Feb 2011 21:06:26 +0000 (21:06 +0000)]
this giant commit implements TSIG access control and outbound TSIG authorized & signed AXFRs.
We also clean up some very old slightly dead code from dnspacket.cc, plus rename some variables so the are no longer incor
Next up, use TSIG for slaving from remotes. And document all this ;-)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2024
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 15 Feb 2011 20:44:22 +0000 (20:44 +0000)]
silence a lot of signingpipe debugging
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2023
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 15 Feb 2011 20:09:52 +0000 (20:09 +0000)]
further cleanups (next commits remove some methods from DNSPacket)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2022
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 15 Feb 2011 20:09:01 +0000 (20:09 +0000)]
some cleanups, plus NotAuth RCODE
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2021
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 15 Feb 2011 20:02:56 +0000 (20:02 +0000)]
commit of docs so as not to skew the diffstat
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2020
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 15:34:32 +0000 (15:34 +0000)]
fix up 4.4 billion query statistics wraparound. And congratulations to the people that ran into this problem! Closes ticket 327.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2019
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 14:57:11 +0000 (14:57 +0000)]
fix up printing of %eth0 scope in ComboAddress::toStringWithPort
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2018
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 14:20:04 +0000 (14:20 +0000)]
teach generic SQL backends about the ALSO-NOTIFY domain metadata in the domainmetadata table!
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2017
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 14:10:07 +0000 (14:10 +0000)]
make master notification sender do its utmost to gather IPv6 addresses too. We sorta didn't try.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2016
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 12:50:05 +0000 (12:50 +0000)]
make sure we don't trip over disconnects on the controlsocket
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2014
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 12:22:44 +0000 (12:22 +0000)]
silence some debugging
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2013
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 10:56:27 +0000 (10:56 +0000)]
this giant commit adds full IPv6 master/slaving/notification support which appeared.. not to have been there ;-(
In addition, the complete AXFR & outgoing resolver apparatus of the auth server has been revamped, removing some of the oldest code in PowerDNS.
This is a giant change, but it adds functionality while decreasing the size of the code.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2012
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 10:53:26 +0000 (10:53 +0000)]
remove some dead code, add silly special cased 'waitFor2Data' to wait on 2 fds simult for ipv6
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2011
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 14 Feb 2011 09:58:10 +0000 (09:58 +0000)]
phase out sockAddrToString function (ComboAddress has a better one)
teach ComboAddress to accept 1.2.3.4:53 as well as [::]:53
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2010
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Sun, 13 Feb 2011 22:17:56 +0000 (22:17 +0000)]
widen allow-axfr-ips to IPv6, plus add query-local-address6 for inbound AXFR & outbound notifications over IPv6
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2009
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 20:09:52 +0000 (20:09 +0000)]
freebsd might need '-1' for timeout instead of 'a negative value'
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2008
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 19:55:38 +0000 (19:55 +0000)]
make slave engine use RRSIG information to determine the re-retrieval of presigned zones, independent of SOA serial
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2007
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 19:52:46 +0000 (19:52 +0000)]
teach SOA freshness retriever about DNSSEC & do=1, and have it examine returned RRSIGs
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2006
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 19:48:58 +0000 (19:48 +0000)]
silence harmless warning in botansigners
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2005
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 19:48:21 +0000 (19:48 +0000)]
implement sqlite3 busy handler, should remove 'database is locked' errors
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2004
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 14:35:54 +0000 (14:35 +0000)]
add Ragel based DNS Label parser next to the DNS TXT parser
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2003
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 14:04:52 +0000 (14:04 +0000)]
fix up our tar.gz so you can actually build from it
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2002
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 13:14:31 +0000 (13:14 +0000)]
this is not going to win any prizes.. copy the dnslabeltext.cc file here
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2001
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 13:01:24 +0000 (13:01 +0000)]
add a 'Ragel' based DNS TXT parser & hook it up. With this change we can finally serve the whole 'zone from hell' from @jp_mens ;-)
Ragel is now a 'build-from-svn' dependency, but not 'build-from-tarball'.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2000
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Thu, 10 Feb 2011 12:10:27 +0000 (12:10 +0000)]
perhaps this helps the signingpipe on freebsd..
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1999
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 8 Feb 2011 21:32:31 +0000 (21:32 +0000)]
prevent zone2sql and zone2ldap from importing the 'hints' zone into powerdns, which would give unexpected results.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1998
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 8 Feb 2011 16:28:06 +0000 (16:28 +0000)]
fix up pdns_recursor compilation, improve reporting of signing errors in AXFR
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1997
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 8 Feb 2011 16:26:03 +0000 (16:26 +0000)]
fix up 'wingsuitnews.com' - they don't deserve to resolve though..
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1996
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 8 Feb 2011 08:11:35 +0000 (08:11 +0000)]
fix up previous commit, thanks Christof
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1995
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Tue, 8 Feb 2011 07:48:48 +0000 (07:48 +0000)]
bring our outgoing DNSSEC AXFR in line with the EDNS words in RFC 5936. This will hopefully placate the Microsoft DNS server. Issue discovered by Christof Meerwald.
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1994
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 19:36:54 +0000 (19:36 +0000)]
Thanks to Jan-Piet Mens' "zone from hell", we can now serve unknown record types ('TYPE65534').
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1993
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 16:07:48 +0000 (16:07 +0000)]
signingpipe is a bit scary.. appears to work well now
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1992
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 10:47:02 +0000 (10:47 +0000)]
fix up std::exception for LDAP backend
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1991
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 10:26:08 +0000 (10:26 +0000)]
remove debugging to catch request for unsupported DNSCryptoKeyEngine, plus improve request for unsupported DS digest type. Spotted by 'at0r'
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1990
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 10:19:20 +0000 (10:19 +0000)]
removing using namespace std; from yacc too
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1989
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 09:53:01 +0000 (09:53 +0000)]
opendbx std fixes
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1988
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 09:51:01 +0000 (09:51 +0000)]
fix up geobackend compilation after using namespace std fixes
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1987
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 09:42:22 +0000 (09:42 +0000)]
fix up MyDNS compatible backend compilation - this might eventually offer MyDNS users an easy DNSSEC migration path
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1986
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 09:39:22 +0000 (09:39 +0000)]
namespaces.hh includes
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1985
d19b8d6e -7fed-0310-83ef-
9ca221ded41b
Bert Hubert [Mon, 7 Feb 2011 09:33:20 +0000 (09:33 +0000)]
improve secure-zone output when no dnssec capable backend was loaded
fix verify-crypto so it actually does that again
add dead code to implement a remote signing-server
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1984
d19b8d6e -7fed-0310-83ef-
9ca221ded41b