]> granicus.if.org Git - pdns/log
pdns
16 years agodo not crash on EDNS0 queries containing data (was never in any released version...
Bert Hubert [Wed, 17 Sep 2008 17:04:36 +0000 (17:04 +0000)]
do not crash on EDNS0 queries containing data (was never in any released version). Thanks to Matti Hiljanen and Stefan Schmidt

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

16 years agomake building recursor using dist-recursor work again (thanks qvr)
Bert Hubert [Mon, 8 Sep 2008 15:26:23 +0000 (15:26 +0000)]
make building recursor using dist-recursor work again (thanks qvr)

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

16 years agospeed up storing & handling AAAA-records in cache
Bert Hubert [Sun, 24 Aug 2008 16:28:52 +0000 (16:28 +0000)]
speed up storing & handling AAAA-records in cache

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

16 years agospeed up ArgvMap::contains()
Bert Hubert [Sun, 24 Aug 2008 16:25:07 +0000 (16:25 +0000)]
speed up ArgvMap::contains()

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

16 years agoadd rdtsc for timing infra, add call to make sockets reusable, make sure mtasker...
Bert Hubert [Sun, 24 Aug 2008 16:16:07 +0000 (16:16 +0000)]
add rdtsc for timing infra, add call to make sockets reusable, make sure mtasker returns waitkey on timeout too

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

16 years agomake it possible to generate ARecords from 32 bit integers directly
Bert Hubert [Sun, 24 Aug 2008 15:37:11 +0000 (15:37 +0000)]
make it possible to generate ARecords from 32 bit integers directly

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

16 years agoshave 25% off packet generation times (32usec -> 25 usec or so)
Bert Hubert [Sun, 24 Aug 2008 14:18:33 +0000 (14:18 +0000)]
shave 25% off packet generation times (32usec -> 25 usec or so)

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

16 years agoinitial spoofing policy class load
Bert Hubert [Mon, 18 Aug 2008 18:12:26 +0000 (18:12 +0000)]
initial spoofing policy class load

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

16 years agohook up dns urandom for auth server too
Bert Hubert [Fri, 8 Aug 2008 13:54:36 +0000 (13:54 +0000)]
hook up dns urandom for auth server too

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

16 years agodon't do TCP access checking over unix domain sockets
Bert Hubert [Thu, 7 Aug 2008 19:46:38 +0000 (19:46 +0000)]
don't do TCP access checking over unix domain sockets

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

16 years agoimprove error message on bogus port number connecting with pdns_control
Bert Hubert [Thu, 7 Aug 2008 19:40:29 +0000 (19:40 +0000)]
improve error message on bogus port number connecting with pdns_control

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

16 years ago2.9.21.1
Bert Hubert [Thu, 7 Aug 2008 19:39:40 +0000 (19:39 +0000)]
2.9.21.1

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

16 years agoimplement some EDNS0 sanity checks
Bert Hubert [Tue, 5 Aug 2008 18:51:24 +0000 (18:51 +0000)]
implement some EDNS0 sanity checks

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

16 years agohook up tcp-control-range
Bert Hubert [Sun, 3 Aug 2008 21:32:35 +0000 (21:32 +0000)]
hook up tcp-control-range

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

16 years agotweak version number
Bert Hubert [Sun, 3 Aug 2008 21:05:07 +0000 (21:05 +0000)]
tweak version number

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

16 years agoupdate version number
Bert Hubert [Sun, 3 Aug 2008 20:40:09 +0000 (20:40 +0000)]
update version number

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

16 years ago2.9.22-snapshot
Bert Hubert [Sun, 3 Aug 2008 20:26:27 +0000 (20:26 +0000)]
2.9.22-snapshot

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

16 years agomove away from chomp in geobackend
Bert Hubert [Sun, 3 Aug 2008 20:16:59 +0000 (20:16 +0000)]
move away from chomp in geobackend

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

16 years agoimplement TCP-based pdns_control with a simple secret, cleanup pdns_control infrastru...
Bert Hubert [Sun, 3 Aug 2008 19:21:53 +0000 (19:21 +0000)]
implement TCP-based pdns_control with a simple secret, cleanup pdns_control infrastructure in PowerDNS, plus remove chomp() with bugs and replace by boost::trim

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

16 years agoimprove message about errors binding to a port
Bert Hubert [Sun, 3 Aug 2008 18:42:04 +0000 (18:42 +0000)]
improve message about errors binding to a port

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

16 years agodocumentation updates heading up to 2.9.22
Bert Hubert [Sun, 3 Aug 2008 18:40:15 +0000 (18:40 +0000)]
documentation updates heading up to 2.9.22

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

16 years agoimplement get-parameter as suggested by Wouter de Jong of WideXS
Bert Hubert [Sun, 3 Aug 2008 17:59:15 +0000 (17:59 +0000)]
implement get-parameter as suggested by Wouter de Jong of WideXS

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

16 years agomake arguments parser for configuration file strip trailing spaces and tabs better
Bert Hubert [Fri, 25 Jul 2008 20:20:08 +0000 (20:20 +0000)]
make arguments parser for configuration file strip trailing spaces and tabs better

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

16 years agomake tcp network errors not lead to cycling of backends
Bert Hubert [Fri, 25 Jul 2008 20:19:30 +0000 (20:19 +0000)]
make tcp network errors not lead to cycling of backends

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

16 years agopartial de-chompification, plus fix up bad SOA ttl usage in case of $TTL
Bert Hubert [Fri, 25 Jul 2008 19:58:35 +0000 (19:58 +0000)]
partial de-chompification, plus fix up bad SOA ttl usage in case of $TTL

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

16 years agoprevent powerdns being hammered by servers repeating malformed queries ad nauseam
Bert Hubert [Fri, 25 Jul 2008 18:43:39 +0000 (18:43 +0000)]
prevent powerdns being hammered by servers repeating malformed queries ad nauseam

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

16 years agoMove EDNS PING to EDNS OPTION 5, in coordination with David Ulevitch
Bert Hubert [Tue, 22 Jul 2008 06:35:26 +0000 (06:35 +0000)]
Move EDNS PING to EDNS OPTION 5, in coordination with David Ulevitch

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

16 years agoremove use of possibly buggy 'chomp' from arguments.cc and move to trim_right()....
Bert Hubert [Sun, 20 Jul 2008 18:39:38 +0000 (18:39 +0000)]
remove use of possibly buggy 'chomp' from arguments.cc and move to trim_right(). Solves issue reported by Tyler Hall

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

16 years agotools to make the 'thanks-to' section, plus slight tweaks to the documentation to...
Bert Hubert [Sat, 19 Jul 2008 22:13:23 +0000 (22:13 +0000)]
tools to make the 'thanks-to' section, plus slight tweaks to the documentation to support this

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

16 years agoimprove error messages generated by the zoneparser-tng
Bert Hubert [Thu, 17 Jul 2008 20:34:46 +0000 (20:34 +0000)]
improve error messages generated by the zoneparser-tng

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

16 years agofix two more Shawn bugs: don't trip up over a line consisting of nothing but comments...
Bert Hubert [Tue, 15 Jul 2008 21:51:16 +0000 (21:51 +0000)]
fix two more Shawn bugs: don't trip up over a line consisting of nothing but comments and leading whitespace, plus deal with "$ORIGIN ." correctly

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

16 years agofix issue found by Shawn Starr: an 'IN' class in a zone statement with a trailing...
Bert Hubert [Tue, 15 Jul 2008 20:51:34 +0000 (20:51 +0000)]
fix issue found by Shawn Starr: an 'IN' class in a zone statement with a trailing dot caused problems.

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

16 years agoimplement EDNS NSID call (RFC 5001), plus an experimental EDNS option ('ping')
Bert Hubert [Sun, 13 Jul 2008 20:21:54 +0000 (20:21 +0000)]
implement EDNS NSID call (RFC 5001), plus an experimental EDNS option ('ping')

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

16 years agoactually document the release of 3.1.7
Bert Hubert [Sun, 13 Jul 2008 20:11:26 +0000 (20:11 +0000)]
actually document the release of 3.1.7

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

16 years agoremove some empty lines
Bert Hubert [Sun, 13 Jul 2008 20:10:43 +0000 (20:10 +0000)]
remove some empty lines

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

16 years agofix compatability with ancient 'Make'
Bert Hubert [Mon, 30 Jun 2008 20:57:02 +0000 (20:57 +0000)]
fix compatability with ancient 'Make'

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

16 years agodo less cache pruning and counting
Bert Hubert [Mon, 30 Jun 2008 16:55:49 +0000 (16:55 +0000)]
do less cache pruning and counting

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

16 years agocommit backwards strrcasecmp by Aki Tuomi, fixing a bug in our own version. Plus...
Bert Hubert [Wed, 25 Jun 2008 20:03:14 +0000 (20:03 +0000)]
commit backwards strrcasecmp by Aki Tuomi, fixing a bug in our own version. Plus make the random backend case insensitive!

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

16 years agoallow far longer pdns_control lines for bulk purging
Bert Hubert [Wed, 25 Jun 2008 19:43:42 +0000 (19:43 +0000)]
allow far longer pdns_control lines for bulk purging

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

17 years agoupdate powerdns.org IP address
Bert Hubert [Tue, 24 Jun 2008 19:55:50 +0000 (19:55 +0000)]
update powerdns.org IP address

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

17 years ago.1.7!
Bert Hubert [Tue, 24 Jun 2008 18:14:53 +0000 (18:14 +0000)]
.1.7!

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

17 years agoThanks #lua - to match on 'www.' in Lua, use 'www%.'.
Bert Hubert [Mon, 23 Jun 2008 19:03:37 +0000 (19:03 +0000)]
Thanks #lua - to match on 'www.' in Lua, use 'www%.'.

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

17 years agofix meritsrecursion issue + reduce cache cleaning
Bert Hubert [Mon, 23 Jun 2008 07:00:02 +0000 (07:00 +0000)]
fix meritsrecursion issue + reduce cache cleaning

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

17 years agoimplement purging whole lists of domains or suffixes instead of 1 at a time
Bert Hubert [Mon, 23 Jun 2008 06:04:18 +0000 (06:04 +0000)]
implement purging whole lists of domains or suffixes instead of 1 at a time

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

17 years agoimplement fast wiping of "ds9a.nl" and "blah.ds9a.nl" using inverted ordering
Bert Hubert [Sun, 22 Jun 2008 22:17:20 +0000 (22:17 +0000)]
implement fast wiping of "ds9a.nl" and "blah.ds9a.nl" using inverted ordering

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

17 years agoimplement cache purging for 100% matches (disregarding case), plus make updates actua...
Bert Hubert [Sun, 22 Jun 2008 20:41:42 +0000 (20:41 +0000)]
implement cache purging for 100% matches (disregarding case), plus make updates actually update the cache

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

17 years agothe actual new and improved packetcache - but seriously unfinished! The core is there...
Bert Hubert [Sun, 22 Jun 2008 20:08:33 +0000 (20:08 +0000)]
the actual new and improved packetcache - but seriously unfinished! The core is there though.

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

17 years agothird batch - includes new setting 'max-cache-entries'
Bert Hubert [Sun, 22 Jun 2008 20:05:06 +0000 (20:05 +0000)]
third batch - includes new setting 'max-cache-entries'

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

17 years agosecond batch of non-behaviour changing changes (we hope)
Bert Hubert [Sun, 22 Jun 2008 20:04:09 +0000 (20:04 +0000)]
second batch of non-behaviour changing changes (we hope)

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

17 years agofirst preparatory commit towards making the auth server safe for boost::multi_index
Bert Hubert [Sun, 22 Jun 2008 20:02:23 +0000 (20:02 +0000)]
first preparatory commit towards making the auth server safe for boost::multi_index

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

17 years agoimprove 'static' building
Bert Hubert [Sun, 22 Jun 2008 12:06:49 +0000 (12:06 +0000)]
improve 'static' building

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

17 years agomake builds semi-static, plus improve powerdns-example-script in an important way
Bert Hubert [Sat, 21 Jun 2008 21:37:07 +0000 (21:37 +0000)]
make builds semi-static, plus improve powerdns-example-script in an important way

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

17 years ago3.1.7-rc3
Bert Hubert [Sat, 21 Jun 2008 18:32:11 +0000 (18:32 +0000)]
3.1.7-rc3

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

17 years agomake sure forward-zones pierces dont-query
Bert Hubert [Fri, 20 Jun 2008 19:45:08 +0000 (19:45 +0000)]
make sure forward-zones pierces dont-query

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

17 years agosilence silly warning
Bert Hubert [Fri, 20 Jun 2008 11:33:37 +0000 (11:33 +0000)]
silence silly warning

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

17 years agoinitial cleanups for performance boost of packet cache
Bert Hubert [Thu, 19 Jun 2008 21:47:55 +0000 (21:47 +0000)]
initial cleanups for performance boost of packet cache

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

17 years agoremove dead code
Bert Hubert [Thu, 19 Jun 2008 21:37:45 +0000 (21:37 +0000)]
remove dead code

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

17 years agofix up Solaris compilation - noted by Marcus Goller
Bert Hubert [Thu, 19 Jun 2008 12:12:27 +0000 (12:12 +0000)]
fix up Solaris compilation - noted by Marcus Goller

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

17 years agoadd support for matchnetmask to be called with a table of IP addresses
Bert Hubert [Wed, 18 Jun 2008 21:15:48 +0000 (21:15 +0000)]
add support for matchnetmask to be called with a table of IP addresses

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

17 years agofix explicit /32 IP matches - found by Stefan Schmidt, plus document
Bert Hubert [Wed, 18 Jun 2008 21:11:26 +0000 (21:11 +0000)]
fix explicit /32 IP matches - found by Stefan Schmidt, plus document

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

17 years agoimplement wiping of the negative query cache, plus document it. suggested by simon...
Bert Hubert [Tue, 17 Jun 2008 21:33:18 +0000 (21:33 +0000)]
implement wiping of the negative query cache, plus document it. suggested by simon kirby

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

17 years agoupdate documentation so it now mentions 1) the geo backend 2) the exact conditions...
Bert Hubert [Mon, 16 Jun 2008 20:26:07 +0000 (20:26 +0000)]
update documentation so it now mentions 1) the geo backend 2) the exact conditions needed to benefit from supermaster notifications

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

