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

19 years agofix compilation of dnsreplay
Bert Hubert [Mon, 10 Oct 2005 21:30:52 +0000 (21:30 +0000)]
fix compilation of dnsreplay
move pdns_recursor cache to 'optString', which uses placement-new hacks
make pdns_recursor set query-response bit
(reminder: make it ignore questions with query-response!)
improve error reporting in pdns_recursor a bit
some more experiments in dnspbench

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

19 years agofix 1.2.3.4 reporting instead of real addresses in recursor
Bert Hubert [Mon, 10 Oct 2005 20:06:33 +0000 (20:06 +0000)]
fix 1.2.3.4 reporting instead of real addresses in recursor
add some comments

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

19 years agothe gist is: move pdns_recursor over to new {zone,packet}-{parser,generator} stuff
Bert Hubert [Mon, 10 Oct 2005 19:42:06 +0000 (19:42 +0000)]
the gist is: move pdns_recursor over to new {zone,packet}-{parser,generator} stuff
this means the pdns_recursor does not use DNSPacket anymore (yay)
Commit adds:
d_qtype storage to all DNSRecordContent classes
infrastructure to extract *only* the record for a packet, assuming it came with a qname
add reportAllTypes() if you want to be able to parse all types,
reportBasicTypes() for the pdns_recursor
reportOtherTypes() if you want the rest too
updates Makefile.am so everything compiles again
fix endian issues in packetwriter/parser
  remove virtualness/inheritance from the pdns_recursor storage cache (teeny speedup)
Things might be a bit scary in the recursor now.

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

19 years agoexpose dnsheader
Bert Hubert [Sat, 8 Oct 2005 22:02:40 +0000 (22:02 +0000)]
expose dnsheader
shave off one call to random() on construction - go add your own random

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

19 years agohook up zonemakers
Bert Hubert [Sat, 8 Oct 2005 22:01:08 +0000 (22:01 +0000)]
hook up zonemakers
add some stubs to make things compile, but not yet work (NSEC parsing, AAAA parsing)

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

19 years agomake RFC 3597 'Handling of Unknown DNS Resource Record (RR) Types' support compliant
Bert Hubert [Sat, 8 Oct 2005 21:58:44 +0000 (21:58 +0000)]
make RFC 3597 'Handling of Unknown DNS Resource Record (RR) Types' support compliant
make toPacket virtual & mandatory for all records
add register of zmakers that convert from zone to native DNSRecords
rebase d_place enum so it agrees with rest of pdns - we will have to move to one ENUM
add documentation to MOADNSParser
make sure 'www.powerdns.com' does not come out as 'www.powerdns.com.' and that root comes out as ''

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

19 years agofix double-srv regression test error
Bert Hubert [Sat, 8 Oct 2005 16:12:49 +0000 (16:12 +0000)]
fix double-srv regression test error
add label compression to dnswriter, make parser, string parser, sting generator ignore that
make mx, cname, ptr, ns, soa do label compression
fix string parser to not add a trailing . when no zone is configured for expansion
add some comments to DNSPacketWriter
add dnspbench to benchmark and test the new infrastructure away from sdig
new infra appears to generate 100.000 simple packets/s on 1.4GHz
remove a warning in misc.cc

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

19 years agoFix the bug reported in http://mailman.powerdns.com/pipermail/pdns-users/2005-October...
Bert Hubert [Tue, 4 Oct 2005 17:55:01 +0000 (17:55 +0000)]
Fix the bug reported in http://mailman.powerdns.com/pipermail/pdns-users/2005-October/002703.html
regarding duplicate SRV records with differing weights being weeded down to one.
Plus add a regression test for this

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

19 years agoadd OPT pseudo-record support
Bert Hubert [Sun, 2 Oct 2005 18:49:31 +0000 (18:49 +0000)]
add OPT pseudo-record support
teach DNSPacketWriter about differing sections - answer, auth, additional
add convenience addOpt() function
add setRD() to set recursion desired flag
make sure --trace disables --quiet in pdns_recursor
increase buffer size of Socket to deal with huge fragmented DNSSEC packets

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

19 years agocreate more xfrType
Bert Hubert [Sun, 2 Oct 2005 16:39:31 +0000 (16:39 +0000)]
create more xfrType
create xfrTime for DNSSEC timestamps (with our own y2038 bug!)
hook up xfrTime - our output is now equivalent to that of the latest bind dig I for all queries I can try

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

