]> granicus.if.org Git - pdns/log
pdns
18 years agotag! rec-3.1.2
Bert Hubert [Tue, 27 Jun 2006 19:49:04 +0000 (19:49 +0000)]
tag!

git-svn-id: svn://svn.powerdns.com/pdns/tags/pdns-recursor-rel-3.1.2@864 d19b8d6e-7fed-0310-83ef-9ca221ded41b

18 years agochangelog, build things for 4.1.1
Bert Hubert [Mon, 26 Jun 2006 05:19:16 +0000 (05:19 +0000)]
changelog, build things for 4.1.1

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

18 years agomake dnswasher compile again
Bert Hubert [Sun, 25 Jun 2006 19:34:49 +0000 (19:34 +0000)]
make dnswasher compile again

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

18 years agochange version
Bert Hubert [Sun, 25 Jun 2006 12:10:51 +0000 (12:10 +0000)]
change version

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

18 years agofix for epoll on debian default 2.6.8 kernel, found & suggested by Christof Meerwald
Bert Hubert [Fri, 23 Jun 2006 14:49:14 +0000 (14:49 +0000)]
fix for epoll on debian default 2.6.8 kernel, found & suggested by Christof Meerwald

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

18 years agoadd support for class=ANY queries.
Bert Hubert [Fri, 23 Jun 2006 14:44:09 +0000 (14:44 +0000)]
add support for class=ANY queries.

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

18 years agofix odd TCP query bugs that could lead to memory leaks and high cpu usage, thanks...
Bert Hubert [Wed, 21 Jun 2006 20:30:35 +0000 (20:30 +0000)]
fix odd TCP query bugs that could lead to memory leaks and high cpu usage, thanks to Bryan Seitz for noticing and debugging

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

18 years agofix up dnsscan a bit (internal tool), change version to 3.1.2-rc1
Bert Hubert [Sun, 18 Jun 2006 17:47:03 +0000 (17:47 +0000)]
fix up dnsscan a bit (internal tool), change version to 3.1.2-rc1

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

18 years agocache now prefers authoritative data, suggested and explained by Darren
Bert Hubert [Sun, 18 Jun 2006 17:44:02 +0000 (17:44 +0000)]
cache now prefers authoritative data, suggested and explained by Darren
Gamble

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

18 years agoslight speedup by testing the TCP sessions for timeouts less often, add 'current...
Bert Hubert [Sat, 17 Jun 2006 14:03:27 +0000 (14:03 +0000)]
slight speedup by testing the TCP sessions for timeouts less often, add 'current-queries' command which lists current outstanding queries

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

18 years agokill some debugging output, make ANY queries work again..
Bert Hubert [Fri, 16 Jun 2006 14:40:12 +0000 (14:40 +0000)]
kill some debugging output, make ANY queries work again..

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

18 years agodrop yet more calles to gettimeofday() and time(0)
Bert Hubert [Fri, 16 Jun 2006 12:35:04 +0000 (12:35 +0000)]
drop yet more calles to gettimeofday() and time(0)

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

18 years agobig speedup
Bert Hubert [Fri, 16 Jun 2006 10:01:14 +0000 (10:01 +0000)]
big speedup

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

18 years agoprevent silly logging of stats on startup of a busy server
Bert Hubert [Thu, 15 Jun 2006 20:13:33 +0000 (20:13 +0000)]
prevent silly logging of stats on startup of a busy server

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

18 years agotiny speedups, raise version. should save around 20 microseconds/packet
Bert Hubert [Wed, 14 Jun 2006 21:37:47 +0000 (21:37 +0000)]
tiny speedups, raise version. should save around 20 microseconds/packet

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

18 years agooops - when exceeding configured TCP query limit, we would disable TCP sockets, but...
Bert Hubert [Fri, 9 Jun 2006 15:13:34 +0000 (15:13 +0000)]
oops - when exceeding configured TCP query limit, we would disable TCP sockets, but reenable the UDP sockets as TCP ones..

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