17 years agoupdate README, add 'pdns.A', 'pdns.AAAA', 'pdns.NXDOMAIN', etc symbols, plus add...
Bert Hubert [Sun, 15 Jun 2008 19:49:45 +0000 (19:49 +0000)]
update README, add 'pdns.A', 'pdns.AAAA', 'pdns.NXDOMAIN', etc symbols, plus add matchnetmask support for multiple netmasks

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

17 years agoactually allow compiling w/o lua again :-)
Bert Hubert [Sun, 15 Jun 2008 14:51:45 +0000 (14:51 +0000)]
actually allow compiling w/o lua again :-)

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

17 years agoprequery -> preresolve, make records arrive in the correct order, make nxdomain only...
Bert Hubert [Sat, 14 Jun 2008 21:11:33 +0000 (21:11 +0000)]
prequery -> preresolve, make records arrive in the correct order, make nxdomain only act on nxdomain, improve example script

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

17 years agofix up lua 5.0 support for libraries, add error handling for lua runtime errors,...
Bert Hubert [Sat, 14 Jun 2008 19:55:57 +0000 (19:55 +0000)]
fix up lua 5.0 support for libraries, add error handling for lua runtime errors, make documentation match reality

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

17 years agofix lua5.0 compatability for the enterprisetards, plus spiff up the lua bridge to...
Bert Hubert [Sat, 14 Jun 2008 12:23:11 +0000 (12:23 +0000)]
fix lua5.0 compatability for the enterprisetards, plus spiff up the lua bridge to allow setting the
'place' of answers and the rcode, plus optional ability to override the qname

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

