]> granicus.if.org Git - pdns/log
pdns
15 years agofix case sensitivity issue in recursor built in authoritative server, as reported...
Bert Hubert [Fri, 4 Dec 2009 13:35:12 +0000 (13:35 +0000)]
fix case sensitivity issue in recursor built in authoritative server, as reported in ticket 262 by ZyZ

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

15 years agoMake packetcache controllable (TTLs and enable/disable), by
Bert Hubert [Thu, 3 Dec 2009 20:35:04 +0000 (20:35 +0000)]
Make packetcache controllable (TTLs and enable/disable), by
Winfried Angele

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

15 years agodo not take a writable reference to the begin transaction statement...
Bert Hubert [Thu, 26 Nov 2009 17:55:56 +0000 (17:55 +0000)]
do not take a writable reference to the begin transaction statement...

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

15 years agomake sure opendbx backend does not concatenate all master servers for all slave domains!
Bert Hubert [Wed, 25 Nov 2009 17:59:35 +0000 (17:59 +0000)]
make sure opendbx backend does not concatenate all master servers for all slave domains!

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

15 years agophase out last use of select() in powerdns auth server, which prevented us from bindi...
Bert Hubert [Wed, 18 Nov 2009 21:54:46 +0000 (21:54 +0000)]
phase out last use of select() in powerdns auth server, which prevented us from binding >500 Ip addresses or so

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

15 years agomove g_singleThreaded to misc.cc, so it is universal
Bert Hubert [Sun, 8 Nov 2009 10:52:38 +0000 (10:52 +0000)]
move g_singleThreaded to misc.cc, so it is universal

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

15 years agoadd documentation about new pdns recursor, plus automate uploading of docs
Bert Hubert [Sat, 7 Nov 2009 17:32:49 +0000 (17:32 +0000)]
add documentation about new pdns recursor, plus automate uploading of docs

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

15 years agocompilation fixes for on 'Karmic Koala' - also first commit from the new server ...
Bert Hubert [Sat, 24 Oct 2009 10:40:48 +0000 (10:40 +0000)]
compilation fixes for on 'Karmic Koala' - also first commit from the new server @ xs4all!

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

15 years agore-optimize the single-threaded case
Bert Hubert [Sat, 17 Oct 2009 15:15:57 +0000 (15:15 +0000)]
re-optimize the single-threaded case

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

15 years agoimplement max-cache-ttl, patch by Winfried Angele, for BIND compatability. Thanks!
Bert Hubert [Thu, 15 Oct 2009 20:56:09 +0000 (20:56 +0000)]
implement max-cache-ttl, patch by Winfried Angele, for BIND compatability. Thanks!

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

15 years agomake sure we zero the priority field on incoming axfr - cosmetic change
Bert Hubert [Thu, 15 Oct 2009 20:44:51 +0000 (20:44 +0000)]
make sure we zero the priority field on incoming axfr - cosmetic change

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

15 years agodon't process any non-existing additional processing
Bert Hubert [Thu, 15 Oct 2009 18:41:40 +0000 (18:41 +0000)]
don't process any non-existing additional processing

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

15 years agomake dnsreplay compile again since the sstuff cleanups
Bert Hubert [Thu, 15 Oct 2009 18:41:10 +0000 (18:41 +0000)]
make dnsreplay compile again since the sstuff cleanups

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

15 years agothe thread safe normal cache in the recursor was confused about its locking
Bert Hubert [Tue, 13 Oct 2009 19:35:35 +0000 (19:35 +0000)]
the thread safe normal cache in the recursor was confused about its locking

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

15 years agoadd simple packetcache to recursor (thread safe)
Bert Hubert [Tue, 13 Oct 2009 19:33:08 +0000 (19:33 +0000)]
add simple packetcache to recursor (thread safe)

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

15 years agoadd a comment to remind us the gettimeofday in the mplexer is NOT optional
Bert Hubert [Tue, 13 Oct 2009 19:30:39 +0000 (19:30 +0000)]
add a comment to remind us the gettimeofday in the mplexer is NOT optional

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

15 years agofix up makecontext for Solaris, thanks to John Levon for pointing out how. Solaris...
Bert Hubert [Mon, 12 Oct 2009 21:37:06 +0000 (21:37 +0000)]
fix up makecontext for Solaris, thanks to John Levon for pointing out how. Solaris 8 is deprecated from now on.
fix up 'Lua' compilation on Solaris (-llua versus -llua5.1).

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