18 years agooops, internal authoritative server did not differentiate between NXDOMAIN and 'NXRRSET'.
Bert Hubert [Thu, 8 Jun 2006 20:30:21 +0000 (20:30 +0000)]
oops, internal authoritative server did not differentiate between NXDOMAIN and 'NXRRSET'.
Thanks to Bryan Seitz <seitz@bsd-unix.net> for noticing

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

18 years agonon-rd queries checked the cache first and auth/forward data later, which is confusin...
Bert Hubert [Thu, 8 Jun 2006 19:08:39 +0000 (19:08 +0000)]
non-rd queries checked the cache first and auth/forward data later, which is confusing and wrong

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

18 years agoadd simple non-rd auth & forward support
Bert Hubert [Wed, 7 Jun 2006 19:51:19 +0000 (19:51 +0000)]
add simple non-rd auth & forward support

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

18 years agoadd support to make powerdns able to listen on multiple different ports, per local...
Bert Hubert [Tue, 6 Jun 2006 21:03:29 +0000 (21:03 +0000)]
add support to make powerdns able to listen on multiple different ports, per local-address.
Accepts [::1]:5300 syntax and 127.0.0.1:5300

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

18 years agoadd ignore-rd-bit for compatability with some load balancers - PowerDNS does not...
Bert Hubert [Tue, 6 Jun 2006 19:55:28 +0000 (19:55 +0000)]
add ignore-rd-bit for compatability with some load balancers - PowerDNS does not consult its forwarder servers for non-rd queries, this is a quick workaround

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

19 years agomake query chaining select on type as well..
Bert Hubert [Tue, 23 May 2006 22:41:04 +0000 (22:41 +0000)]
make query chaining select on type as well..

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

19 years agoversion update, release notes..
Bert Hubert [Tue, 23 May 2006 22:39:52 +0000 (22:39 +0000)]
version update, release notes..

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

19 years agoversion updates
Bert Hubert [Tue, 23 May 2006 21:35:41 +0000 (21:35 +0000)]
version updates

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

19 years agoadd linux 'cooked' packet support to dnsscope, dnsreplay, dnslog etc
Bert Hubert [Tue, 23 May 2006 10:02:28 +0000 (10:02 +0000)]
add linux 'cooked' packet support to dnsscope, dnsreplay, dnslog etc

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

19 years agopossibly fix a bug in user/system CPU reporting after prolonged periods of uptime
Bert Hubert [Sun, 21 May 2006 17:18:23 +0000 (17:18 +0000)]
possibly fix a bug in user/system CPU reporting after prolonged periods of uptime

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

19 years agomake RFC 2181 'authoritative zone can lower NS TTL' configurable and off by default...
Bert Hubert [Fri, 19 May 2006 14:35:27 +0000 (14:35 +0000)]
make RFC 2181 'authoritative zone can lower NS TTL' configurable and off by default, as it serves no purpose

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

19 years agofix 'perpetually self-reviving NS records', as noted by Darren Gamble, see
Bert Hubert [Fri, 19 May 2006 13:29:36 +0000 (13:29 +0000)]
fix 'perpetually self-reviving NS records', as noted by Darren Gamble, see
http://mailman.powerdns.com/pipermail/pdns-users/2006-May/003413.html

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

19 years agofollow rfc 2181 for now
Bert Hubert [Tue, 16 May 2006 12:38:27 +0000 (12:38 +0000)]
follow rfc 2181 for now

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

19 years agomakes things react quicker if the network was down and is now up
Bert Hubert [Fri, 12 May 2006 17:23:41 +0000 (17:23 +0000)]
makes things react quicker if the network was down and is now up

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

19 years agoimplement query chaining to prevent even the 1 second burst of duplicate questions
Bert Hubert [Fri, 12 May 2006 14:53:16 +0000 (14:53 +0000)]
implement query chaining to prevent even the 1 second burst of duplicate questions

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

19 years agoadd 'chain' to PacketID, shift ordering so it can be used for chaining, add 'birthday...
Bert Hubert [Fri, 12 May 2006 14:49:52 +0000 (14:49 +0000)]
add 'chain' to PacketID, shift ordering so it can be used for chaining, add 'birthday' ordering

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

19 years agorandom
Bert Hubert [Fri, 12 May 2006 13:04:09 +0000 (13:04 +0000)]
random

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