17 years agolua documentation, plus compilation fixes
Bert Hubert [Fri, 13 Jun 2008 07:33:06 +0000 (07:33 +0000)]
lua documentation, plus compilation fixes

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

17 years agoimplement & hookup the lua hooks
Bert Hubert [Thu, 12 Jun 2008 18:39:32 +0000 (18:39 +0000)]
implement & hookup the lua hooks

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

17 years agosimple example script that shows some techniques
Bert Hubert [Thu, 12 Jun 2008 18:32:49 +0000 (18:32 +0000)]
simple example script that shows some techniques

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

17 years agocopy in the new files to the distro
Bert Hubert [Thu, 12 Jun 2008 14:28:36 +0000 (14:28 +0000)]
copy in the new files to the distro

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

17 years agoupdates
Bert Hubert [Thu, 12 Jun 2008 13:50:40 +0000 (13:50 +0000)]
updates

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

17 years agoforgot to commit bind() stuff
Bert Hubert [Thu, 12 Jun 2008 13:39:12 +0000 (13:39 +0000)]
forgot to commit bind() stuff

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

17 years agoinitial Lua support
Bert Hubert [Thu, 12 Jun 2008 13:06:06 +0000 (13:06 +0000)]
initial Lua support

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

17 years agofix issue reported by Sten Spans: we don't always bind to query-local-address for...
Bert Hubert [Tue, 10 Jun 2008 19:57:53 +0000 (19:57 +0000)]
fix issue reported by Sten Spans: we don't always bind to query-local-address for outgoing TCP queries

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