19 years agofix NSEC parsing from zone
Bert Hubert [Sun, 2 Oct 2005 15:36:16 +0000 (15:36 +0000)]
fix NSEC parsing from zone
answers got wrong qname
add 'xfrType'

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

19 years agoadd support for blobs and 8 bit ints to the magical symmetrical transfer machinery
Bert Hubert [Sun, 2 Oct 2005 13:28:51 +0000 (13:28 +0000)]
add support for blobs and 8 bit ints to the magical symmetrical transfer machinery
add support for DNSSEC records to MOADNSParser! Tested except for DS, can't find a live DS record.
add support for RP and other odd records to MOADNSParser
except for LOC we are complete now

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

19 years agoremove base64 stuff from webserver
Bert Hubert [Sun, 2 Oct 2005 13:25:04 +0000 (13:25 +0000)]
remove base64 stuff from webserver
add makeHexDump convenience function

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

19 years agosplit out base64 en/decoding
Bert Hubert [Sun, 2 Oct 2005 13:23:17 +0000 (13:23 +0000)]
split out base64 en/decoding

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

19 years agofurther reduction in code, a typical DNS record implementation now only
Bert Hubert [Sun, 2 Oct 2005 01:16:44 +0000 (01:16 +0000)]
further reduction in code, a typical DNS record implementation now only
takes a few lines of code because we benefit from the symmetry between packet writing, reading,
record content reading, record content writing

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

19 years agoadd some license statements
Bert Hubert [Sat, 1 Oct 2005 18:20:46 +0000 (18:20 +0000)]
add some license statements
add 'record content parser/generator' for more symmetry in dnsrecords.cc

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

19 years agofix bindbackend auto-zone reloading
Bert Hubert [Sun, 25 Sep 2005 20:43:11 +0000 (20:43 +0000)]
fix bindbackend auto-zone reloading
fix some typos

yay commit #500!

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

19 years agomove over more records to the new unified parsing/generating setup
Bert Hubert [Sun, 25 Sep 2005 20:38:59 +0000 (20:38 +0000)]
move over more records to the new unified parsing/generating setup
add SRV record support to MOADNSParser
add a SRV record regression test

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

19 years agoadd shims so the packetreader is symmetrical with the dnspacketwriter
Bert Hubert [Sun, 25 Sep 2005 17:20:54 +0000 (17:20 +0000)]
add shims so the packetreader is symmetrical with the dnspacketwriter
make dnsparser do slightly more bounds checking

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

19 years agothe magic 'turn the parser into a generator' work
Bert Hubert [Sun, 25 Sep 2005 17:16:48 +0000 (17:16 +0000)]
the magic 'turn the parser into a generator' work

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

19 years agogive pdns_control a --help option, you can also control different controlsockets
Bert Hubert [Sun, 25 Sep 2005 10:29:33 +0000 (10:29 +0000)]
give pdns_control a --help option, you can also control different controlsockets
fix compilation of ippreftree

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

19 years agomake bind configuration parser drop dots in zone names to save complaints about out...
Bert Hubert [Sat, 24 Sep 2005 18:23:49 +0000 (18:23 +0000)]
make bind configuration parser drop dots in zone names to save complaints about out of zone data
make out-of-zone check more case insensitive

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

19 years agofix parsing of NAPTR records in bind-style zonefiles
Bert Hubert [Sat, 24 Sep 2005 17:27:19 +0000 (17:27 +0000)]
fix parsing of NAPTR records in bind-style zonefiles
slight speedup in domain lookups
improve query-logging details for bindbackend

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

19 years agoimprove error checking for adding NAPTR records
Bert Hubert [Sat, 24 Sep 2005 17:06:55 +0000 (17:06 +0000)]
improve error checking for adding NAPTR records
no longer compress the replacement part of a NAPTR record

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

19 years agoadd help message on wrong invocation to sdig
Bert Hubert [Sat, 24 Sep 2005 17:05:45 +0000 (17:05 +0000)]
add help message on wrong invocation to sdig

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

19 years agoadd getText for NAPTR and TXT
Bert Hubert [Sat, 24 Sep 2005 17:05:23 +0000 (17:05 +0000)]
add getText for NAPTR and TXT

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

19 years agoadd NAPTR support to MOADNSParser
Bert Hubert [Sat, 24 Sep 2005 17:04:47 +0000 (17:04 +0000)]
add NAPTR support to MOADNSParser
add TXT support to MOADNSParser
fix bug hiding, turn out of bounds to a MOADNSException

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