15 years agodisable EDNS by default - delivers nothing but trouble..
Bert Hubert [Sun, 11 Oct 2009 17:13:59 +0000 (17:13 +0000)]
disable EDNS by default - delivers nothing but trouble..

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

15 years agoeven more namespace cleanups
Bert Hubert [Sun, 11 Oct 2009 12:52:27 +0000 (12:52 +0000)]
even more namespace cleanups

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

15 years agosome more namespace cleanups
Bert Hubert [Sun, 11 Oct 2009 12:51:48 +0000 (12:51 +0000)]
some more namespace cleanups

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

15 years agohuge batch of namespace & stdint cleanups
Bert Hubert [Sun, 11 Oct 2009 12:50:52 +0000 (12:50 +0000)]
huge batch of namespace & stdint cleanups

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

15 years agomove to multiple query-local-addresses (4 and 6), plus implement very simple whole...
Bert Hubert [Sun, 11 Oct 2009 08:33:55 +0000 (08:33 +0000)]
move to multiple query-local-addresses (4 and 6), plus implement very simple whole packet cache

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

15 years agostart of our cleanup of the namespace
Bert Hubert [Sun, 11 Oct 2009 08:31:54 +0000 (08:31 +0000)]
start of our cleanup of the namespace

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

15 years agoadd md5, devpollmplexer
Bert Hubert [Sun, 11 Oct 2009 08:31:09 +0000 (08:31 +0000)]
add md5, devpollmplexer

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

15 years agokeep the speeds lock for slightly shorter time
Bert Hubert [Sun, 11 Oct 2009 08:30:31 +0000 (08:30 +0000)]
keep the speeds lock for slightly shorter time

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

15 years agohook up the devpollmplexer for solaris
Bert Hubert [Sun, 11 Oct 2009 08:29:43 +0000 (08:29 +0000)]
hook up the devpollmplexer for solaris

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

15 years agosolaris 9 /dev/poll mplexer support
Bert Hubert [Fri, 9 Oct 2009 13:33:04 +0000 (13:33 +0000)]
solaris 9 /dev/poll mplexer support

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

15 years agofix up case sensititivy in processing notifications bound for the BIND backend, disco...
Bert Hubert [Tue, 6 Oct 2009 07:59:22 +0000 (07:59 +0000)]
fix up case sensititivy in processing notifications bound for the BIND backend, discovered by  Dolphin [wim % horsea.3ti.be]

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

15 years ago2.9.23-pre
Bert Hubert [Sun, 4 Oct 2009 20:49:20 +0000 (20:49 +0000)]
2.9.23-pre

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

15 years agoinitial load of the 'MyDNS' compatability backend
Bert Hubert [Sun, 4 Oct 2009 07:42:10 +0000 (07:42 +0000)]
initial load of the 'MyDNS' compatability backend

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

15 years agoneeded for TSIG
Bert Hubert [Thu, 1 Oct 2009 19:22:16 +0000 (19:22 +0000)]
needed for TSIG

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

15 years ago64 bit compilation fix
Bert Hubert [Tue, 29 Sep 2009 21:22:10 +0000 (21:22 +0000)]
64 bit compilation fix

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

15 years agodon't hold the negcache lock longer than necessary
Bert Hubert [Sat, 26 Sep 2009 20:19:09 +0000 (20:19 +0000)]
don't hold the negcache lock longer than necessary

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

15 years agohook up 'tcp defer accept' again for slight DoS protection on linux
Bert Hubert [Sat, 26 Sep 2009 17:50:04 +0000 (17:50 +0000)]
hook up 'tcp defer accept' again for slight DoS protection on linux
reinstate the lookup of socket addresses for 'Lua'

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

15 years agoreinstate some things that got disabled because of multithreading
Bert Hubert [Sat, 26 Sep 2009 17:19:59 +0000 (17:19 +0000)]
reinstate some things that got disabled because of multithreading

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

15 years agoteach pdns_recursor how to do TCP/IP connect to remote IPv6 hosts
Bert Hubert [Sat, 26 Sep 2009 16:41:24 +0000 (16:41 +0000)]
teach pdns_recursor how to do TCP/IP connect to remote IPv6 hosts
big cleanup of archaic 'sstuff' classes (move to ComboAddress)

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

