Commit Graph
228 Commits
Author SHA1 Message Date
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
Andreas Gustafsson ef0cb3cc5b create a task pool for use by the zones 1999-10-21 00:33:54 +00:00
Bob Halley 71637c6489 Add more comments about synthesizing a CNAME when following a DNAME. 1999-10-20 23:27:25 +00:00
Bob Halley 9ab8a7477d Synthesize an appropriate CNAME when following DNAME. 1999-10-20 23:22:04 +00:00
Bob Halley ae51af4776 fix memory leak in client_addopt() 1999-10-20 23:20:30 +00:00
Bob Halley d3376f4cf5 start work to allow a client to be cancelled/idled 1999-10-20 01:58:48 +00:00
Bob Halley d38a7a518f Set AD. 1999-10-19 20:22:38 +00:00
Bob Halley 3f6714ce54 Remove query_a6additional(), since the latest version of the DNS lookups
draft no longer requires type A and AAAA additional section processing for
the owner name of an A6 rrset.
1999-10-19 20:02:59 +00:00
Andreas Gustafsson 8e99b9ed65 warn about failed zone loads 1999-10-19 19:14:14 +00:00
Bob Halley 8a9f679d60 Ensure version is always NULL for cache databases.
Plug a memory leak in the DNAME code.
1999-10-18 21:02:48 +00:00
Bob Halley d680c5e7d5 Do not free client->query.qname prematurely.
Detach from our fetch as soon as it is done.  (Not doing this meant we
couldn't recurse again when restarting.)
Fix some bugs in the multiple question code that were causing qtype to be
set incorrectly when restarting after recursion.
1999-10-17 19:27:04 +00:00
Bob Halley 238c9f5aaa qtype was not restored correctly after recursion. 1999-10-16 20:50:33 +00:00
Bob Halley a2250d2462 Negative caching support. 1999-10-16 01:04:12 +00:00
Bob Halley 6bd80c2c4e Ignore negative cache entries in ANY query responses. 1999-10-15 20:48:34 +00:00
Bob Halley 66a6c17757 When using the hints database, 'db' was not reset from the cache to the
hints database.  Later on we'd try to detach a node from the hints database
using the cache database, and this would trigger an assertion.
1999-10-15 06:49:58 +00:00
Bob Halley 016326d111 overhaul loading; get rid of old load scheme 1999-10-15 01:51:48 +00:00
Bob Halley d057803db4 delete ns_g_dbs and ns_g_confctxlock; init ns_g_conffile 1999-10-15 01:51:08 +00:00
Bob Halley 067a6ca8b4 eliminate confctx lock 1999-10-15 01:49:46 +00:00
Bob Halley ba88ba8a3f eliminate temporary zone/cache loading scheme 1999-10-15 01:48:29 +00:00
Andreas Gustafsson 30805ef951 undo previous change: both issues were already addressed 1999-10-14 19:55:34 +00:00
Mark Andrews 92450223ca missing variable, result could be used before being set. 1999-10-14 04:20:20 +00:00
Andreas Gustafsson e117f2e80e use the new DNS_R_NOTLOADED result code 1999-10-14 02:24:17 +00:00
Andreas Gustafsson e5805c0a75 dns_getname_origin now returns (dns_name_t *) again 1999-10-14 02:12:03 +00:00
Andreas Gustafsson e112f5a7ab uninitialized variable 1999-10-14 02:07:10 +00:00
Andreas Gustafsson ac83c71498 undo part of previous change: don't construct reply message twice 1999-10-14 02:05:07 +00:00