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

19 years agocomplete ComboAddressification (things now not only compile, but work too)
Bert Hubert [Mon, 24 Apr 2006 12:34:32 +0000 (12:34 +0000)]
complete ComboAddressification (things now not only compile, but work too)
Fix horrible NAPTR parsing code

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

19 years agomake dnsscan accept multiple files
Bert Hubert [Mon, 24 Apr 2006 07:29:38 +0000 (07:29 +0000)]
make dnsscan accept multiple files
move auth nameserver over to ComboAddress

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

19 years agofix david g's bug one level up as well - we used to do the wrong thing with truncated...
Bert Hubert [Sat, 22 Apr 2006 15:30:35 +0000 (15:30 +0000)]
fix david g's bug one level up as well - we used to do the wrong thing with truncated packets, leaving untrue an, ns and arcounts around
change version to 3.0.1-snapshot

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

19 years agofix crash on malformed EDNS0 packet (thanks David G)
Bert Hubert [Sat, 22 Apr 2006 13:57:30 +0000 (13:57 +0000)]
fix crash on malformed EDNS0 packet (thanks David G)

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

19 years agoimprove error checking and reporting of selftest
Bert Hubert [Fri, 21 Apr 2006 21:11:53 +0000 (21:11 +0000)]
improve error checking and reporting of selftest

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

19 years agoadd self-test to epoll to detect non-supported kernels better
Bert Hubert [Fri, 21 Apr 2006 21:02:59 +0000 (21:02 +0000)]
add self-test to epoll to detect non-supported kernels better
improve error loggig

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

19 years agodup2 /dev/null on fd's 0, 1 and 2 to prevent accidental logging
Bert Hubert [Fri, 21 Apr 2006 19:24:39 +0000 (19:24 +0000)]
dup2 /dev/null on fd's 0, 1 and 2 to prevent accidental logging

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

19 years agowe don't differentiate between NXDOMAIN and NXRECORDSET, regression caused by commit...
Bert Hubert [Fri, 21 Apr 2006 14:08:19 +0000 (14:08 +0000)]
we don't differentiate between NXDOMAIN and NXRECORDSET, regression caused by commit 658. Spotted by PowerDNS Gold User Jorn Ekkelenkamp

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

19 years agodocumentation, install fix, compilation fix for Solaris on intel (thanks Eric Sproul)
Bert Hubert [Thu, 20 Apr 2006 16:21:11 +0000 (16:21 +0000)]
documentation, install fix, compilation fix for Solaris on intel (thanks Eric Sproul)

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

19 years agooops, search /etc/powerdns not /etc rec-3-0 rec-3.0
Bert Hubert [Thu, 20 Apr 2006 11:00:03 +0000 (11:00 +0000)]
oops, search /etc/powerdns not /etc

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

19 years agomove to 3.0! No longer overwrite configuration on make install
Bert Hubert [Thu, 20 Apr 2006 10:09:36 +0000 (10:09 +0000)]
move to 3.0! No longer overwrite configuration on make install

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

19 years agoremove bashisms
Bert Hubert [Thu, 20 Apr 2006 10:00:01 +0000 (10:00 +0000)]
remove bashisms
fix install on Solaris, FreeBSD
add fake ./configure script to catch Boost or lack thereof
update documentation

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

19 years agothings not only compile but work now too for freebsd system compiler & boost
Bert Hubert [Thu, 20 Apr 2006 07:37:40 +0000 (07:37 +0000)]
things not only compile but work now too for freebsd system compiler & boost

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

19 years agowork around 3.4.4 compiler bugs (freebsd 6 system compiler)
Bert Hubert [Thu, 20 Apr 2006 06:55:40 +0000 (06:55 +0000)]
work around 3.4.4 compiler bugs (freebsd 6 system compiler)

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

19 years agowork around compiler bug
Bert Hubert [Thu, 20 Apr 2006 06:53:12 +0000 (06:53 +0000)]
work around compiler bug

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

19 years agomake logging really work
Bert Hubert [Wed, 19 Apr 2006 20:07:42 +0000 (20:07 +0000)]
make logging really work

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

19 years agohave to shift the multiplexer to way after fork - freebsd chokes on it
Bert Hubert [Wed, 19 Apr 2006 20:02:17 +0000 (20:02 +0000)]
have to shift the multiplexer to way after fork - freebsd chokes on it

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

19 years agoadd init.d script, install it
Bert Hubert [Wed, 19 Apr 2006 19:47:38 +0000 (19:47 +0000)]
add init.d script, install it
add manpages to .deb, .rpm and tar.bz2
make rec_control exit with a meaningful error

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

19 years agosecond one!
Bert Hubert [Wed, 19 Apr 2006 19:31:41 +0000 (19:31 +0000)]
second one!

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

19 years agofirst manpage
Bert Hubert [Wed, 19 Apr 2006 19:26:38 +0000 (19:26 +0000)]
first manpage

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