15 years agono longer mention selection of mplexer once per thread
Bert Hubert [Sat, 26 Sep 2009 16:32:01 +0000 (16:32 +0000)]
no longer mention selection of mplexer once per thread

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

15 years agomultithreaded recursor - may not actually be faster yet, and lacks certain flexibilit...
Bert Hubert [Thu, 24 Sep 2009 20:59:19 +0000 (20:59 +0000)]
multithreaded recursor - may not actually be faster yet, and lacks certain flexibility. do NOT deploy!

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

15 years agothe beginning of powerdhcp? :-)
Bert Hubert [Thu, 24 Sep 2009 20:22:06 +0000 (20:22 +0000)]
the beginning of powerdhcp? :-)

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

15 years agodo less maintenance, 1 in 250 queries
Bert Hubert [Thu, 24 Sep 2009 19:32:53 +0000 (19:32 +0000)]
do less maintenance, 1 in 250 queries

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

15 years agoin the PacketCache, we sometimes cached things we should not have been
Bert Hubert [Tue, 22 Sep 2009 11:23:22 +0000 (11:23 +0000)]
in the PacketCache, we sometimes cached things we should not have been

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

15 years agospeed up xfrLabel by batching calls to string::append
Bert Hubert [Tue, 22 Sep 2009 11:19:52 +0000 (11:19 +0000)]
speed up xfrLabel by batching calls to string::append

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

15 years agoThanks to Winfried Angele for spotting & fixing this: allow 'lua' to dlopen new libraries
Bert Hubert [Tue, 22 Sep 2009 11:01:04 +0000 (11:01 +0000)]
Thanks to Winfried Angele for spotting & fixing this: allow 'lua' to dlopen new libraries

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

15 years agoupdated docs
Bert Hubert [Tue, 22 Sep 2009 10:53:52 +0000 (10:53 +0000)]
updated docs

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

15 years agodon't yet enable rwlocks in the trunk
Bert Hubert [Tue, 22 Sep 2009 10:34:45 +0000 (10:34 +0000)]
don't yet enable rwlocks in the trunk

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

15 years agoimplement timeouts with millisecond resolution, and raise the default timeout to...
Bert Hubert [Tue, 22 Sep 2009 10:14:43 +0000 (10:14 +0000)]
implement timeouts with millisecond resolution, and raise the default timeout to 1500 msec.
In addition, the previous code may not actually have been delivering the "1 second" timeout accurately, this is now fixed

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

15 years agoadd 'speedtest' infrastructure
Bert Hubert [Sat, 5 Sep 2009 14:05:36 +0000 (14:05 +0000)]
add 'speedtest' infrastructure

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

15 years agoAki Tuomi fixed up the primordial 'alsoNotify' infrastructure, and implemented also...
Bert Hubert [Thu, 27 Aug 2009 21:34:43 +0000 (21:34 +0000)]
Aki Tuomi fixed up the primordial 'alsoNotify' infrastructure, and implemented also-notify (both global and per-zone) for the BIND backend.

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

15 years agorepair cache cleaning logic, which would never run in certain benchmark situations...
Bert Hubert [Sat, 22 Aug 2009 19:20:17 +0000 (19:20 +0000)]
repair cache cleaning logic, which would never run in certain benchmark situations, plus retune the actual cleaning process.
Thanks to Marcus Goller for reporting this issue.

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

15 years agoadd support for 's' timestamp specification (seconds), closing ticket 250 by 'somebody'
Bert Hubert [Fri, 7 Aug 2009 19:07:57 +0000 (19:07 +0000)]
add support for 's' timestamp specification (seconds), closing ticket 250 by 'somebody'

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

15 years agoadd NS, SOA and TXT code to the example pipe backend
Bert Hubert [Mon, 3 Aug 2009 19:23:20 +0000 (19:23 +0000)]
add NS, SOA and TXT code to the example pipe backend

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

15 years agonew readme in trunk as well
Bert Hubert [Sun, 2 Aug 2009 20:14:24 +0000 (20:14 +0000)]
new readme in trunk as well

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

15 years agofurther gcc 4.4 compilation fix
Bert Hubert [Sat, 1 Aug 2009 21:56:13 +0000 (21:56 +0000)]
further gcc 4.4 compilation fix

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