19 years agoadd NAPTR test
Bert Hubert [Sat, 24 Sep 2005 17:01:27 +0000 (17:01 +0000)]
add NAPTR test
reinstate TXT test (sdig can now deal with it)

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

19 years agoadd 2 new regression tests
Bert Hubert [Sat, 10 Sep 2005 18:45:38 +0000 (18:45 +0000)]
add 2 new regression tests
add an additional zone for testing (test.com)
rename old test zone file to example.com
add some stuff to named.conf so Bind acts more like powerdns for comparison

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

19 years agoturn on out-of-zone-additional processing by default
Bert Hubert [Sat, 10 Sep 2005 18:42:42 +0000 (18:42 +0000)]
turn on out-of-zone-additional processing by default
fix the vaunted cname-and-wildcard issues (I think)
update ws.cc copyrights and fix tyop

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

19 years agoreorganize the 'performance' chapter of the documentation
Bert Hubert [Sat, 10 Sep 2005 15:08:12 +0000 (15:08 +0000)]
reorganize the 'performance' chapter of the documentation
improve compilation notes: http://doc.powerdns.com/compiling-powerdns.html

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

19 years agoimprove IPv6 'bound to' output, shift to [::]:port
Bert Hubert [Tue, 6 Sep 2005 21:19:50 +0000 (21:19 +0000)]
improve IPv6 'bound to' output, shift to [::]:port
(Thanks to Niels Bakker, Wichert Akkermans and Gerty de Wolf for suggestions)
split out ipv6 vs ipv4 statistics

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

19 years agomake record ordering more stable (mostly cosmetic, but makes regression testing easier)
Bert Hubert [Tue, 6 Sep 2005 20:39:09 +0000 (20:39 +0000)]
make record ordering more stable (mostly cosmetic, but makes regression testing easier)
fix sdig - MOADNSParser API changed
make bindbackend2 case-transparent, so a query for www.UpperCase.nl will not get an answer www.uppercase.nl

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

19 years agoupdate README to remind tester of --no-shuffle
Bert Hubert [Tue, 6 Sep 2005 20:36:27 +0000 (20:36 +0000)]
update README to remind tester of --no-shuffle
fix cname-loop-breakout, the expected result was in error

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

19 years agoHEADS UP! Bind2backend is now in charge, bindbackend is now 'bind1'
Bert Hubert [Sun, 4 Sep 2005 19:48:46 +0000 (19:48 +0000)]
HEADS UP! Bind2backend is now in charge, bindbackend is now 'bind1'

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

19 years agoimprove locking
Bert Hubert [Sun, 4 Sep 2005 19:38:38 +0000 (19:38 +0000)]
improve locking

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

19 years agowhip bindbackend2 into shape
Bert Hubert [Sun, 4 Sep 2005 19:22:20 +0000 (19:22 +0000)]
whip bindbackend2 into shape
improve axfr error message

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

19 years agoadd some whitespace, add comments to help me understand
Bert Hubert [Sun, 4 Sep 2005 10:59:51 +0000 (10:59 +0000)]
add some whitespace, add comments to help me understand

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

19 years agomake AXFR zone ordering more stable
Bert Hubert [Sat, 3 Sep 2005 20:23:15 +0000 (20:23 +0000)]
make AXFR zone ordering more stable
fix bind2-reload-now (or queueReload in general)
fix d_tcp non-updating, which might also have been causing failing axfrs for some people
fix error report for bind2-reload-now with non-existing domain
stop shuffling axfrs (bah)

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

19 years agoMove from u_intxx_t to uintxx_t typedefs, which are preferred:
Bert Hubert [Sat, 3 Sep 2005 18:15:37 +0000 (18:15 +0000)]
Move from u_intxx_t to uintxx_t typedefs, which are preferred:
http://lists.freedesktop.org/pipermail/release-wranglers/2004-August/000926.html
http://www.oreillynet.com/pub/a/network/2003/10/07/michael_barr.html

massive removal of windows style line-endings

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

19 years agobind2backend documentation and variable renaming
Bert Hubert [Sat, 3 Sep 2005 18:01:56 +0000 (18:01 +0000)]
bind2backend documentation and variable renaming

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

19 years agoupdate copyrights, license clarification
Bert Hubert [Sat, 3 Sep 2005 14:02:16 +0000 (14:02 +0000)]
update copyrights, license clarification
fix wrong pdns_control notify-host help message

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

