]> granicus.if.org Git - pdns/log
pdns
14 years agomove SOA serialization code away from dnspacket into generic dns.cc file, to break...
Bert Hubert [Sun, 2 Jan 2011 18:31:38 +0000 (18:31 +0000)]
move SOA serialization code away from dnspacket into generic dns.cc file, to break dependencies for zone2sql on database functionality

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

14 years agoadd import-zone-key for interop, remove key-repository setting from pdnssec
Bert Hubert [Sun, 2 Jan 2011 18:30:37 +0000 (18:30 +0000)]
add import-zone-key for interop, remove key-repository setting from pdnssec

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

14 years agopare down zone2sql/zone2ldap dependencies so they don't depend on a working database...
Bert Hubert [Sun, 2 Jan 2011 18:28:55 +0000 (18:28 +0000)]
pare down zone2sql/zone2ldap dependencies so they don't depend on a working database connection
remove key-repository setting from bind backend

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

14 years agosome helpful migration sql statements - still quite brief
Bert Hubert [Sat, 1 Jan 2011 21:25:20 +0000 (21:25 +0000)]
some helpful migration sql statements - still quite brief

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

14 years agomove some more stuff to the 'infra' and away from the 'keeper'
Bert Hubert [Sat, 1 Jan 2011 21:23:18 +0000 (21:23 +0000)]
move some more stuff to the 'infra' and away from the 'keeper'

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

14 years agobye bye directory based dnssec key repo
Bert Hubert [Sat, 1 Jan 2011 21:22:17 +0000 (21:22 +0000)]
bye bye directory based dnssec key repo

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

14 years agodon't crash if the dnsseckeeper returns unexpected results
Bert Hubert [Sat, 1 Jan 2011 21:21:30 +0000 (21:21 +0000)]
don't crash if the dnsseckeeper returns unexpected results

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

14 years agoactually compile the dbdnsseckeeper into the binaries
Bert Hubert [Sat, 1 Jan 2011 21:20:18 +0000 (21:20 +0000)]
actually compile the dbdnsseckeeper into the binaries

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

14 years agohook up the dbdnsseckeeper to everything, implement (most) methods in the generic...
Bert Hubert [Sat, 1 Jan 2011 21:19:02 +0000 (21:19 +0000)]
hook up the dbdnsseckeeper to everything, implement (most) methods in the generic backend

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

14 years agoenable sqlite3 as a dnssec backend - especially useful as key storage for the BIND...
Bert Hubert [Sat, 1 Jan 2011 20:26:46 +0000 (20:26 +0000)]
enable sqlite3 as a dnssec backend - especially useful as key storage for the BIND backend

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

14 years agoin preparation for database storage of keys, move out some infrastructure code from...
Bert Hubert [Fri, 31 Dec 2010 13:39:12 +0000 (13:39 +0000)]
in preparation for database storage of keys, move out some infrastructure code from the fsdnsseckeeper to dnssecinfra

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

14 years agorepair some tabdamage
Bert Hubert [Fri, 31 Dec 2010 13:31:39 +0000 (13:31 +0000)]
repair some tabdamage

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

14 years agofix up export-zone-key so that we set the algorithm field correctly
Bert Hubert [Thu, 30 Dec 2010 21:45:44 +0000 (21:45 +0000)]
fix up export-zone-key so that we set the algorithm field correctly

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

14 years agodefault init last_changed in dnsresource records, finally shutting up loads of valgri...
Bert Hubert [Thu, 30 Dec 2010 21:22:52 +0000 (21:22 +0000)]
default init last_changed in dnsresource records, finally shutting up loads of valgrind warnings

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

14 years agoalso fix up the signing of the SOA in noerror responses
Bert Hubert [Thu, 30 Dec 2010 21:22:18 +0000 (21:22 +0000)]
also fix up the signing of the SOA in noerror responses

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

14 years agostop bind backend from crashing on domains that are not found, plus fix up canonical...
Bert Hubert [Thu, 30 Dec 2010 21:20:06 +0000 (21:20 +0000)]
stop bind backend from crashing on domains that are not found, plus fix up canonical ordering issues

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