15 years ago64-bit compatability issue in dnswriter
Bert Hubert [Fri, 31 Jul 2009 13:14:37 +0000 (13:14 +0000)]
64-bit compatability issue in dnswriter

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

15 years agoTobias Markmann assures us this fix will enable 'out of the box' compilation on Mac...
Bert Hubert [Thu, 30 Jul 2009 20:55:53 +0000 (20:55 +0000)]
Tobias Markmann assures us this fix will enable 'out of the box' compilation on Mac OS X 10.5.7
Untested!

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

15 years agomake lua default for svn based compilations
Bert Hubert [Tue, 28 Jul 2009 20:58:40 +0000 (20:58 +0000)]
make lua default for svn based compilations

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

15 years agoclean up recursor cache and make it thread safe, plus change the core logic
Bert Hubert [Tue, 28 Jul 2009 20:33:20 +0000 (20:33 +0000)]
clean up recursor cache and make it thread safe, plus change the core logic

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

15 years agoadd dhcp parsing code for option-82 purposes
Bert Hubert [Tue, 28 Jul 2009 19:16:40 +0000 (19:16 +0000)]
add dhcp parsing code for option-82 purposes

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

15 years agothanks to Jan Gyselinck for spotting that Solaris can report 'ENOENT' on ports_dissoc...
Bert Hubert [Thu, 16 Jul 2009 06:56:03 +0000 (06:56 +0000)]
thanks to Jan Gyselinck for spotting that Solaris can report 'ENOENT' on ports_dissociate. It appears this is nothing to worry about.

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

15 years agonsec moved to this file & nsec3 added
Bert Hubert [Sun, 12 Jul 2009 21:42:43 +0000 (21:42 +0000)]
nsec moved to this file & nsec3 added

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

15 years agomake us a bit more efficient on writing out compressed labels with a trailing dot
Bert Hubert [Sun, 12 Jul 2009 19:17:22 +0000 (19:17 +0000)]
make us a bit more efficient on writing out compressed labels with a trailing dot
add 'canonical' flag to DNSWriter

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

15 years agowe had some htonls in a twist for xfrIP.. hopefully this is the right fix
Bert Hubert [Wed, 1 Jul 2009 20:17:37 +0000 (20:17 +0000)]
we had some htonls in a twist for xfrIP.. hopefully this is the right fix

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

15 years agoadd example.com DNSKEY, plus its private key
Bert Hubert [Wed, 1 Jul 2009 19:18:59 +0000 (19:18 +0000)]
add example.com DNSKEY, plus its private key

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

15 years agoadd some more qtype numbers
Bert Hubert [Sun, 28 Jun 2009 20:25:36 +0000 (20:25 +0000)]
add some more qtype numbers

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

15 years agoimplement & document rec_control --timeout feature, useful when (re)loading very...
Bert Hubert [Wed, 24 Jun 2009 21:11:30 +0000 (21:11 +0000)]
implement & document rec_control --timeout feature, useful when (re)loading very large lua scripts

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

15 years agomake packet cache cleanup thread safe
Bert Hubert [Tue, 23 Jun 2009 06:08:20 +0000 (06:08 +0000)]
make packet cache cleanup thread safe

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

15 years agomake sure we don't try to perform a complete multithreaded cache cleanup when we...
Bert Hubert [Tue, 23 Jun 2009 05:55:14 +0000 (05:55 +0000)]
make sure we don't try to perform a complete multithreaded cache cleanup when we respawn

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

15 years agofix up some parsing issues (spaces in base64 blobs, time mis-parsing) standing in...
Bert Hubert [Sun, 21 Jun 2009 18:53:04 +0000 (18:53 +0000)]
fix up some parsing issues (spaces in base64 blobs, time mis-parsing) standing in the way of serving DNSSEC records

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

15 years agovery rough stuff, but perhaps nice to look at already
Bert Hubert [Sun, 21 Jun 2009 10:57:54 +0000 (10:57 +0000)]
very rough stuff, but perhaps nice to look at already

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

16 years agos/query-ttl/query-cache-ttl/, found by Andreas Henriksson
Bert Hubert [Mon, 1 Jun 2009 20:31:02 +0000 (20:31 +0000)]
s/query-ttl/query-cache-ttl/, found by Andreas Henriksson

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