19 years agoadd check for boost to configure.in
Bert Hubert [Sat, 3 Sep 2005 12:51:42 +0000 (12:51 +0000)]
add check for boost to configure.in
fix ticket #7 'BindBackend2 $INCLUDE doesn't always take zone directory into account' - thanks Mark Bergsma!

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

19 years agothis works better on freebsd
Bert Hubert [Sat, 3 Sep 2005 12:20:37 +0000 (12:20 +0000)]
this works better on freebsd

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

19 years agofirst stab at SPF support, which closes ticket #22
Bert Hubert [Sat, 3 Sep 2005 12:00:21 +0000 (12:00 +0000)]
first stab at SPF support, which closes ticket #22
Please test!

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

19 years agofix for mtasker on solaris
Bert Hubert [Sat, 3 Sep 2005 11:42:25 +0000 (11:42 +0000)]
fix for mtasker on solaris

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

19 years agozonk yet more gettimeofday calls
Bert Hubert [Fri, 2 Sep 2005 15:04:42 +0000 (15:04 +0000)]
zonk yet more gettimeofday calls

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

19 years agoremove quite a number of gettimeofday calls
Bert Hubert [Fri, 2 Sep 2005 14:53:40 +0000 (14:53 +0000)]
remove quite a number of gettimeofday calls

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

19 years agomove to new 'wait with select' system
Bert Hubert [Fri, 2 Sep 2005 13:11:12 +0000 (13:11 +0000)]
move to new 'wait with select' system

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

19 years agomake waitForData accept microseconds waitint time as well
Bert Hubert [Fri, 2 Sep 2005 13:10:52 +0000 (13:10 +0000)]
make waitForData accept microseconds waitint time as well

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

19 years agothrottle would return undefined values
Bert Hubert [Fri, 2 Sep 2005 13:10:17 +0000 (13:10 +0000)]
throttle would return undefined values

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

19 years agooops - we erased from under us, which leads g++ 4.0.1 compiled versions to crash...
Bert Hubert [Fri, 2 Sep 2005 10:54:23 +0000 (10:54 +0000)]
oops - we erased from under us, which leads g++ 4.0.1 compiled versions to crash (our own fault)

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

19 years agomake recursor quiet by default
Bert Hubert [Thu, 1 Sep 2005 18:35:10 +0000 (18:35 +0000)]
make recursor quiet by default
update to 2.9.19-svn version
work on dnsreplay

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

19 years agoupdate our doxygen configuration
Bert Hubert [Thu, 1 Sep 2005 18:33:50 +0000 (18:33 +0000)]
update our doxygen configuration

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

19 years agoadd dnsreplay based on boost multi-index
Bert Hubert [Mon, 22 Aug 2005 12:15:11 +0000 (12:15 +0000)]
add dnsreplay based on boost multi-index
remove dirty pthread hacks for now

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

19 years agomove semaphore parts to separate file so we can build stuff w/o threads
Bert Hubert [Mon, 22 Aug 2005 12:12:29 +0000 (12:12 +0000)]
move semaphore parts to separate file so we can build stuff w/o threads

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

19 years agofix AXFR bug with 0 question count packets. Reported by WideXS
Bert Hubert [Mon, 22 Aug 2005 12:10:45 +0000 (12:10 +0000)]
fix AXFR bug with 0 question count packets. Reported by WideXS

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

19 years agomassively improve dnsreplay performance
Bert Hubert [Sun, 14 Aug 2005 20:14:13 +0000 (20:14 +0000)]
massively improve dnsreplay performance
fix timeout logic
make sure it compiles w/o threads

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

19 years agomove to 'eternal wait' model
Bert Hubert [Sun, 14 Aug 2005 14:38:55 +0000 (14:38 +0000)]
move to 'eternal wait' model

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

19 years agosame as previous
Bert Hubert [Thu, 11 Aug 2005 18:16:02 +0000 (18:16 +0000)]
same as previous

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

19 years agoremote mentions of wiggy in control file
Bert Hubert [Wed, 20 Jul 2005 13:41:23 +0000 (13:41 +0000)]
remote mentions of wiggy in control file

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

19 years agoldap compilation fixes
Bert Hubert [Wed, 20 Jul 2005 13:37:14 +0000 (13:37 +0000)]
ldap compilation fixes

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

19 years agolots stricter DNS name validation - candidate for 2.9.18.1.
Bert Hubert [Mon, 18 Jul 2005 06:33:42 +0000 (06:33 +0000)]
lots stricter DNS name validation - candidate for 2.9.18.1.

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