Commit Graph
10893 Commits
Author SHA1 Message Date
Andreas Gustafsson b4aeceec73 1129. [bug] Multithreaded servers could crash under heavy
resolution load due to a race condition. [RT #2018]
2001-11-16 02:07:51 +00:00
Andreas Gustafsson db40c6bfdf don't unlock the node lock in no_references() [RT #2018] 2001-11-16 00:17:07 +00:00
Andreas Gustafsson a831ffc8fe new draft 2001-11-15 23:46:00 +00:00
Andreas Gustafsson f8aa552edb Split contrib/sdb into a subdirectory per driver 2001-11-15 23:15:34 +00:00
Mark Andrews b8f2869bef accepted by dnsop 2001-11-15 22:22:21 +00:00
Andreas Gustafsson 307ba34fa0 1128. [func] sdb drivers can now provide RR data in either text
or wire format, the latter using the new functions
                        dns_sdb_putrdata() and dns_sdb_putnamedrdata().
(in preparation for sdb-izing the built-in CHAOS zones)
2001-11-15 20:32:05 +00:00
Brian Wellington d9af67ef70 add RSA to the secalgs list in rdata.c (as a synonym for RSAMD5), remove the
special case code in dnssec-keygen to parse RSA.
2001-11-15 19:44:52 +00:00
Andreas Gustafsson 36d8518388 indentation 2001-11-15 19:06:04 +00:00
Andreas Gustafsson 3179bab5b8 extra text after #else 2001-11-15 01:58:28 +00:00
Brian Wellington 00c8cf21f0 simplify #ifdef mess 2001-11-15 01:29:42 +00:00
Andreas Gustafsson 20c21edada deal with the NO_DATA/NO_ADDRESS mess using a bunch
of #ifs and #ifdefs, as recommended by Mark
2001-11-15 01:20:16 +00:00
Andreas Gustafsson cef23f1f01 no need to include <isccfg/cfg.h>; include <isc/net.h> to define in_port_t 2001-11-15 01:04:06 +00:00
Andreas Gustafsson 06364bcf06 did not compile on systems lacking getaddrinfo() due to typos 2001-11-15 00:58:00 +00:00
Andreas Gustafsson a79f12ba46 remove NO_ADDRESS, not NO_DATA 2001-11-15 00:53:05 +00:00
Brian Wellington 47b4920f08 add the undocumented -S (simple output format) option 2001-11-15 00:51:23 +00:00
Andreas Gustafsson 78f0b08d54 duplicate switch case on systems defining NO_ADDRESS and NO_DATA with the same value 2001-11-15 00:51:10 +00:00
Brian Wellington 420e5e1022 retry connecting on all errors except CANCELED, not just on CONNREFUSED. 2001-11-14 23:54:29 +00:00
Andreas Gustafsson f547209bf6 more leftovers 2001-11-14 23:16:49 +00:00
Andreas Gustafsson 452606f147 forgot to remove a function declaration in previous change 2001-11-14 23:15:44 +00:00
Andreas Gustafsson ca1ecf38c6 forgot to remove an UNLOCK() in previous change 2001-11-14 23:15:22 +00:00
Brian Wellington 3f96cf3e4f Allow up to 10 addresses, not 4. 2001-11-14 23:14:29 +00:00
Brian Wellington b6b9d8b843 1127. [func] rndc: If the server to contact has multiple addresses,
try all of them.
2001-11-14 23:12:18 +00:00
Brian Wellington 0f1938c982 set ai_socktype in the hints to getaddrinfo, so that the result doesn't
contain duplicate addresses.
2001-11-14 23:03:42 +00:00
Andreas Gustafsson ca50fa0230 Partial fix for RT #2053. The potential for deadlock still exists,
but it is much less likely to occur because we now only take the ADB lock when the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-14 22:32:10 +00:00
Brian Wellington 08e4f1ac94 oops, inadvertantly checked in a change here. 2001-11-14 22:14:19 +00:00
Brian Wellington a873540eb6 When in singlethreaded mode, don't drain the event queue before exiting
isc_app_run().  The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Brian Wellington b493dfe8bc Add bind9_getaddresses(), a consistent version of the get_address function
from dig/host/nslookup, nsupdate, and rndc.  This should make it
easier to have the various programs support multiple addresses for a hostname.
2001-11-14 22:08:38 +00:00
Andreas Gustafsson cab27680d6 change 1077. introduced a locking hierarchy violation; fix by
introducing a separate lock for resolver->nfctx.
2001-11-14 22:05:05 +00:00
Brian Wellington f109354dce copyright 2001-11-14 22:01:40 +00:00
Andreas Gustafsson 31f6e44dca 1126. [bug] The server could access a freed event if shut
down while a client start event was pending
                        delivery. [RT #2061]
2001-11-14 22:00:22 +00:00
Mark Andrews 77e0ae46ee new draft 2001-11-14 21:35:45 +00:00
Andreas Gustafsson fbdbb3e8fa spacing 2001-11-14 19:11:06 +00:00
Andreas Gustafsson 3c53361901 added FAQ about rndc attempting to use IPv6 2001-11-14 17:47:33 +00:00
Mark Andrews 6d6529b5e5 1125. [bug] rndc: -k missing from usage. [RT #2057] 2001-11-14 06:42:46 +00:00
Mark Andrews 0b07b9482c 1124. [doc] dig: +[no]dnssec, +[no]besteffort and +[no]fail
now documented. [RT #2052]
2001-11-14 06:34:24 +00:00
Mark Andrews c0fe9b0d1b 1123. [bug] dig +[no]fail did not match description. [RT #2052] 2001-11-14 06:31:38 +00:00
Andreas Gustafsson 10a6442013 typo 2001-11-14 02:03:43 +00:00
Andreas Gustafsson 2869504d83 1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
[RT #2046]
2001-11-14 01:31:12 +00:00
Andreas Gustafsson ce6caa0759 grammar 2001-11-14 01:10:59 +00:00
Andreas Gustafsson 138cc7f283 1121. [bug] The server could attempt to access a NULL zone
table if shutting down while resolving.
                        [RT #1587, #2054]
2001-11-14 01:01:28 +00:00
Mark Andrews 2edb8bce12 draft-schlyter-appkey-01.txt 2001-11-13 22:39:13 +00:00
Andreas Gustafsson 2053e8c26c consistent spacing 2001-11-13 19:06:41 +00:00
Andreas Gustafsson 5c859d99f0 new draft 2001-11-13 18:27:58 +00:00
Mark Andrews ae29b66fbf BIND 8.3 compat "suppress-initial-notify". 2001-11-13 06:57:11 +00:00
Mark Andrews ac1a59e95c 1120. [bug] Errors in options were not fatal. [RT #2002] 2001-11-13 06:40:59 +00:00
Mark Andrews aa51fc8106 1119. [bug] Errors in options were not fatal. [RT #2002] 2001-11-13 06:34:59 +00:00
Mark Andrews 0316cd0c04 NODE_VALID -> DNS_RBTNODE_VALID 2001-11-13 06:19:55 +00:00
Danny Mayer 58930ca980 On Win32 added support for creating NTFS disk ACL's 2001-11-13 05:21:37 +00:00
Danny Mayer 5c4e92b973 Added support for NTFS disks 2001-11-13 05:07:57 +00:00
Mark Andrews 2612cf1a5e draft-ietf-dnsop-hardie-shared-root-server-06.txt 2001-11-13 00:04:14 +00:00