16 years agoadd first stab at 'per-zone-axfr-acls'. Set that flag in the configuration table...
Bert Hubert [Sat, 30 May 2009 20:18:11 +0000 (20:18 +0000)]
add first stab at 'per-zone-axfr-acls'. Set that flag in the configuration table, and see http://mailman.powerdns.com/pipermail/pdns-users/2006-March/003115.html
Also allows netmasks

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

16 years agopreliminary infrastructure for signing messages with TSIG in a clean way
Bert Hubert [Sat, 16 May 2009 15:33:21 +0000 (15:33 +0000)]
preliminary infrastructure for signing messages with TSIG in a clean way

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

16 years agosome more crlf oddities
Bert Hubert [Sat, 16 May 2009 15:31:56 +0000 (15:31 +0000)]
some more crlf oddities

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

16 years agosomething with $Id$
Bert Hubert [Sat, 16 May 2009 15:31:34 +0000 (15:31 +0000)]
something with $Id$

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

16 years agosomething to do with crlf or so
Bert Hubert [Sat, 16 May 2009 15:31:16 +0000 (15:31 +0000)]
something to do with crlf or so

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

16 years agotreat an initial Refused or NotImp as an indication of not supporting EDNS-PING.
Bert Hubert [Sat, 16 May 2009 15:28:01 +0000 (15:28 +0000)]
treat an initial Refused or NotImp as an indication of not supporting EDNS-PING.

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

16 years agoset a sane default for the maximum cache size in the recursor, suggested by Roel...
Bert Hubert [Tue, 14 Apr 2009 21:20:43 +0000 (21:20 +0000)]
set a sane default for the maximum cache size in the recursor, suggested by Roel van der Made

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

16 years agofix up reading a blob at the very end of a packet, fix writing out 48 bit numbers...
Bert Hubert [Thu, 9 Apr 2009 23:17:50 +0000 (23:17 +0000)]
fix up reading a blob at the very end of a packet, fix writing out 48 bit numbers, hook up the TSIG record properly

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

16 years agofix up padding errors in base64 decoding
Bert Hubert [Thu, 9 Apr 2009 23:13:45 +0000 (23:13 +0000)]
fix up padding errors in base64 decoding

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

16 years agomake sure we can parse empty blobs (needed for TSIG)
Bert Hubert [Thu, 9 Apr 2009 22:23:34 +0000 (22:23 +0000)]
make sure we can parse empty blobs (needed for TSIG)

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

16 years agoadd possibility to disable edns-ping. For now, by default, edns-ping is disabled.
Bert Hubert [Tue, 7 Apr 2009 20:14:53 +0000 (20:14 +0000)]
add possibility to disable edns-ping. For now, by default, edns-ping is disabled.

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

16 years agoLay groundwork for rd/non-rd zone forwarding
Bert Hubert [Sun, 5 Apr 2009 22:04:05 +0000 (22:04 +0000)]
Lay groundwork for rd/non-rd zone forwarding
make sure we can forward queries for certain zones to IPv6 as well as IPv4, syntax is:
 --forward-zones=google.com=2001:b18:0:1000:2e0:81ff:fe61:ae0d or even:
 --forward-zones=google.com=[2001:b18:0:1000:2e0:81ff:fe61:ae0d]:53
Thanks to Wijnand Modderman for discovering this problem.

Please note that the syntax above will not *yet* give you automatic ipv6
google via sixxs, slightly more work is needed for that.

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

16 years agomake sure we don't set export-etc-hosts to 'on' on reload-zones. Discovered by paul...
Bert Hubert [Sun, 5 Apr 2009 19:45:37 +0000 (19:45 +0000)]
make sure we don't set export-etc-hosts to 'on' on reload-zones. Discovered by paul AT cairney.me.uk
Closes ticket 225

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

16 years agomake sure we notice filename changes in the bind backend, closing ticket 228, reporte...
Bert Hubert [Sun, 5 Apr 2009 19:12:48 +0000 (19:12 +0000)]
make sure we notice filename changes in the bind backend, closing ticket 228, reported by an anonymous big user.

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

16 years agoremove confusing 'spoofID' which, as noted by Shane Kerr, corrupted IDs for TCP queri...
Bert Hubert [Sun, 5 Apr 2009 18:46:04 +0000 (18:46 +0000)]
remove confusing 'spoofID' which, as noted by Shane Kerr, corrupted IDs for TCP queries from the packet cache on big endian systems.
Closes ticket 222.

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

