]> granicus.if.org Git - pdns/log
pdns
19 years agoremote a lot of silly string processing used for --trace output, even w/o a trace..
Bert Hubert [Sat, 25 Mar 2006 17:09:02 +0000 (17:09 +0000)]
remote a lot of silly string processing used for --trace output, even w/o a trace..

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

19 years agomove throttle map away from simple string and onto a nice tuple. Should save heaps...
Bert Hubert [Sat, 25 Mar 2006 12:10:30 +0000 (12:10 +0000)]
move throttle map away from simple string and onto a nice tuple. Should save heaps of new/deletes (because of string reference counting). Reduced pruning frequency of throttle map, which should save cpu on reinserts

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

19 years agoimprove truncating behaviour: don't truncate because of additional records. See http...
Bert Hubert [Sat, 25 Mar 2006 10:53:32 +0000 (10:53 +0000)]
improve truncating behaviour: don't truncate because of additional records. See http://mailman.powerdns.com/pipermail/pdns-users/2006-March/003178.html and onwards
Thanks to Alan Hodgson for reporting this

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

19 years agofix incredibly stupid throttle cache pruning bug
Bert Hubert [Fri, 24 Mar 2006 22:28:58 +0000 (22:28 +0000)]
fix incredibly stupid throttle cache pruning bug

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

19 years agoadd qa-latency to rrd, add throttle-entries to rrd, add 'QUIT' command,
Bert Hubert [Thu, 23 Mar 2006 18:21:32 +0000 (18:21 +0000)]
add qa-latency to rrd, add throttle-entries to rrd, add 'QUIT' command,
make cache-size calculation do less work (rrd stats caused packet loss!),
make twice-hourly stats no longer calculate cache size (caused packet loss)

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

19 years agomake stuff compile by default on solaris 10 - all you need to do is move away /usr...
Bert Hubert [Wed, 22 Mar 2006 21:07:04 +0000 (21:07 +0000)]
make stuff compile by default on solaris 10 - all you need to do is move away /usr/sfw/lib/libstdc++.la which confuses
libtool. No more need for LIBS=... hacks!

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

19 years agobig bag 'o Solaris fixes! (partially sent by Juergen Georgi)
Bert Hubert [Wed, 22 Mar 2006 17:47:01 +0000 (17:47 +0000)]
big bag 'o Solaris fixes! (partially sent by Juergen Georgi)
pdns_recursor not only compiles (although you still need LIBS="-lnsl -lsocket -lresolv") but works too
Fixes the famous "‘init_priority’ attribute is not supported on this platform"

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

19 years agoslight speedup to the processing of unknown records, which is still bound to be slow.
Bert Hubert [Wed, 22 Mar 2006 06:53:16 +0000 (06:53 +0000)]
slight speedup to the processing of unknown records, which is still bound to be slow.
added a check that might have prevented a crash of the recursor

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

19 years agooops, did cache-entries accounting wrong. made 'average latency' ignore outliers...
Bert Hubert [Tue, 21 Mar 2006 22:53:35 +0000 (22:53 +0000)]
oops, did cache-entries accounting wrong. made 'average latency' ignore outliers - cheating a bit. silence a harmless warning

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

19 years agoadd sizing of UDP receive buffers, plus fix (somewhat) the latency
Bert Hubert [Tue, 21 Mar 2006 21:39:36 +0000 (21:39 +0000)]
add sizing of UDP receive buffers, plus fix (somewhat) the latency
measurements

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

19 years agospeed up replay speed, add qa-latency stats
Bert Hubert [Tue, 21 Mar 2006 12:22:51 +0000 (12:22 +0000)]
speed up replay speed, add qa-latency stats

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

19 years agofix small escape bug, remove a flag from rrdtool that is too new
Bert Hubert [Tue, 21 Mar 2006 08:19:58 +0000 (08:19 +0000)]
fix small escape bug, remove a flag from rrdtool that is too new

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