14 years agospruce up 'show-zone' output, add 'set-nsec3', 'unset-nsec3', 'export-zone-key',...
Bert Hubert [Thu, 30 Dec 2010 19:52:51 +0000 (19:52 +0000)]
spruce up 'show-zone' output, add 'set-nsec3', 'unset-nsec3', 'export-zone-key', 'export-zone-dnskey' (for interop), remove storage of DNSKEY in key-repo, derive it from private key if needed

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

14 years agomark bind supermaster code as 'experimental'
Bert Hubert [Thu, 30 Dec 2010 14:48:23 +0000 (14:48 +0000)]
mark bind supermaster code as 'experimental'

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

14 years agoclone-zone got inception and expiration wrong, plus teach it to grab the correct key
Bert Hubert [Thu, 30 Dec 2010 14:47:58 +0000 (14:47 +0000)]
clone-zone got inception and expiration wrong, plus teach it to grab the correct key

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

14 years agobindbackend can now do nsec3, gets at least some records right ;-)
Bert Hubert [Thu, 30 Dec 2010 14:41:17 +0000 (14:41 +0000)]
bindbackend can now do nsec3, gets at least some records right ;-)

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

14 years agore-enable order-zone, make it nsec/nsec3 aware dnsseckeeper
Bert Hubert [Thu, 30 Dec 2010 14:40:40 +0000 (14:40 +0000)]
re-enable order-zone, make it nsec/nsec3 aware dnsseckeeper

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

14 years agosilence some debugging output, clarify some comments
Bert Hubert [Thu, 30 Dec 2010 14:39:47 +0000 (14:39 +0000)]
silence some debugging output, clarify some comments

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

14 years agolowercase the nsec3 output (hurts the eyes less, plus identical to nsd), plus fix...
Bert Hubert [Thu, 30 Dec 2010 14:39:10 +0000 (14:39 +0000)]
lowercase the nsec3 output (hurts the eyes less, plus identical to nsd), plus fix another case of 'sometimes insigned SOA')

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

14 years agoour 'throttle' code would do one final 'throttle' long after the time limit had expir...
Bert Hubert [Wed, 29 Dec 2010 08:58:54 +0000 (08:58 +0000)]
our 'throttle' code would do one final 'throttle' long after the time limit had expired + make our throttling on timeouts a bit less aggressive

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

14 years agomake sure zone2sql and zone2ldap know about the new dnssec file naming too
Bert Hubert [Tue, 28 Dec 2010 14:13:34 +0000 (14:13 +0000)]
make sure zone2sql and zone2ldap know about the new dnssec file naming too

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

14 years agotesting scripts
Bert Hubert [Tue, 28 Dec 2010 14:08:08 +0000 (14:08 +0000)]
testing scripts

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

14 years agofix up (not) signing SOA queries every once in a while, plus caching DNSSEC answers...
Bert Hubert [Mon, 27 Dec 2010 21:53:37 +0000 (21:53 +0000)]
fix up (not) signing SOA queries every once in a while, plus caching DNSSEC answers for non-DNSSEC questions during TCP operations

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

14 years agointerim commit to get it out of the way
Bert Hubert [Mon, 27 Dec 2010 21:01:55 +0000 (21:01 +0000)]
interim commit to get it out of the way

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

14 years agowith this commit, ldns-signzone+nsd and 'drill -t axfr' on powerdns and nsd delivers...
Bert Hubert [Mon, 27 Dec 2010 20:55:18 +0000 (20:55 +0000)]
with this commit, ldns-signzone+nsd and 'drill -t axfr' on powerdns and nsd delivers identical results for an NSEC zone!

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

14 years agoalign our key storage naming with the excellent ldns/nsd/unbound tools, which also...
Bert Hubert [Mon, 27 Dec 2010 19:25:04 +0000 (19:25 +0000)]
align our key storage naming with the excellent ldns/nsd/unbound tools, which also found a few bugs in our storage

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

14 years agofix up pdns_server for new key api
Bert Hubert [Mon, 27 Dec 2010 15:57:34 +0000 (15:57 +0000)]
fix up pdns_server for new key api

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

14 years agothis implies that there will be more dnsseckeepers - database backed for example
Bert Hubert [Mon, 27 Dec 2010 15:57:14 +0000 (15:57 +0000)]
this implies that there will be more dnsseckeepers - database backed for example

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