17 years agoimprove selection criterion for accepting returned data, ANY and ADDR record types...
Bert Hubert [Tue, 10 Jun 2008 19:49:33 +0000 (19:49 +0000)]
improve selection criterion for accepting returned data, ANY and ADDR record types, fixing g++ warning in the process. Plus log use of TCP

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

17 years agoforgot to commit this one - use dns_random() in more places
Bert Hubert [Mon, 9 Jun 2008 09:19:52 +0000 (09:19 +0000)]
forgot to commit this one - use dns_random() in more places

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

17 years ago3.1.7!
Bert Hubert [Mon, 9 Jun 2008 09:19:04 +0000 (09:19 +0000)]
3.1.7!

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

17 years agonewer g++ compilation fix
Bert Hubert [Mon, 9 Jun 2008 09:17:09 +0000 (09:17 +0000)]
newer g++ compilation fix

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

17 years agothe recursor finally works on Apple! Many thanks to long time PowerDNS contributor...
Bert Hubert [Sun, 8 Jun 2008 08:41:01 +0000 (08:41 +0000)]
the recursor finally works on Apple! Many thanks to long time PowerDNS contributor Stefan Arentz

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

17 years agosmall script to build the recursor
Bert Hubert [Sat, 7 Jun 2008 19:35:15 +0000 (19:35 +0000)]
small script to build the recursor

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

