Commit Graph

10912 Commits

Author SHA1 Message Date
Andreas Gustafsson
17453368fa Reimplemented the built-in CHAOS zones using sdb. 2001-11-20 01:18:15 +00:00
Mark Andrews
d8720af3a3 new draft 2001-11-20 00:43:22 +00:00
Andreas Gustafsson
6cd7bd1fb5 spacing 2001-11-19 22:32:04 +00:00
Andreas Gustafsson
459d31fa83 consistently put the LIBDNS_EXTERNAL_DATA before the const 2001-11-19 21:34:31 +00:00
Andreas Gustafsson
10640b2e3e added lib/bind9/win32/* 2001-11-19 21:17:08 +00:00
Andreas Gustafsson
b0a1fa9b20 updated drafts 2001-11-19 20:52:23 +00:00
Danny Mayer
e61793f086 Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32 2001-11-19 03:08:44 +00:00
Danny Mayer
707b733dc3 Add missing include file 2001-11-18 06:21:35 +00:00
Danny Mayer
cff4f731e4 Fix to eliminate extra cursor and ico information 2001-11-18 06:19:17 +00:00
Danny Mayer
33b8775d3a Updated to support tree organization changes and to support the lib/bind9 library code 2001-11-18 03:11:06 +00:00
Danny Mayer
0021672451 Added proper code for retrieving the hostname 2001-11-18 03:03:42 +00:00
Danny Mayer
74dfe6155f Add win32 support for bind9 library 2001-11-17 03:57:12 +00:00
Andreas Gustafsson
cde2f4dabe style 2001-11-16 23:58:39 +00:00
Andreas Gustafsson
92094d44a2 1131. [bug] The match-destinations view option did not work with
IPv6 destinations. [RT #2073, #2074]
2001-11-16 20:01:57 +00:00
Andreas Gustafsson
11fe3dcfe2 clarified 1130. 2001-11-16 18:53:51 +00:00
Mark Andrews
d1abb8bb02 1130. [bug] Out of range serial number were not being logged.
[RT #2076]
2001-11-16 10:50:00 +00:00
Brian Wellington
db0e722d83 oops, remove the other call to freehostent() 2001-11-16 06:48:22 +00:00
Brian Wellington
09ce736e9a unitialized variable [RT #2075] 2001-11-16 04:43:04 +00:00
Brian Wellington
d972554740 mismatched parens, missing failure return, remove incorrect use of
freehostent() [RT #2075]
2001-11-16 04:41:58 +00:00
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