16 years agoclose ticket 227, spotted by Ruben Kerkhof: compilation issue on gcc 4.4
Bert Hubert [Sun, 5 Apr 2009 18:14:59 +0000 (18:14 +0000)]
close ticket 227, spotted by Ruben Kerkhof: compilation issue on gcc 4.4

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

16 years agofix duplicate CNAME issue discovered by Andreas Jakum of UPC, plus address ticket...
Bert Hubert [Thu, 2 Apr 2009 13:15:01 +0000 (13:15 +0000)]
fix duplicate CNAME issue discovered by Andreas Jakum of UPC, plus address ticket 223 (root referral)

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

16 years agofinally finally get rid of 1e2% - apologies to Jeff Sipek for lying that this bug...
Bert Hubert [Sun, 29 Mar 2009 21:34:17 +0000 (21:34 +0000)]
finally finally get rid of 1e2% - apologies to Jeff Sipek for lying that this bug was fixed already :-)

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

16 years agosqlite2 and sqlite3 backends used MySQL-style escaping, leading to SQL
Bert Hubert [Sun, 29 Mar 2009 20:00:12 +0000 (20:00 +0000)]
sqlite2 and sqlite3 backends used MySQL-style escaping, leading to SQL
errors in some cases. Discovered by Sten Spans.

 --This line, and those below, will be ignored--

M    modules/gsqlitebackend/gsqlitebackend.cc
M    modules/gsqlitebackend/gsqlitebackend.hh
M    modules/gsqlite3backend/gsqlite3backend.hh
M    modules/gsqlite3backend/gsqlite3backend.cc
M    pdns/backends/gsql/gsqlbackend.hh

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

16 years agoregression test for ticket 224
Bert Hubert [Tue, 17 Feb 2009 17:27:16 +0000 (17:27 +0000)]
regression test for ticket 224

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

16 years agoimplement auto-splitting of long TXT entries, inspired by Derrik Pates. Closes ticket...
Bert Hubert [Sat, 14 Feb 2009 15:18:50 +0000 (15:18 +0000)]
implement auto-splitting of long TXT entries, inspired by Derrik Pates. Closes ticket 188.

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

16 years agofor fancy records to work in the BIND backend, they must be reported first
Bert Hubert [Sat, 14 Feb 2009 15:17:38 +0000 (15:17 +0000)]
for fancy records to work in the BIND backend, they must be reported first

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

16 years agooops, don't commit the 'real result'
Bert Hubert [Sat, 14 Feb 2009 15:16:52 +0000 (15:16 +0000)]
oops, don't commit the 'real result'

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

16 years agoadd very-long-txt test case
Bert Hubert [Sat, 14 Feb 2009 15:16:35 +0000 (15:16 +0000)]
add very-long-txt test case

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

16 years agoadd very-long-txt
Bert Hubert [Sat, 14 Feb 2009 15:16:17 +0000 (15:16 +0000)]
add very-long-txt

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

16 years agopre1
Bert Hubert [Mon, 9 Feb 2009 06:22:42 +0000 (06:22 +0000)]
pre1

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

16 years agoadd rec_control dump-edns, plus implement 'third try' for remotes that need to descen...
Bert Hubert [Mon, 9 Feb 2009 06:21:26 +0000 (06:21 +0000)]
add rec_control dump-edns, plus implement 'third try' for remotes that need to descend all the way into 'no edns please'

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

16 years agoit is 2009!
Bert Hubert [Mon, 9 Feb 2009 06:20:01 +0000 (06:20 +0000)]
it is 2009!

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

16 years agoimplement EDNS & EDNS-PING probing, plus logic to benefit from said probing
Bert Hubert [Sat, 7 Feb 2009 23:52:01 +0000 (23:52 +0000)]
implement EDNS & EDNS-PING probing, plus logic to benefit from said probing

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

16 years agodefine EDNSStatus struct & map, plus define the EDNS and EDNS-ping statistics, plus...
Bert Hubert [Sat, 7 Feb 2009 23:49:08 +0000 (23:49 +0000)]
define EDNSStatus struct & map, plus define the EDNS and EDNS-ping statistics, plus hook them up

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