19 years agospiff up statistics, add graph maker
Bert Hubert [Mon, 20 Mar 2006 15:36:04 +0000 (15:36 +0000)]
spiff up statistics, add graph maker

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

19 years agoadd servfail stats, make cachehits/misses unsigend
Bert Hubert [Mon, 20 Mar 2006 15:33:52 +0000 (15:33 +0000)]
add servfail stats, make cachehits/misses unsigend

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

19 years agotoo many bashisms
Bert Hubert [Sun, 19 Mar 2006 21:15:42 +0000 (21:15 +0000)]
too many bashisms

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

19 years agoadding rrdtool scripts for the recursor
Bert Hubert [Sun, 19 Mar 2006 20:17:45 +0000 (20:17 +0000)]
adding rrdtool scripts for the recursor

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

19 years agoadd per query latency accounting. WARNING: DTime from now on does implicit set()...
Bert Hubert [Sun, 19 Mar 2006 19:57:15 +0000 (19:57 +0000)]
add per query latency accounting. WARNING: DTime from now on does implicit set() on udiff()! Needed for previous commit

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

19 years agoresolved, add cacheHits, cacheMisses
Bert Hubert [Sun, 19 Mar 2006 19:26:21 +0000 (19:26 +0000)]
resolved, add cacheHits, cacheMisses

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

19 years agosave a few time(0) calls, hook up PulseRate
Bert Hubert [Sun, 19 Mar 2006 19:21:12 +0000 (19:21 +0000)]
save a few time(0) calls, hook up PulseRate

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

19 years agooptimize DecayingEwma to no longer gettimeofday in constructor, add PulseRate
Bert Hubert [Sun, 19 Mar 2006 19:20:17 +0000 (19:20 +0000)]
optimize DecayingEwma to no longer gettimeofday in constructor, add PulseRate

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

19 years agomake asyncresolve accept d_now from caller, and use it to seed DTime, and refill...
Bert Hubert [Sun, 19 Mar 2006 19:19:21 +0000 (19:19 +0000)]
make asyncresolve accept d_now from caller, and use it to seed DTime, and refill d_now with updated gettimeofday from dtime

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

19 years agomove timeval arithmetic away from dnsreplay-mindex, make DTime able to save a few...
Bert Hubert [Sun, 19 Mar 2006 19:18:31 +0000 (19:18 +0000)]
move timeval arithmetic away from dnsreplay-mindex, make DTime able to save a few gettimeofdays

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

19 years agoupdate copyright
Bert Hubert [Sun, 19 Mar 2006 19:17:24 +0000 (19:17 +0000)]
update copyright

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

19 years agoquiet fix
Bert Hubert [Sat, 18 Mar 2006 21:24:36 +0000 (21:24 +0000)]
quiet fix

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

19 years agotune up stats, add 64-bit logger output, hookup control channel, remove a arg() looku...
Bert Hubert [Sat, 18 Mar 2006 21:07:00 +0000 (21:07 +0000)]
tune up stats, add 64-bit logger output, hookup control channel, remove a arg() lookup per packet

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

19 years agoadd beginnings of recursor control channel
Bert Hubert [Sat, 18 Mar 2006 11:10:53 +0000 (11:10 +0000)]
add beginnings of recursor control channel

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

19 years agokill some signed/unsigned warnings, speedup cache pruning slightly, clean up code...
Bert Hubert [Sat, 18 Mar 2006 10:30:47 +0000 (10:30 +0000)]
kill some signed/unsigned warnings, speedup cache pruning slightly, clean up code a bit

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

19 years agoupdate documentation error, actually make --enable-nedmalloc work
Bert Hubert [Fri, 17 Mar 2006 18:31:05 +0000 (18:31 +0000)]
update documentation error, actually make --enable-nedmalloc work

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