14 years agomove to mature key management (unified zsks, proper ids, active, inactive)
Bert Hubert [Mon, 27 Dec 2010 15:56:20 +0000 (15:56 +0000)]
move to mature key management (unified zsks, proper ids, active, inactive)

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

14 years agoKevin discovered a typo in the docs, thanks ;-)
Bert Hubert [Wed, 22 Dec 2010 09:31:38 +0000 (09:31 +0000)]
Kevin discovered a typo in the docs, thanks ;-)

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

14 years agomove to keys with ids in addition to tags, so we can refer to keys in an unambiguous...
Bert Hubert [Tue, 21 Dec 2010 20:49:33 +0000 (20:49 +0000)]
move to keys with ids in addition to tags, so we can refer to keys in an unambiguous fashion. WILL BREAK YOUR PDNSSEC INSTALL!
Prefix 000001 .. 000002 to the filenames containing your keys pls.

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

14 years agoclean up some dnssec logging
Bert Hubert [Sun, 19 Dec 2010 20:13:18 +0000 (20:13 +0000)]
clean up some dnssec logging

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

14 years agofirst stab at all singing & dancing dnslabel class to replace our (ab)use of human... rec-3.3.1
Bert Hubert [Sat, 18 Dec 2010 20:40:04 +0000 (20:40 +0000)]
first stab at all singing & dancing dnslabel class to replace our (ab)use of human readable strings to pass around DNS labels

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

14 years agoadd 3.3.1 release notes
Bert Hubert [Tue, 14 Dec 2010 14:02:11 +0000 (14:02 +0000)]
add 3.3.1 release notes

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

14 years agoimplement & document packetcache-bytes and cache-bytes, which return the estimated...
Bert Hubert [Tue, 14 Dec 2010 13:35:44 +0000 (13:35 +0000)]
implement & document packetcache-bytes and cache-bytes, which return the estimated pre-malloc bytesize usage of these caches

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

14 years agowe're going to do a 3.3.1 - this isn't it yet, but there won't be an RC
Bert Hubert [Tue, 14 Dec 2010 13:15:29 +0000 (13:15 +0000)]
we're going to do a 3.3.1 - this isn't it yet, but there won't be an RC

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

14 years agoimprove soft-calculated memory use statistics accuracy
Bert Hubert [Tue, 14 Dec 2010 13:14:55 +0000 (13:14 +0000)]
improve soft-calculated memory use statistics accuracy

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

14 years agoAnders Kaseorg has fixed our semaphore code against returning EINTR, solving crashes...
Bert Hubert [Mon, 13 Dec 2010 20:30:15 +0000 (20:30 +0000)]
Anders Kaseorg has fixed our semaphore code against returning EINTR, solving crashes when backgrounding pdns

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

14 years agothanks to OpenDNSSEC and Marcus Lauer for discovering that pdns outgoing notification...
Bert Hubert [Thu, 9 Dec 2010 18:00:15 +0000 (18:00 +0000)]
thanks to OpenDNSSEC and Marcus Lauer for discovering that pdns outgoing notifications did not carry an AA flag

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

14 years agoadd max-mthread-stack metric to measure maximum mthread stack usage - 34 kilobytes...
Bert Hubert [Wed, 1 Dec 2010 15:55:46 +0000 (15:55 +0000)]
add max-mthread-stack metric to measure maximum mthread stack usage - 34 kilobytes appears to be the maximum on x86-64 right now

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

14 years agoproperly process server responses that are truncated in mid-record.
Bert Hubert [Mon, 22 Nov 2010 11:59:37 +0000 (11:59 +0000)]
properly process server responses that are truncated in mid-record.

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

14 years agoremove unnecessary include
Bert Hubert [Mon, 22 Nov 2010 11:41:43 +0000 (11:41 +0000)]
remove unnecessary include

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

14 years ago22:00 <mastermind> ahu: fixed the speling errors in nproxy.cc already?
Bert Hubert [Thu, 11 Nov 2010 21:03:07 +0000 (21:03 +0000)]
22:00 <mastermind> ahu: fixed the speling errors in nproxy.cc already?
22:01 <ahu> ?
22:01  * mastermind is getting ignored in #powerdns

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