19 years agoease-of-make stuff, help user compile powerdns
Bert Hubert [Wed, 19 Apr 2006 15:32:02 +0000 (15:32 +0000)]
ease-of-make stuff, help user compile powerdns

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

19 years agofixes for easier packaging
Bert Hubert [Wed, 19 Apr 2006 13:57:02 +0000 (13:57 +0000)]
fixes for easier packaging

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

19 years agosolaris completion ports don't survive fork
Bert Hubert [Wed, 19 Apr 2006 13:53:22 +0000 (13:53 +0000)]
solaris completion ports don't survive fork

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

19 years agodocumentation, plus newline termination of 'pong' :-)
Bert Hubert [Wed, 19 Apr 2006 11:58:29 +0000 (11:58 +0000)]
documentation, plus newline termination of 'pong' :-)

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

19 years agoimplement rec_control 'ping', make socket-dir error message bit more helpful, warn...
Bert Hubert [Wed, 19 Apr 2006 09:30:45 +0000 (09:30 +0000)]
implement rec_control 'ping', make socket-dir error message bit more helpful, warn we are going to background

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

19 years ago#ifdef out solaris specifics, fix possible solaris ambiguity
Bert Hubert [Wed, 19 Apr 2006 09:18:49 +0000 (09:18 +0000)]
#ifdef out solaris specifics, fix possible solaris ambiguity

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

19 years agoneed to ship portsmplexer.cc too
Bert Hubert [Wed, 19 Apr 2006 09:04:54 +0000 (09:04 +0000)]
need to ship portsmplexer.cc too

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

19 years agoadd SunOS sysdeps
Bert Hubert [Wed, 19 Apr 2006 07:46:28 +0000 (07:46 +0000)]
add SunOS sysdeps
make ports multiplexer work
make compiling multiplexers no longer be silent

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

19 years agofirst shot at solaris completion ports multiplexer - wrote it on linux so it won...
Bert Hubert [Wed, 19 Apr 2006 06:52:30 +0000 (06:52 +0000)]
first shot at solaris completion ports multiplexer - wrote it on linux so it won't work yet

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

19 years agooops, need to limit top-remotes
Bert Hubert [Tue, 18 Apr 2006 22:51:24 +0000 (22:51 +0000)]
oops, need to limit top-remotes

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

19 years agoplacate valgrind + protect powerdns against non-IN queries, we don't deal well with...
Bert Hubert [Tue, 18 Apr 2006 22:24:14 +0000 (22:24 +0000)]
placate valgrind + protect powerdns against non-IN queries, we don't deal well with them, hand out SERVFAIL immediately

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

19 years agoimplement id.server, version.bind ("version-string" and "server-id" in config)
Bert Hubert [Tue, 18 Apr 2006 21:59:41 +0000 (21:59 +0000)]
implement id.server, version.bind ("version-string" and "server-id" in config)
implement remote-ringbuffer, rec_control top-remotes to see who is querying you
implement max-negative-ttl
remove socklen

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

19 years agomake advanced multiplexers and --fork play nicely
Bert Hubert [Tue, 18 Apr 2006 17:31:52 +0000 (17:31 +0000)]
make advanced multiplexers and --fork play nicely

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

19 years agospiff up ipv6 output a bit, work around odd linker things with static constructors
Bert Hubert [Tue, 18 Apr 2006 17:01:32 +0000 (17:01 +0000)]
spiff up ipv6 output a bit, work around odd linker things with static constructors

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

19 years agotyop
Bert Hubert [Tue, 18 Apr 2006 16:46:29 +0000 (16:46 +0000)]
tyop

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

19 years agokeep track of duplicate counts, they show up as unmatched answers
Bert Hubert [Tue, 18 Apr 2006 16:46:14 +0000 (16:46 +0000)]
keep track of duplicate counts, they show up as unmatched answers

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

19 years agomake clientside ipv4/ip6 agnostic, including allow-from
Bert Hubert [Tue, 18 Apr 2006 16:44:10 +0000 (16:44 +0000)]
make clientside ipv4/ip6 agnostic, including allow-from
fix address printing
fix tcp client limiting when listening on multiple addresses

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

19 years agobuild fixes
Bert Hubert [Tue, 18 Apr 2006 13:33:24 +0000 (13:33 +0000)]
build fixes

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

19 years agoremove sample code from kqueuemplexer, fix huge fd leak in pdns_recursor,
Bert Hubert [Tue, 18 Apr 2006 13:07:17 +0000 (13:07 +0000)]
remove sample code from kqueuemplexer, fix huge fd leak in pdns_recursor,
remove debugging output

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

19 years agofix duplicate return of sockets to the pool, improve tcp timeout message
Bert Hubert [Tue, 18 Apr 2006 12:49:46 +0000 (12:49 +0000)]
fix duplicate return of sockets to the pool, improve tcp timeout message

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