Commit Graph

252 Commits

Author SHA1 Message Date
Bob Halley
d55dc2ac56 implement directory option 1999-10-31 19:30:16 +00:00
Bob Halley
4344875f60 Fix linux privilege dropping. 1999-10-31 02:05:31 +00:00
Bob Halley
dce6dc45b1 linux_dropprivs() seems to be broken; disable for now 1999-10-30 03:38:52 +00:00
Andreas Gustafsson
1fbb35f902 isc_buffer_putmem() is now in the library 1999-10-29 23:54:37 +00:00
Bob Halley
efba17ab56 update client->now when resuming after recursion 1999-10-29 16:17:15 +00:00
Bob Halley
7622df5154 add client->now 1999-10-29 16:16:54 +00:00
Bob Halley
4d1ec6f027 xfrin.c was still listed in SRCS 1999-10-29 15:36:08 +00:00
Brian Wellington
ffdcf33647 TSIG uses the new kdeflist accessor, other assorted TSIG/TKEY config updates 1999-10-29 13:56:56 +00:00
Mark Andrews
fe37278859 in6_addr.s6_addr is *always* an array. 1999-10-29 06:36:05 +00:00
Mark Andrews
12df8cb49a Fix #include <dns/xfrin.h> 1999-10-29 05:08:55 +00:00
Andreas Gustafsson
a474ba139d enabled incoming zone transfer code; there are no SOA
queries yet, so we just do an unconditional transfer attempt at server
startup time for each slave zone
1999-10-29 02:41:56 +00:00
Andreas Gustafsson
81ce556e02 moved xfrin.c from bin/named to lib/dns by repository copy 1999-10-29 02:12:01 +00:00
Andreas Gustafsson
f5c1114cd8 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:57:34 +00:00
Andreas Gustafsson
71a16ee135 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:46:53 +00:00
Andreas Gustafsson
04a1773db3 fixed memory leak (zone was not detached);
eliminated extra newline at end of RRs being logged;
be more explicit about object ownership by setting pointers to NULL
whenever ownership is tranferred
1999-10-29 00:24:36 +00:00
Andreas Gustafsson
30be9a55be allocate message data structures using dns_message_gettemp* in IXFR case, too 1999-10-28 19:11:33 +00:00
Andreas Gustafsson
5b62e9688e question section was missing from AXFR request after previous change;
don't expect TSIGs on *XFR responses if we didn't TSIGn the request;
if TSIG is used, it is required on the first message of the response
1999-10-28 01:10:38 +00:00
Andreas Gustafsson
a21582b70e the message library now requires that names are allocated using
dns_message_gettempname()
1999-10-28 00:02:08 +00:00
Brian Wellington
24e49b2133 TSIG initialization moved until after config file parsing 1999-10-27 20:00:40 +00:00
Andreas Gustafsson
7386586e11 use the logging library, not printf 1999-10-26 19:40:18 +00:00
Brian Wellington
90ace4c9e0 preliminary TKEY support 1999-10-26 15:41:48 +00:00
Andreas Gustafsson
d65139063d eliminate IRIX compiler warning about unreachable statement 1999-10-25 22:20:50 +00:00
Bob Halley
f96d5fd14e add NS_QUERYATTR_CACHEGLUEOK 1999-10-25 21:22:10 +00:00
Bob Halley
bf336d5694 Get rid of NXGLUE.
We would fail to do any A6 or AAAA additional data section processing if
the A RR didn't exist.
Suppress cache glue except when generating a referral.
1999-10-25 21:21:55 +00:00
Andreas Gustafsson
8803b05108 use the logging library, not printf 1999-10-25 20:23:13 +00:00
Andreas Gustafsson
afda854d34 obey the transfer_format option (just the global one for now) 1999-10-25 20:22:39 +00:00
Bob Halley
1fc4929aa6 syslog support 1999-10-25 18:59:38 +00:00
Bob Halley
73ca2fa486 cache loading 1999-10-25 18:59:20 +00:00
Bob Halley
925c6e6f4d minor tweaks; add -x to load cache 1999-10-25 18:58:43 +00:00
Mark Andrews
6166e52816 move zone loading out of callback 1999-10-25 16:46:15 +00:00
Mark Andrews
936f1c128f add log context to dns_zone_copy()
fix various locking problems in zone.
1999-10-25 13:44:53 +00:00
Mark Andrews
a9bbe392e5 sort #include <dns/*.h> 1999-10-25 13:25:43 +00:00
Mark Andrews
4c494e429c Perform explict attach of db to xfr stucture. Calling function to detach. 1999-10-25 12:18:43 +00:00
Bob Halley
d18e956d56 add 1999-10-23 16:47:08 +00:00
Bob Halley
9b2267b5ba add 1999-10-23 01:08:57 +00:00
Bob Halley
f41948fc23 os-specific init 1999-10-23 01:07:22 +00:00
Bob Halley
19f88bd7ad build unix 1999-10-23 01:06:51 +00:00
Andreas Gustafsson
8327c62a49 added logging modules and categories for update, xfer-in, xfer-out 1999-10-23 00:44:40 +00:00
Bob Halley
deb12179be do not BEGIN/END C++ DECLS 1999-10-23 00:42:52 +00:00
Bob Halley
378d26619d catch assertion failures and library fatal errors 1999-10-23 00:33:04 +00:00
Bob Halley
8582a1e113 cleanups 1999-10-23 00:32:48 +00:00
Bob Halley
b8257bd2d8 logging tweaks and fixes 1999-10-23 00:02:23 +00:00
Andreas Gustafsson
8f6a8ce904 IXFR-over-UDP conditional was backwards 1999-10-22 19:42:38 +00:00
Bob Halley
a4b6a1622b really basic logging instead of printf 1999-10-22 19:35:19 +00:00
Bob Halley
202d738d87 add 1999-10-22 19:34:03 +00:00
Bob Halley
1687985cdf add log.c 1999-10-22 19:33:40 +00:00
Bob Halley
64a840af49 Remove unused variable 'nxglue' from query_addadditional(). 1999-10-21 18:08:43 +00:00
Bob Halley
b0d415629b Add query_addbestns(), which will add the deepest known zonecut for the
query name to the authority section of nonauthoritative replies.

query_addadditional() sometimes tried to detach from a nonattached node.
1999-10-21 17:49:55 +00:00
Andreas Gustafsson
6f0768d939 typo caused wrong file to be used as journal file for outgoing ixfr 1999-10-21 00:36:43 +00:00
Andreas Gustafsson
999ae80184 use zone task pool for update queueing; use separate journal file
for each zone
1999-10-21 00:35:53 +00:00