19 years agoversion update, typoe
Bert Hubert [Fri, 12 May 2006 12:22:48 +0000 (12:22 +0000)]
version update, typoe

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

19 years agoraise version, fix compilation on solaris10
Bert Hubert [Fri, 12 May 2006 12:16:55 +0000 (12:16 +0000)]
raise version, fix compilation on solaris10

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

19 years agoIPv6 link local net appears to be fe80::/10 and not fe80::/16 (thanks Niels B)
Bert Hubert [Wed, 10 May 2006 15:20:22 +0000 (15:20 +0000)]
IPv6 link local net appears to be fe80::/10 and not fe80::/16 (thanks Niels B)

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

19 years agodocument release notes, update version in several places
Bert Hubert [Mon, 8 May 2006 19:02:18 +0000 (19:02 +0000)]
document release notes, update version in several places

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

19 years agofix duplicate reporting of remotes in top-remotes
Bert Hubert [Mon, 8 May 2006 19:01:05 +0000 (19:01 +0000)]
fix duplicate reporting of remotes in top-remotes
fix keeping port in mapIPv6toIPv4.

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

19 years agoimplement 'back mapping' for IPv4 addresses mapped to IPv6, so things 'just work...
Bert Hubert [Mon, 8 May 2006 07:15:35 +0000 (07:15 +0000)]
implement 'back mapping' for IPv4 addresses mapped to IPv6, so things 'just work' and there is no need to manually map
IPv4 addresses to IPv6 for allow-from. Noted by Marcus Rueckert.
Added ::1/128 to default allow-from, as well as fe80::/16.

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

19 years agolog startup errors as well, suggested by Marcus Rueckert
Bert Hubert [Mon, 8 May 2006 05:57:27 +0000 (05:57 +0000)]
log startup errors as well, suggested by Marcus Rueckert

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

19 years agoupdate version, fix const correctness for VC++
Bert Hubert [Sat, 6 May 2006 21:15:19 +0000 (21:15 +0000)]
update version, fix const correctness for VC++

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

19 years agoimplement reload-zones
Bert Hubert [Sat, 6 May 2006 19:50:46 +0000 (19:50 +0000)]
implement reload-zones
make loading zones do a 'round trip' of records to see if they make it alive
add 'unregistering' of record types (unused for now)
make zone loading a lot more helpful in reporting errors

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

19 years agomake preParseFile blank out a parameter it parses (might break auth powerdns)
Bert Hubert [Sat, 6 May 2006 19:49:28 +0000 (19:49 +0000)]
make preParseFile blank out a parameter it parses (might break auth powerdns)

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

19 years agook, the cache wiping bug mentioned in the release notes was NOT due to ubuntu, spotte...
Bert Hubert [Sat, 6 May 2006 18:26:21 +0000 (18:26 +0000)]
ok, the cache wiping bug mentioned in the release notes was NOT due to ubuntu, spotted by boost multi index container safe mode
valgrind spotted another bug where the 'out of band' resolver would not declare itself auth

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

19 years agoimplement improved control channel error logging
Bert Hubert [Sat, 6 May 2006 12:21:46 +0000 (12:21 +0000)]
implement improved control channel error logging
implement 2 week max ttl

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

19 years agoimplement RFC 2181 paragraph 5.2:
Bert Hubert [Fri, 5 May 2006 07:33:37 +0000 (07:33 +0000)]
implement RFC 2181 paragraph 5.2:

   Should an authoritative source send such a malformed RRSet, the
   client should treat the RRs for all purposes as if all TTLs in the
   RRSet had been set to the value of the lowest TTL in the RRSet.

Thanks to Stephen Harker for noticing in http://mailman.powerdns.com/pipermail/pdns-users/2006-May/003341.html

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

19 years agomake rec_control be more user friendly
Bert Hubert [Thu, 4 May 2006 06:58:59 +0000 (06:58 +0000)]
make rec_control be more user friendly
make wipe-cache accept non-dot terminated domain names
make wipe-cache return count of wiped ('wopen'?) domains
document best current practice when wiping (wipe more than www.domain, wipe domain as well)

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