19 years agoupdate to automake stuff, make nedmalloc default to 'yes' on freebsd, update version
Bert Hubert [Fri, 17 Mar 2006 18:12:54 +0000 (18:12 +0000)]
update to automake stuff, make nedmalloc default to 'yes' on freebsd, update version

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

19 years agoadd 'nedmalloc' for FreeBSD zooming performance
Bert Hubert [Fri, 17 Mar 2006 17:38:16 +0000 (17:38 +0000)]
add 'nedmalloc' for FreeBSD zooming performance

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

19 years ago'thanks!'
Bert Hubert [Wed, 15 Mar 2006 18:27:07 +0000 (18:27 +0000)]
'thanks!'

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

19 years agouse hashed indexes if available
Bert Hubert [Wed, 15 Mar 2006 18:18:45 +0000 (18:18 +0000)]
use hashed indexes if available

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

19 years agoupdate documentation, make sure we ship sgml expander, make sure we don't always...
Bert Hubert [Wed, 15 Mar 2006 18:11:12 +0000 (18:11 +0000)]
update documentation, make sure we ship sgml expander, make sure we don't always skip locks,

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

19 years agobring cache pruning in line (once a minute)
Bert Hubert [Wed, 15 Mar 2006 18:06:30 +0000 (18:06 +0000)]
bring cache pruning in line (once a minute)

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

19 years agoFix default getSOA implementation throwing an exception, upsetting PowerDNS needlessl...
Bert Hubert [Mon, 13 Mar 2006 20:28:50 +0000 (20:28 +0000)]
Fix default getSOA implementation throwing an exception, upsetting PowerDNS needlessly. Path supplied by
Norbert, reminded by From: Tomas Brandysky <tbrandysky@suse.cz>
close ticket 62

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

19 years agomake things compile again
Bert Hubert [Mon, 13 Mar 2006 19:49:17 +0000 (19:49 +0000)]
make things compile again

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

19 years agofix compilation problems on RHEL3
Bert Hubert [Mon, 13 Mar 2006 19:41:21 +0000 (19:41 +0000)]
fix compilation problems on RHEL3

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

19 years agomove to multi_index_container to speed up prunes
Bert Hubert [Mon, 13 Mar 2006 19:40:12 +0000 (19:40 +0000)]
move to multi_index_container to speed up prunes

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

19 years agowork around a g++ 4.1 profiling bug wrt anonymous namespaces
Bert Hubert [Mon, 13 Mar 2006 19:38:15 +0000 (19:38 +0000)]
work around a g++ 4.1 profiling bug wrt anonymous namespaces

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

19 years agoarg() is sat upon by the boost::multi_index namespace
Bert Hubert [Sat, 11 Mar 2006 21:38:52 +0000 (21:38 +0000)]
arg() is sat upon by the boost::multi_index namespace

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

19 years agomove to KeyTag caused havoc with g++ 4.1, revert to numbered indexes
Bert Hubert [Sat, 11 Mar 2006 21:37:52 +0000 (21:37 +0000)]
move to KeyTag caused havoc with g++ 4.1, revert to numbered indexes

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

19 years agomake sdig compile again, slight change to mtasker which might make things compile...
Bert Hubert [Sat, 11 Mar 2006 14:22:16 +0000 (14:22 +0000)]
make sdig compile again, slight change to mtasker which might make things compile on RHEL3

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

19 years agodocumentation changes, add spiffy links to trac
Bert Hubert [Fri, 10 Mar 2006 13:10:23 +0000 (13:10 +0000)]
documentation changes, add spiffy links to trac

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

19 years agoonly prune cache once every 5 minutes, not every minute
Bert Hubert [Fri, 10 Mar 2006 13:05:40 +0000 (13:05 +0000)]
only prune cache once every 5 minutes, not every minute
we neglected to add the 'bootstrapping' script to the tarball, thanks to Stefan Arentz for noticing

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