14 years agosilence an error message on very small packets - discovered by John J and Winfried A.
Bert Hubert [Sun, 24 Oct 2010 19:34:23 +0000 (19:34 +0000)]
silence an error message on very small packets - discovered by John J and Winfried A.

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

14 years agoadd html.tar.gz to the upload, and link it from http://doc.powerdns.com/about.html
Bert Hubert [Mon, 11 Oct 2010 20:32:29 +0000 (20:32 +0000)]
add html.tar.gz to the upload, and link it from http://doc.powerdns.com/about.html

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

14 years agoproperly detect getaddrinfo error condition from return code (hint, it might not...
Bert Hubert [Sun, 10 Oct 2010 19:23:35 +0000 (19:23 +0000)]
properly detect getaddrinfo error condition from return code (hint, it might not be negative!) Discovered by Bryan Seitz, who tried to run PowerDNS on a FreeBSD installation that had *everything* related to IPv6 commented out
Have not solved that problem though..

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

14 years agomake dnsseckeeper & pdnssec understand the new world of 'active' and 'passive' keys
Bert Hubert [Sat, 9 Oct 2010 13:50:18 +0000 (13:50 +0000)]
make dnsseckeeper & pdnssec understand the new world of 'active' and 'passive' keys

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

14 years agofix up pdnssec compilation
Bert Hubert [Thu, 23 Sep 2010 20:44:47 +0000 (20:44 +0000)]
fix up pdnssec compilation

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

14 years ago3.3 docs
Bert Hubert [Thu, 23 Sep 2010 20:42:25 +0000 (20:42 +0000)]
3.3 docs

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

14 years ago3.3!
Bert Hubert [Tue, 21 Sep 2010 16:17:17 +0000 (16:17 +0000)]
3.3!

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

14 years agorc3
Bert Hubert [Mon, 20 Sep 2010 17:51:01 +0000 (17:51 +0000)]
rc3

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

14 years agoslightly improve statistics
Bert Hubert [Thu, 16 Sep 2010 22:00:58 +0000 (22:00 +0000)]
slightly improve statistics

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

14 years agoadd loads of statistics to dnsbulktest, no worries
Bert Hubert [Thu, 16 Sep 2010 21:10:02 +0000 (21:10 +0000)]
add loads of statistics to dnsbulktest, no worries

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

14 years agoadd delivery time statistics to inflighter
Bert Hubert [Thu, 16 Sep 2010 20:02:02 +0000 (20:02 +0000)]
add delivery time statistics to inflighter

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

14 years agomake sure we can actually refresh . records w/o repriming
Bert Hubert [Thu, 16 Sep 2010 15:15:39 +0000 (15:15 +0000)]
make sure we can actually refresh . records w/o repriming

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

14 years agorc2
Bert Hubert [Sun, 12 Sep 2010 08:23:48 +0000 (08:23 +0000)]
rc2

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

14 years agothanks to RHEL5/CENTOS5.. we now have assembly in PowerDNS. "Thanks". Spotted by...
Bert Hubert [Sat, 11 Sep 2010 14:09:05 +0000 (14:09 +0000)]
thanks to RHEL5/CENTOS5.. we now have assembly in PowerDNS. "Thanks". Spotted by Bas && Imre Gergely.

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

14 years agomake rec_control dump-cache also dump the negative cache, so we can see what is going on
Bert Hubert [Sat, 11 Sep 2010 13:41:02 +0000 (13:41 +0000)]
make rec_control dump-cache also dump the negative cache, so we can see what is going on

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

14 years agoenable cache cleaner to clean some caches more agressively, plus make pdns use this...
Bert Hubert [Sat, 11 Sep 2010 13:40:03 +0000 (13:40 +0000)]
enable cache cleaner to clean some caches more agressively, plus make pdns use this to clean the negcache more agressively, plus to keep it smaller by default. Spotted by Imre Gergely

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

14 years agocheck for more parts of boost in 'pdns_hello_world' compilation check
Bert Hubert [Sat, 11 Sep 2010 12:56:25 +0000 (12:56 +0000)]
check for more parts of boost in 'pdns_hello_world' compilation check

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

14 years agoupdate release notes
Bert Hubert [Sat, 11 Sep 2010 12:56:00 +0000 (12:56 +0000)]
update release notes

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

14 years agomake sure we are more query class safe, so auth now only replies to version.bind...
Bert Hubert [Sat, 11 Sep 2010 10:13:25 +0000 (10:13 +0000)]
make sure we are more query class safe, so auth now only replies to version.bind in the CHaos class. Guide to getting your PowerDNS bugs fixed: tweet about them! http://twitter.com/miekg/status/23990461681
Spotted by Miek Gieben & Marco Davids

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

14 years agoadd vitally important attributions
Bert Hubert [Wed, 8 Sep 2010 18:50:42 +0000 (18:50 +0000)]
add vitally important attributions

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

14 years agoupdate docs
Bert Hubert [Tue, 31 Aug 2010 19:26:57 +0000 (19:26 +0000)]
update docs

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

14 years agowe do NOT use libumem anymore - see http://bert-hubert.blogspot.com/2010/08/some...
Bert Hubert [Tue, 31 Aug 2010 19:11:22 +0000 (19:11 +0000)]
we do NOT use libumem anymore - see http://bert-hubert.blogspot.com/2010/08/some-notes-on-solaris-10-x86-64-bit.html

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

14 years agounify cache deletion queue management, and make negcache use it
Bert Hubert [Tue, 31 Aug 2010 06:49:01 +0000 (06:49 +0000)]
unify cache deletion queue management, and make negcache use it

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

14 years ago3.3-rc1
Bert Hubert [Mon, 30 Aug 2010 21:06:53 +0000 (21:06 +0000)]
3.3-rc1

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

14 years agomake the negcache be cleaned by the one true unified algorithm
Bert Hubert [Mon, 30 Aug 2010 20:15:53 +0000 (20:15 +0000)]
make the negcache be cleaned by the one true unified algorithm

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

14 years agounify existing cache cleaning algorithms into one bit of code. Next up: the negcache
Bert Hubert [Mon, 30 Aug 2010 20:03:55 +0000 (20:03 +0000)]
unify existing cache cleaning algorithms into one bit of code. Next up: the negcache

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

14 years agolocking speed tests
Bert Hubert [Sun, 29 Aug 2010 14:25:50 +0000 (14:25 +0000)]
locking speed tests

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

14 years agosome more whitespace
Bert Hubert [Sun, 29 Aug 2010 14:09:03 +0000 (14:09 +0000)]
some more whitespace

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

14 years agosome whitespace
Bert Hubert [Sun, 29 Aug 2010 14:05:44 +0000 (14:05 +0000)]
some whitespace

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

14 years agoimplement atomic counters for tcp connection tracking
Bert Hubert [Sun, 29 Aug 2010 14:05:18 +0000 (14:05 +0000)]
implement atomic counters for tcp connection tracking

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

14 years agofurther build fixes
Bert Hubert [Thu, 26 Aug 2010 08:39:34 +0000 (08:39 +0000)]
further build fixes

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

14 years agomake sure rec_control builds again
Bert Hubert [Thu, 26 Aug 2010 08:39:12 +0000 (08:39 +0000)]
make sure rec_control builds again

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

14 years agoadd some help output to dnsbulktest
Bert Hubert [Thu, 26 Aug 2010 08:19:44 +0000 (08:19 +0000)]
add some help output to dnsbulktest

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

14 years agoimprove reporting of error condition in comparing packets + prevent one error condition
Bert Hubert [Thu, 19 Aug 2010 18:31:46 +0000 (18:31 +0000)]
improve reporting of error condition in comparing packets + prevent one error condition

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

14 years agofix crashes in bindbackend, by removing thread-unsafe 'flyweight', plus fixing unsafe...
Bert Hubert [Tue, 17 Aug 2010 09:54:45 +0000 (09:54 +0000)]
fix crashes in bindbackend, by removing thread-unsafe 'flyweight', plus fixing unsafe isMaster

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

14 years agosilence warnings, enable separate compilation
Bert Hubert [Sun, 15 Aug 2010 08:41:23 +0000 (08:41 +0000)]
silence warnings, enable separate compilation

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

14 years agoalso check class in dnspacketlessthan
Bert Hubert [Wed, 11 Aug 2010 08:52:03 +0000 (08:52 +0000)]
also check class in dnspacketlessthan

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

14 years agotyop, found by jeff sipek
Bert Hubert [Mon, 9 Aug 2010 20:42:57 +0000 (20:42 +0000)]
tyop, found by jeff sipek

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

14 years agosilence a warning - thanks zap ;-)
Bert Hubert [Mon, 9 Aug 2010 20:39:14 +0000 (20:39 +0000)]
silence a warning - thanks zap ;-)

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