19 years agothe eventlogger!
Bert Hubert [Sun, 30 Apr 2006 15:33:33 +0000 (15:33 +0000)]
the eventlogger!

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

19 years agomore logging && service fixes
Bert Hubert [Sun, 30 Apr 2006 15:29:11 +0000 (15:29 +0000)]
more logging && service fixes

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

19 years agowe are now a 'solution'
Bert Hubert [Sun, 30 Apr 2006 15:26:39 +0000 (15:26 +0000)]
we are now a 'solution'

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

19 years agoupgraded the project file
Bert Hubert [Sun, 30 Apr 2006 15:25:57 +0000 (15:25 +0000)]
upgraded the project file

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

19 years agoreinstated hooks to NT event log
Bert Hubert [Sun, 30 Apr 2006 15:25:15 +0000 (15:25 +0000)]
reinstated hooks to NT event log

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

19 years agoimplement 'netstringerror', to be called to report network errors
Bert Hubert [Sun, 30 Apr 2006 12:55:38 +0000 (12:55 +0000)]
implement 'netstringerror', to be called to report network errors

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

19 years agodist and windows makefile fixes
Bert Hubert [Sun, 30 Apr 2006 11:52:11 +0000 (11:52 +0000)]
dist and windows makefile fixes

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

19 years agotiny fixup
Bert Hubert [Sun, 30 Apr 2006 11:37:46 +0000 (11:37 +0000)]
tiny fixup

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

19 years agoreinstate windows 'service' support - untested
Bert Hubert [Sun, 30 Apr 2006 11:34:16 +0000 (11:34 +0000)]
reinstate windows 'service' support - untested

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

19 years agofix small possible bug found by debugging iterators
Bert Hubert [Sun, 30 Apr 2006 11:00:47 +0000 (11:00 +0000)]
fix small possible bug found by debugging iterators

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

19 years agofix bug in configuration file parsing found by the excelent g++ debugging iterators
Bert Hubert [Sun, 30 Apr 2006 10:50:10 +0000 (10:50 +0000)]
fix bug in configuration file parsing found by the excelent g++ debugging iterators
fix issues with outgoing tcp/ip traffic, caused by IPv6 merge

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

19 years agodistribution now makes a zip
Bert Hubert [Sun, 30 Apr 2006 10:22:21 +0000 (10:22 +0000)]
distribution now makes a zip
MS Visual C++ Express project

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

19 years agosilence msvc warnings a bit (I know about the _s functions)
Bert Hubert [Sun, 30 Apr 2006 10:21:59 +0000 (10:21 +0000)]
silence msvc warnings a bit (I know about the _s functions)

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

19 years agodon't do skip locking on msvc :-)
Bert Hubert [Sun, 30 Apr 2006 10:20:56 +0000 (10:20 +0000)]
don't do skip locking on msvc :-)

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

19 years agocentralise and fix 'packed' ugliness for EDNS0 and dnsrecordheader
Bert Hubert [Sun, 30 Apr 2006 10:18:28 +0000 (10:18 +0000)]
centralise and fix 'packed' ugliness for EDNS0 and dnsrecordheader
fix compilarion on FreeBSD

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

19 years agoBig bag of VC++ fixes, mostly by Michel 'Wimpie' Stol
Bert Hubert [Sat, 29 Apr 2006 21:49:33 +0000 (21:49 +0000)]
Big bag of VC++ fixes, mostly by Michel 'Wimpie' Stol

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

19 years agoadd Makefile for win32 (mingw based)
Bert Hubert [Sat, 29 Apr 2006 21:46:49 +0000 (21:46 +0000)]
add Makefile for win32 (mingw based)

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

19 years agomove some things to the #ifdef WIN32 block
Bert Hubert [Sat, 29 Apr 2006 16:56:18 +0000 (16:56 +0000)]
move some things to the #ifdef WIN32 block
trivial Utility moves
move from read to recv, write to send

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

19 years agotrivial moves to Utility::, use gmtime on windows instead of gmtime_r
Bert Hubert [Sat, 29 Apr 2006 16:55:04 +0000 (16:55 +0000)]
trivial moves to Utility::, use gmtime on windows instead of gmtime_r

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