19 years agomake zone2sql work again, thanks to Wolfram Schlich for providing fix
Bert Hubert [Mon, 6 Mar 2006 21:39:01 +0000 (21:39 +0000)]
make zone2sql work again, thanks to Wolfram Schlich for providing fix

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

19 years agofixed small but possibly relevant memory leak in mtasker on duplicate wait keys
Bert Hubert [Sat, 4 Mar 2006 23:59:30 +0000 (23:59 +0000)]
fixed small but possibly relevant memory leak in mtasker on duplicate wait keys
make dnsreplay_mindex compile again

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

19 years agoupdate copyright, add 64/32-bit notification for bi-arch users
Bert Hubert [Sat, 4 Mar 2006 11:59:12 +0000 (11:59 +0000)]
update copyright, add 64/32-bit notification for bi-arch users

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

19 years agoThe PowerDNS recursor did not use to try all IP addresses of a nameserver!
Bert Hubert [Sat, 4 Mar 2006 11:42:37 +0000 (11:42 +0000)]
The PowerDNS recursor did not use to try all IP addresses of a nameserver!
It does so now, as explained in http://mailman.powerdns.com/pipermail/pdns-users/2006-March/003101.html and
http://mailman.powerdns.com/pipermail/pdns-users/2006-March/003106.html

Thanks to Mark Martin for noticing this.

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

19 years agosome module g++ 4.1 cleanups
Bert Hubert [Sat, 4 Mar 2006 11:01:20 +0000 (11:01 +0000)]
some module g++ 4.1 cleanups

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

19 years agog++ 4.1 fixes (all trivial), copyright update
Bert Hubert [Thu, 2 Mar 2006 21:21:16 +0000 (21:21 +0000)]
g++ 4.1 fixes (all trivial), copyright update

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

19 years agoteach recursor to shuffle, by moving shuffle logic away from dnspacket.cc and into...
Bert Hubert [Thu, 2 Mar 2006 20:19:03 +0000 (20:19 +0000)]
teach recursor to shuffle, by moving shuffle logic away from dnspacket.cc and into misc.cc
silence an incorrect warning in dnspacket.cc
This closes ticket #54

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

19 years agonot a real fix for ticket #60, but it will have to do.
Bert Hubert [Thu, 2 Mar 2006 19:56:43 +0000 (19:56 +0000)]
not a real fix for ticket #60, but it will have to do.
The suggestion to silently omit unsupported record types won't do as it creates unnoticed inconsistencies.

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

19 years agoremove some duplicate ;'s
Bert Hubert [Thu, 2 Mar 2006 19:32:49 +0000 (19:32 +0000)]
remove some duplicate ;'s
teach dynhandler to reject non-ip address parameters to notify-host
plus defense in depth, make powerdns not exit if asked to notify non-ip address
Close ticket 24

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

19 years agofix min/max types - freebsd went to 64 bit time_t in 6.0
Bert Hubert [Mon, 30 Jan 2006 15:36:45 +0000 (15:36 +0000)]
fix min/max types - freebsd went to 64 bit time_t in 6.0

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

19 years agoArjo Hooimeijer added support for soa-refresh-default, soa-retry-default, soa-expire...
Bert Hubert [Sun, 22 Jan 2006 20:06:36 +0000 (20:06 +0000)]
Arjo Hooimeijer added support for soa-refresh-default, soa-retry-default, soa-expire-default, which were previously hardcoded

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