14 years agoremove confusing code that kept track of the number of TCP client connections, replac...
Bert Hubert [Mon, 9 Aug 2010 19:40:29 +0000 (19:40 +0000)]
remove confusing code that kept track of the number of TCP client connections, replaced by cleaner alternative. Hope this solves the accounting problems.

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

14 years agoimplement pdns-distributes-queries to make powerdns distribute queries itself
Bert Hubert [Sun, 8 Aug 2010 19:59:19 +0000 (19:59 +0000)]
implement pdns-distributes-queries to make powerdns distribute queries itself
implement 'processes', bringing back the old-school '--fork' option

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

14 years agoremove duplicate 'pleaseWipeCache' code
Bert Hubert [Sun, 8 Aug 2010 17:37:33 +0000 (17:37 +0000)]
remove duplicate 'pleaseWipeCache' code

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

14 years agomake sure we use libumem on Solaris as allocator
Bert Hubert [Sun, 8 Aug 2010 12:12:44 +0000 (12:12 +0000)]
make sure we use libumem on Solaris as allocator

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

14 years agogratefully copied timegm replacement code from dietlibc! (GPL)
Bert Hubert [Sat, 7 Aug 2010 19:26:40 +0000 (19:26 +0000)]
gratefully copied timegm replacement code from dietlibc! (GPL)

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