17 years agooops - partial commit
Bert Hubert [Tue, 3 Jun 2008 22:43:24 +0000 (22:43 +0000)]
oops - partial commit

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

17 years agofix for the 'self-renewing NS record' as spotted by Darren Gamble
Bert Hubert [Tue, 3 Jun 2008 21:21:55 +0000 (21:21 +0000)]
fix for the 'self-renewing NS record' as spotted by Darren Gamble

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

17 years agoUpdates from Norbert: The patch attached improves the compatibility of the
Bert Hubert [Fri, 30 May 2008 09:58:41 +0000 (09:58 +0000)]
Updates from Norbert: The patch attached improves the compatibility of the
SQL statements and fixes a bug in the getSOA() method (ttl was a random
value). Credits go to Matti Hiljanen.

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

17 years agoimplement default-ttl for generic backends, thanks to Matti Hiljanen
Bert Hubert [Fri, 25 Apr 2008 10:05:22 +0000 (10:05 +0000)]
implement default-ttl for generic backends, thanks to Matti Hiljanen

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

17 years agofurther randomisation improvements
Bert Hubert [Fri, 25 Apr 2008 09:02:49 +0000 (09:02 +0000)]
further randomisation improvements

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

17 years agofix issue resolving popular domains where one of the nameservers is suffering from...
Bert Hubert [Sun, 20 Apr 2008 19:05:39 +0000 (19:05 +0000)]
fix issue resolving popular domains where one of the nameservers is suffering from a timeout. Many thanks to Eric Veldhuyzen, Kees Monshouwer and Brad Dameron for their aid in debugging this issue.

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