19 years agofix problem reported by Lionel Elie Mamane (who also sent a patch, fixed it different...
Bert Hubert [Wed, 18 Jan 2006 22:33:58 +0000 (22:33 +0000)]
fix problem reported by Lionel Elie Mamane (who also sent a patch, fixed it differently though)

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

19 years agoopendbx updates by Norbert
Bert Hubert [Wed, 18 Jan 2006 22:01:16 +0000 (22:01 +0000)]
opendbx updates by Norbert

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

19 years agoadd opendbx to tar.gz
Bert Hubert [Sun, 15 Jan 2006 22:32:23 +0000 (22:32 +0000)]
add opendbx to tar.gz

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

19 years agoadd opendbx
Bert Hubert [Sun, 15 Jan 2006 21:26:03 +0000 (21:26 +0000)]
add opendbx
speedup in dnswriter (CHECK!)
add publish to auto-build

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

19 years agoapplied Norbert's patch, which closes ticket #37
Bert Hubert [Sun, 15 Jan 2006 21:03:43 +0000 (21:03 +0000)]
applied Norbert's patch, which closes ticket #37

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

19 years agoauto build script
Bert Hubert [Sat, 14 Jan 2006 21:13:12 +0000 (21:13 +0000)]
auto build script

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

19 years agophase out sudo for fakeroot
Bert Hubert [Sat, 14 Jan 2006 20:20:17 +0000 (20:20 +0000)]
phase out sudo for fakeroot

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

19 years agoupdate version, missed -1
Bert Hubert [Sat, 14 Jan 2006 20:11:25 +0000 (20:11 +0000)]
update version, missed -1

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

19 years agoadd ccache
Bert Hubert [Sat, 14 Jan 2006 20:07:34 +0000 (20:07 +0000)]
add ccache

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

19 years agoadd readme, add distcc
Bert Hubert [Sat, 14 Jan 2006 20:02:35 +0000 (20:02 +0000)]
add readme, add distcc

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

19 years agochange version number
Bert Hubert [Sat, 14 Jan 2006 19:29:35 +0000 (19:29 +0000)]
change version number

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

19 years agofix dnsscope
Bert Hubert [Mon, 12 Dec 2005 18:42:20 +0000 (18:42 +0000)]
fix dnsscope

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

19 years agoactually make lock skipping work
Bert Hubert [Sun, 13 Nov 2005 10:35:17 +0000 (10:35 +0000)]
actually make lock skipping work

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

19 years agoadd missing ./configure support for gcc locking hack
Bert Hubert [Sat, 12 Nov 2005 20:32:21 +0000 (20:32 +0000)]
add missing ./configure support for gcc locking hack

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

19 years agomove recursor to 'hash_map'
Bert Hubert [Sat, 12 Nov 2005 15:17:49 +0000 (15:17 +0000)]
move recursor to 'hash_map'
remove optString 'optimization' which turned to make things worse
redo storage model of records

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

19 years agomove mtasker 'waiter' structure to boost::multi_index so schedule() is no longer...
Bert Hubert [Sat, 12 Nov 2005 15:13:00 +0000 (15:13 +0000)]
move mtasker 'waiter' structure to boost::multi_index so schedule() is no longer the prime cpu user when waiting for 1000 packets

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

19 years agoPipebackend did not properly propagate pipebackend-abi-version. This closes #45 by...
Bert Hubert [Fri, 11 Nov 2005 21:02:51 +0000 (21:02 +0000)]
Pipebackend did not properly propagate pipebackend-abi-version. This closes #45 by 'kickdaddy@gmail.com'

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

19 years agobig speedup in endsOn
Bert Hubert [Fri, 11 Nov 2005 12:45:31 +0000 (12:45 +0000)]
big speedup in endsOn

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

19 years agobig rename, arg() -> ::arg(), bind() -> ::bind()
Bert Hubert [Fri, 11 Nov 2005 11:57:50 +0000 (11:57 +0000)]
big rename, arg() -> ::arg(), bind() -> ::bind()
remove a read from the configuration from out of the loop - we looked stuff up per packet
add pruning of nsspeeds

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

19 years agomove to 'floats' for nameserver statistics - we don't need 80 bits of precision!
Bert Hubert [Fri, 11 Nov 2005 11:41:39 +0000 (11:41 +0000)]
move to 'floats' for nameserver statistics - we don't need 80 bits of precision!
remove some spurious logging that was slowing powerdns down - logging that would never be displayed
parametrise namesever stats and query throttling for possible move to other containers
add support for pruning these stats

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

19 years agospeedups + move to dns_isspace
Bert Hubert [Fri, 11 Nov 2005 11:34:28 +0000 (11:34 +0000)]
speedups + move to dns_isspace

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

19 years agophase out tolower and isspace for dns_tolower and dns_isspace to prevent locale calls...
Bert Hubert [Fri, 11 Nov 2005 11:33:25 +0000 (11:33 +0000)]
phase out tolower and isspace for dns_tolower and dns_isspace to prevent locale calls we don't need

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

19 years agoqtype speedup - lack of a direct copy constructor caused heaps of string conversions
Bert Hubert [Fri, 11 Nov 2005 11:24:21 +0000 (11:24 +0000)]
qtype speedup - lack of a direct copy constructor caused heaps of string conversions

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

19 years agoFix 'same level NS referral', as exemplified by the new same-level-referrel regressio...
Bert Hubert [Fri, 11 Nov 2005 11:17:47 +0000 (11:17 +0000)]
Fix 'same level NS referral', as exemplified by the new same-level-referrel regression test.
This solves where the zone contains 'france.example.com NS somewhere.com' and a query comes in for 'france.example.com'
This problem was new in 2.9.19, caused by the cname/wildcard patches
(plus removal of an unused file)

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

19 years agothis commit fixes ticket #29 properly, thanks to Bernd Froemel for reporting.
Bert Hubert [Fri, 11 Nov 2005 11:15:18 +0000 (11:15 +0000)]
this commit fixes ticket #29 properly, thanks to Bernd Froemel for reporting.
Very slight security risk.

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

19 years agoallow a '/' in domain names, which is sometimes used for classless in-addr.arpa deleg...
Bert Hubert [Wed, 2 Nov 2005 17:01:11 +0000 (17:01 +0000)]
allow a '/' in domain names, which is sometimes used for classless in-addr.arpa delegations, reported by Volker Goetz

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

19 years agoback out optString for now
Bert Hubert [Wed, 2 Nov 2005 15:22:59 +0000 (15:22 +0000)]
back out optString for now
special-special case MemRecursorCache::replace for the even more common case where nothing changed except the ttls

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

19 years agofix pruning of negcache
Bert Hubert [Wed, 2 Nov 2005 14:27:31 +0000 (14:27 +0000)]
fix pruning of negcache
specialize the common case where we see identical information coming in, and only update the ttd

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

19 years agomemory hole you can drive a truck through..
Bert Hubert [Tue, 1 Nov 2005 10:35:37 +0000 (10:35 +0000)]
memory hole you can drive a truck through..

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

19 years agonot only convert error into proper exception, catch it as well
Bert Hubert [Mon, 31 Oct 2005 19:45:06 +0000 (19:45 +0000)]
not only convert error into proper exception, catch it as well

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

19 years agooops - exception could escape, which could make the pdns_recursor keel over
Bert Hubert [Mon, 31 Oct 2005 18:07:49 +0000 (18:07 +0000)]
oops - exception could escape, which could make the pdns_recursor keel over

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

19 years agolast minute release fixups
Bert Hubert [Sat, 29 Oct 2005 17:01:04 +0000 (17:01 +0000)]
last minute release fixups

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

19 years agodocumentation updates
Bert Hubert [Sat, 29 Oct 2005 15:45:03 +0000 (15:45 +0000)]
documentation updates

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

19 years agoremove - this file has no reason to be in svn
Bert Hubert [Sat, 29 Oct 2005 13:07:45 +0000 (13:07 +0000)]
remove - this file has no  reason to be in svn

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

19 years agodrop pcap.h dependency
Bert Hubert [Sat, 29 Oct 2005 13:04:20 +0000 (13:04 +0000)]
drop pcap.h dependency

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

19 years agodocument bugfix in previous commit
Bert Hubert [Fri, 28 Oct 2005 23:05:40 +0000 (23:05 +0000)]
document bugfix in previous commit
fix named.conf include file problem reported in http://mailman.powerdns.com/pipermail/pdns-dev/2005-October/000361.html

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

19 years agomake pipe backend clean up after itself, fixing the problem reported in
Bert Hubert [Fri, 28 Oct 2005 22:34:49 +0000 (22:34 +0000)]
make pipe backend clean up after itself, fixing the problem reported in
http://mailman.powerdns.com/pipermail/pdns-dev/2005-October/000360.html

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

19 years agoupdate TODO list
Bert Hubert [Wed, 26 Oct 2005 22:09:46 +0000 (22:09 +0000)]
update TODO list
some cosmetic changes in pdns_recursor
make dnsreplay_mindex compile again
improve 'trailing garbage' error
teach zone content input/output code about spaces in labels

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

19 years agoFinal fix for the AXFR problems, closing Debian bug 330184.
Bert Hubert [Sun, 23 Oct 2005 16:41:15 +0000 (16:41 +0000)]
Final fix for the AXFR problems, closing Debian bug 330184.
Improve incoming AXFR error reporting
document this for the release notes, plus add hints-file there

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

19 years agoremove silly debugging output
Bert Hubert [Sun, 23 Oct 2005 14:56:19 +0000 (14:56 +0000)]
remove silly debugging output

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

19 years agoadd beginning of next generation zoneparser
Bert Hubert [Sun, 23 Oct 2005 14:53:11 +0000 (14:53 +0000)]
add beginning of next generation zoneparser
add error checking to socket close - there are probably some duplicate closes around, causing havoc
add PTR to records that are propely parsed by the pdns_recursor
teach pdns_recursor to read hints from a zone file, "official" root is still in source
fix some --trace output that would look for .-terminated qnames
document hints-file

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

19 years agofix some bogus possible closes in resolver.cc (which should be eradicated with a...
Bert Hubert [Thu, 20 Oct 2005 21:20:50 +0000 (21:20 +0000)]
fix some bogus possible closes in resolver.cc (which should be eradicated with a vengeance)
add max-tcp-sessions to documentation
fix some trace outout in syncres
remove some bogus windows code

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

19 years agoadd provisional release notes for 2.9.19
Bert Hubert [Sun, 16 Oct 2005 19:55:38 +0000 (19:55 +0000)]
add provisional release notes for 2.9.19
implement our '.-policy': we always write out zones with a dot in RecordTextWriter and always expect one
in RecordTextReader. This has upset the pdns_recursor, which has been adapted to deal with it.
janitorial fixes to sdig
fix bug: actual queries for CNAMES got wrong RCODE, depending on compiler memory layout

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

19 years agomake ./configure fail if Boost is not installed, and give out helpful tip
Bert Hubert [Sun, 16 Oct 2005 15:36:51 +0000 (15:36 +0000)]
make ./configure fail if Boost is not installed, and give out helpful tip
add code to send out root referrals for unauth domains
and documentation --send-root-referral
remove some bogus errors on EINTR (there is a remaining bug out there)
prepare MOADNSParser for record types for which only the name is known, and no maker functions
expand and improve EDNS0 parsing code
templatize optString
fix qtype name reporting in pdns_recorsor (regressed during move to MOADNSParser)
make sure outgoing queries are randomised again (regressed etc)
complete AAAA support in MOADNSParser/generator stuff

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

19 years agoadd support for properly truncating records in the pdns_recursor again (was removed...
Bert Hubert [Sun, 16 Oct 2005 11:47:22 +0000 (11:47 +0000)]
add support for properly truncating records in the pdns_recursor again (was removed during upgrade to MOADNS stuff)
we can now rollback records
add support for honouring EDNS0 queries to pdns_recursor - turns out clients don't use it
EDNS0 parsing code added to MOADNSParser
properly copy recursion desired flag in

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