Andreas Gustafsson
4f30395c97
Suppress compiler warnings about empty translation units
2001-11-20 21:28:41 +00:00
Brian Wellington
81f6192a0c
spacing
2001-11-20 18:42:26 +00:00
Andreas Gustafsson
945f7311ca
Don't return a value from isc__strerror(); it was never used, and
...
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
17453368fa
Reimplemented the built-in CHAOS zones using sdb.
2001-11-20 01:18:15 +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
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
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
74dfe6155f
Add win32 support for bind9 library
2001-11-17 03:57:12 +00:00
Brian Wellington
25fd0feeea
1121. [bug] The server could attempt to access a NULL zone
...
table if shut down while resolving.
[RT #1587 , #2054 ]
2001-11-16 21:47:27 +00:00
Andreas Gustafsson
1e1f1edb7d
pullup:
...
130. [bug] Log messages reporting an out-of-range serial number
did not include the out-of-range number but the
following token. [RT #2076 ]
2001-11-16 19:00:37 +00:00
Mark Andrews
fefab489c7
pullup:
...
1129. [bug] Multithreaded servers could crash under heavy
resolution load due to a race condition. [RT #2018 ]
2001-11-16 11:04:38 +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
db40c6bfdf
don't unlock the node lock in no_references() [RT #2018 ]
2001-11-16 00:17:07 +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
Mark Andrews
913e3def6d
pullup:
...
extra text after #else
2001-11-15 06:21:38 +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
Mark Andrews
309979a136
pullup:
...
Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-11-15 01:24:21 +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
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
Mark Andrews
fc67f3e0e3
pullup:
...
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-15 00:35:17 +00:00
Andreas Gustafsson
452606f147
forgot to remove a function declaration in previous change
2001-11-14 23:15:44 +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
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
2869504d83
1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
...
[RT #2046 ]
2001-11-14 01:31:12 +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
Andreas Gustafsson
63d380e078
pullup:
...
1116. [bug] Setting transfers in a server clause, transfers-in,
or transfers-per-ns to a value greater than
2147483647 disabled transfers. [RT #2002 ]
(Technically, this is an API change, but since it only changes the signedness of some
function parameters, it is still binary compatible in practice and I'll let it slip
by without bumping the major library version number)
2001-11-13 18:57:14 +00:00
Andreas Gustafsson
46879265d7
pullup:
...
1120. [bug] Errors in options were not fatal. [RT #2002 ]
2001-11-13 18:36:04 +00:00
Mark Andrews
ae29b66fbf
BIND 8.3 compat "suppress-initial-notify".
2001-11-13 06:57:11 +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
5c4e92b973
Added support for NTFS disks
2001-11-13 05:07:57 +00:00
Mark Andrews
29d7ef1bca
cleanup allow-update-forwarding.
2001-11-13 02:52:10 +00:00
Mark Andrews
be7d7a6638
pullup:
...
1118. [bug] On multithreaded servers, a race condition
could cause an assertion failure in resolver.c
during resolver shutdown. [RT #2029 ]
2001-11-12 22:37:05 +00:00
Mark Andrews
d0b2beb93d
pullup:
...
1111. [bug] Multithreaded servers could deadlock processing
recursive queries due to a locking hieararchy
violation in adb.c. [RT #2017 ]
2001-11-12 22:28:30 +00:00
Andreas Gustafsson
f3ca27e9fe
sizeof style
2001-11-12 19:05:39 +00:00
Andreas Gustafsson
e3e94dd137
1118. [bug] On multithreaded servers, a race condition
...
could cause an assertion failure in resolver.c
during resolver shutdown. [RT #2029 ]
2001-11-12 18:48:50 +00:00