17 years agofix up tar.gz generation to include all dependencies
Bert Hubert [Sun, 6 Apr 2008 16:22:30 +0000 (16:22 +0000)]
fix up tar.gz generation to include all dependencies

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

17 years agofix EXTRA_DIST for tar.gz
Bert Hubert [Sun, 6 Apr 2008 14:45:27 +0000 (14:45 +0000)]
fix EXTRA_DIST for tar.gz

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

17 years agomake dnsreplay and other pcap based tools work on systems with 64 bit gettimeofday
Bert Hubert [Sat, 29 Mar 2008 13:46:59 +0000 (13:46 +0000)]
make dnsreplay and other pcap based tools work on systems with 64 bit gettimeofday

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

17 years agoupdate version to 3.1.5, commit documentation changes
Bert Hubert [Sat, 29 Mar 2008 13:45:27 +0000 (13:45 +0000)]
update version to 3.1.5, commit documentation changes

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

17 years agoremove 'packer'
Bert Hubert [Sat, 29 Mar 2008 13:43:51 +0000 (13:43 +0000)]
remove 'packer'

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

17 years agoimplement floating speedup instead of integer, plus register types properly
Bert Hubert [Sun, 23 Mar 2008 20:06:30 +0000 (20:06 +0000)]
implement floating speedup instead of integer, plus register types properly

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

17 years agoSerge Belyshev fixed a gcc 4.3 compilation issue, thanks!
Bert Hubert [Sun, 23 Mar 2008 11:11:44 +0000 (11:11 +0000)]
Serge Belyshev fixed a gcc 4.3 compilation issue, thanks!

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

17 years agoimprove pid writing logic, plus control-socket separation. Patch by Matti Hiljanen.
Bert Hubert [Sat, 22 Mar 2008 20:43:44 +0000 (20:43 +0000)]
improve pid writing logic, plus control-socket separation. Patch by Matti Hiljanen.

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

17 years agoupdate version to 3.1.5-rc1
Bert Hubert [Sat, 22 Mar 2008 18:48:00 +0000 (18:48 +0000)]
update version to 3.1.5-rc1

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

17 years agoimplement multiple forwarders per domain, both from file and from
Bert Hubert [Sat, 22 Mar 2008 18:27:44 +0000 (18:27 +0000)]
implement multiple forwarders per domain, both from file and from
configuration file, based on patch by Aaron Thompson, with work from Augie
Schwer. Closes ticket 81.

Plus, add support for forwarding to ports != 53, closing ticket 122.

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

17 years agodeal with embedded \r in labels - sadly, closing ticket 162
Bert Hubert [Sat, 22 Mar 2008 16:14:38 +0000 (16:14 +0000)]
deal with embedded \r in labels - sadly, closing ticket 162

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

17 years agoproperly convey empty TXT strings (why??) through the recursor, closing ticket 178
Bert Hubert [Sat, 22 Mar 2008 16:03:15 +0000 (16:03 +0000)]
properly convey empty TXT strings (why??) through the recursor, closing ticket 178

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

17 years agoproperly parse TTL from SOA 'minimum' in zoneparser TNG
Bert Hubert [Sat, 22 Mar 2008 15:50:59 +0000 (15:50 +0000)]
properly parse TTL from SOA 'minimum' in zoneparser TNG

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