19 years agopush some implementation down from rec_channel.hh to rec_channel.cc (and win32_rec_ch...
Bert Hubert [Sat, 29 Apr 2006 16:54:11 +0000 (16:54 +0000)]
push some implementation down from rec_channel.hh to rec_channel.cc (and win32_rec_channel.cc)
#ifdef out some things that we have no windows code for yet in rec_channel_rec.cc

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

19 years agodrop and add some includes, all trivial
Bert Hubert [Sat, 29 Apr 2006 16:51:53 +0000 (16:51 +0000)]
drop and add some includes, all trivial

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

19 years agothis is snapshot2
Bert Hubert [Sat, 29 Apr 2006 16:50:43 +0000 (16:50 +0000)]
this is snapshot2

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

19 years agosimple changes, gettimeofday -> Utility::gettimeofday etc
Bert Hubert [Sat, 29 Apr 2006 16:50:15 +0000 (16:50 +0000)]
simple changes, gettimeofday -> Utility::gettimeofday etc

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

19 years agoremove heap of structs XP no longer needs
Bert Hubert [Sat, 29 Apr 2006 16:49:33 +0000 (16:49 +0000)]
remove heap of structs XP no longer needs

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

19 years agoupdate bunch of win32 support libraries + add stub win32_rec_channel
Bert Hubert [Sat, 29 Apr 2006 16:48:48 +0000 (16:48 +0000)]
update bunch of win32 support libraries + add stub win32_rec_channel

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

19 years agocut our ties with arpa/nameser.h
Bert Hubert [Sat, 29 Apr 2006 16:46:46 +0000 (16:46 +0000)]
cut our ties with arpa/nameser.h

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

19 years agoupdate documentation with new features, fix built-in SOA
Bert Hubert [Sat, 29 Apr 2006 09:08:20 +0000 (09:08 +0000)]
update documentation with new features, fix built-in SOA

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

19 years agoimprove error reporting from houseKeeping(), fix bind on FreeBSD
Bert Hubert [Fri, 28 Apr 2006 18:28:50 +0000 (18:28 +0000)]
improve error reporting from houseKeeping(), fix bind on FreeBSD

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

19 years agomake our speed stats deal with multiple IP(v6) addresses per nameserver
Bert Hubert [Fri, 28 Apr 2006 16:50:10 +0000 (16:50 +0000)]
make our speed stats deal with multiple IP(v6) addresses per nameserver
move remaining sockaddr bits over to ComboAddress
make IPv6 outgoing support work, adding query-local-address6
add ipv6-outqueries counter

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

19 years agomake AAAA records be output on screen in a pretty way
Bert Hubert [Fri, 28 Apr 2006 16:39:51 +0000 (16:39 +0000)]
make AAAA records be output on screen in a pretty way

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

19 years agomake ComboAddress have an explicit string constructor, teach it operator> and operator==
Bert Hubert [Fri, 28 Apr 2006 16:00:00 +0000 (16:00 +0000)]
make ComboAddress have an explicit string constructor, teach it operator> and operator==

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

19 years agotune throttling, add unreachable accounting
Bert Hubert [Fri, 28 Apr 2006 10:13:44 +0000 (10:13 +0000)]
tune throttling, add unreachable accounting

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

19 years agoreplace ugly cache insertion/deleting code by nice alternative from Joaquin Lopez...
Bert Hubert [Fri, 28 Apr 2006 09:39:49 +0000 (09:39 +0000)]
replace ugly cache insertion/deleting code by nice alternative from Joaquin Lopez Munoz

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

19 years agoadd support for serving rfc-1918, on by default
Bert Hubert [Fri, 28 Apr 2006 09:17:17 +0000 (09:17 +0000)]
add support for serving rfc-1918, on by default
fix up the caching of ANY queries, should raise cache rate a lot
fix authoritative part, it messed up badly
SOA for autogenerated zones (both export-etc-hosts) was wrong
prevent duplicates when doing additional processing (showed up for ANY)
prettyprint 'ANY' instead of #255.

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

19 years agofix bug where we temporarily would not be doing negative caching for 5 minutes at...
Bert Hubert [Fri, 28 Apr 2006 07:14:14 +0000 (07:14 +0000)]
fix bug where we temporarily would not be doing negative caching for 5 minutes at a time after
1 hour of blanking out a domain. Apologies to the root-server operators and others.
Also, we did not limit the max negative caching time for all cases.

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

19 years agofix many documentation problems found by Seth Arnold
Bert Hubert [Thu, 27 Apr 2006 21:22:56 +0000 (21:22 +0000)]
fix many documentation problems found by Seth Arnold

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

19 years agoadd documentation for auth-zones, forward-zones and export-etc-hosts
Bert Hubert [Thu, 27 Apr 2006 17:25:22 +0000 (17:25 +0000)]
add documentation for auth-zones, forward-zones and export-etc-hosts

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

19 years agofix . zone refreshing bug (we didn't actually import what the root-servers were telli...
Bert Hubert [Thu, 27 Apr 2006 17:11:44 +0000 (17:11 +0000)]
fix . zone refreshing bug (we didn't actually import what the root-servers were telling us)
fix case of domain with nameservers with multiple IP addresses of which only one is lame
add: --auth-zones, --forward-zones and --export-etc-hosts

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

19 years agoupdate version
Bert Hubert [Thu, 27 Apr 2006 17:08:27 +0000 (17:08 +0000)]
update version

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

19 years agomake the zoneparser tng no longer suck
Bert Hubert [Thu, 27 Apr 2006 17:06:49 +0000 (17:06 +0000)]
make the zoneparser tng no longer suck

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

19 years agoadd isCanonical and toCanonic
Bert Hubert [Thu, 27 Apr 2006 17:04:14 +0000 (17:04 +0000)]
add isCanonical and toCanonic

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

19 years agoslight speedups, restore 'cache peaking' w/o being interested in the answers, only ttl
Bert Hubert [Thu, 27 Apr 2006 08:25:18 +0000 (08:25 +0000)]
slight speedups, restore 'cache peaking' w/o being interested in the answers, only ttl
add out of band resolving hook, empty

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

19 years agoadd some performance notes, and rfc deviation
Bert Hubert [Thu, 27 Apr 2006 08:18:11 +0000 (08:18 +0000)]
add some performance notes, and rfc deviation

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

19 years agoimplement SRV additional processing, generalise additional processing
Bert Hubert [Wed, 26 Apr 2006 19:40:45 +0000 (19:40 +0000)]
implement SRV additional processing, generalise additional processing

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

19 years agothis fixes prio in MX and in SRV records from being zero on sun-endian platforms
Bert Hubert [Wed, 26 Apr 2006 08:12:22 +0000 (08:12 +0000)]
this fixes prio in MX and in SRV records from being zero on sun-endian platforms

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

19 years agoupdate version for rpm rec-3-0-1 rec-3.0.1
Bert Hubert [Tue, 25 Apr 2006 15:58:24 +0000 (15:58 +0000)]
update version for rpm

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

19 years agorelease notes
Bert Hubert [Tue, 25 Apr 2006 15:44:24 +0000 (15:44 +0000)]
release notes

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

19 years ago'packer' makes our debian archives
Bert Hubert [Tue, 25 Apr 2006 15:17:43 +0000 (15:17 +0000)]
'packer' makes our debian archives

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

19 years agoupdate version
Bert Hubert [Tue, 25 Apr 2006 15:17:21 +0000 (15:17 +0000)]
update version

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

19 years agomake sure destructors are called, cleaning up socket
Bert Hubert [Tue, 25 Apr 2006 14:42:54 +0000 (14:42 +0000)]
make sure destructors are called, cleaning up socket

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

19 years agodefault to gcc for c files
Bert Hubert [Tue, 25 Apr 2006 14:05:21 +0000 (14:05 +0000)]
default to gcc for c files

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

19 years agowork around solaris 8-isms
Bert Hubert [Tue, 25 Apr 2006 13:50:54 +0000 (13:50 +0000)]
work around solaris 8-isms

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

19 years agoadded design & engineering
Bert Hubert [Tue, 25 Apr 2006 13:49:20 +0000 (13:49 +0000)]
added design & engineering

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