14 years agoadd gettimeofday speedtest
Bert Hubert [Sat, 7 Aug 2010 15:35:55 +0000 (15:35 +0000)]
add gettimeofday speedtest

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

14 years agoSolve ticket 281, where we cache nxdomains longer than configured because of the...
Bert Hubert [Fri, 6 Aug 2010 20:10:04 +0000 (20:10 +0000)]
Solve ticket 281, where we cache nxdomains longer than configured because of the packet cache.
Also solved anomaly where SOA was initially the original length, and would decrease to the limited ttl on the second query

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

14 years agoadd infrastructure for manual query distribution over threads (distributeAsyncFunction)
Bert Hubert [Fri, 6 Aug 2010 19:12:20 +0000 (19:12 +0000)]
add infrastructure for manual query distribution over threads (distributeAsyncFunction)

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

14 years agoadd get-all description to rec_control manpage. Lack spotted by Jeff Sipek.
Bert Hubert [Thu, 5 Aug 2010 17:43:47 +0000 (17:43 +0000)]
add get-all description to rec_control manpage. Lack spotted by Jeff Sipek.

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

14 years agodetach distributor database threads, saving memory. This probably addressed launchpad...
Bert Hubert [Sat, 31 Jul 2010 14:00:27 +0000 (14:00 +0000)]
detach distributor database threads, saving memory. This probably addressed launchpad bug [Bug 600479] Re: Runaway threads on idle mysql backends

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

14 years agoremove duplicate & *wrong* waitForData() implementation from rec_channel - could...
Bert Hubert [Thu, 29 Jul 2010 11:46:19 +0000 (11:46 +0000)]
remove duplicate & *wrong* waitForData() implementation from rec_channel - could've caused crashes under high load

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

14 years agoadd proper #ifndef include guards
Bert Hubert [Thu, 29 Jul 2010 11:31:35 +0000 (11:31 +0000)]
add proper #ifndef include guards

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

15 years agoteach Recursor about 'ARCHFLAGS' for -m64 and make sure 'speedtest' compiles again...
Bert Hubert [Mon, 19 Jul 2010 14:21:02 +0000 (14:21 +0000)]
teach Recursor about 'ARCHFLAGS' for -m64 and make sure 'speedtest' compiles again with DNSSEC stuff in there

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

15 years agomake sure speedtest works on solaris too - it needs the virtual alarm to be re-armed...
Bert Hubert [Mon, 19 Jul 2010 14:19:39 +0000 (14:19 +0000)]
make sure speedtest works on solaris too - it needs the virtual alarm to be re-armed after it went off

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