Commit Graph
231 Commits
Author SHA1 Message Date
Bob Halley 7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
Bob Halley bfab626984 When answering a nonrecursive query, do not use the cache if we have a
referral from authoritative data.
2000-02-01 02:23:39 +00:00
Andreas Gustafsson 4ab89b50e5 need #include <dns/rdatatype.h> 2000-01-27 19:45:33 +00:00
Andreas Gustafsson 143c2d39fa configuration locking checkpoint 2000-01-27 01:00:16 +00:00
Andreas Gustafsson 9e694201cf eliminated global variable ns_g_tkeyctx 2000-01-25 19:05:46 +00:00
Brian Wellington bf08eb90e4 use the new TSIG/TKEY code 2000-01-21 20:24:49 +00:00
Bob Halley f87506d115 conform to resolver API change 2000-01-21 02:51:09 +00:00
Andreas Gustafsson 09df1930e9 client can now reserve multiple types of quota simultaneously;
client quota bug fixes
2000-01-15 00:36:47 +00:00
Andreas Gustafsson 559b10cc8f client quotas; added reference counting to ns_interface_t
and ns_interfacemgr_t so that they can safely hold quota information
2000-01-11 21:18:22 +00:00
Bob Halley 45068fd4dc fix problem with SRV recursive additional data 2000-01-07 02:42:45 +00:00
Andreas Gustafsson 2cb0da946e the client and query data structures were not cleaned up
correctly if the server got a SIGINT with a recursive query in progress
2000-01-06 01:09:27 +00:00
Mark Andrews 6b32dc65e4 A whole lot of logging currently disabled with noop MACRO. 1999-12-24 00:43:46 +00:00
Michael Graff 3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Andreas Gustafsson 143592a649 new client shutdown cleanup strategy 1999-12-22 16:59:05 +00:00
Michael Graff 2015bf18c9 remove ../../isc/util.h that Andreas put back in. 1999-12-16 23:37:27 +00:00
Michael Graff 58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Andreas Gustafsson 6017f424ee introducing dns_acl_t; other restructuring of server
configuration process aiming to reduce the degree of mutual dependency
between lib/dns/config and the rest of libdns
1999-12-16 23:11:07 +00:00
Michael Graff 440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Bob Halley 314b686c17 plug negative response memory leaks 1999-12-14 00:39:57 +00:00
Andreas Gustafsson c295547c73 use the "recursion" and "allow-recursion" config options;
set RA correctly in responses
1999-12-10 23:58:04 +00:00
Andreas Gustafsson f882ab1ac2 obey the "auth-nxdomain" config option (but the default
is now "no"
1999-12-10 21:19:40 +00:00
Andreas Gustafsson 0fb226f025 implemented 'allow-query' config option 1999-12-10 18:15:32 +00:00
Bob Halley 031614c8da Fix typo that was breaking A6 additional section processing. 1999-11-24 19:54:48 +00:00
Bob Halley feee451098 log queries at debug level 1 1999-11-23 20:55:33 +00:00
Bob Halley 93fa7f3078 conform to a6 API changes 1999-11-22 19:52:39 +00:00
Bob Halley 672893c239 If the client used TCP, tell the resolver to do so as well. 1999-11-16 21:08:59 +00:00
Bob Halley ecda717550 deal with negative responses in query_simplefind() 1999-11-03 23:50:39 +00:00
Bob Halley 83ffabbfe1 Deal with negative cache responses when using dns_db_findrdataset(). 1999-11-03 20:20:38 +00:00
Bob Halley 5305b2140b eliminate unused vars 1999-11-02 16:09:02 +00:00
Bob Halley ecd4a905ec more fixes to 1.48 1999-11-02 15:55:39 +00:00
Mark Andrews b3bdf85fd8 get additional section processing working again. 1999-11-02 06:57:30 +00:00
Bob Halley efba17ab56 update client->now when resuming after recursion 1999-10-29 16:17:15 +00:00
Mark Andrews fe37278859 in6_addr.s6_addr is *always* an array. 1999-10-29 06:36:05 +00:00
Brian Wellington 90ace4c9e0 preliminary TKEY support 1999-10-26 15:41:48 +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
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
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 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
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 d60f5b9bc8 Zone support 1999-10-14 01:37:00 +00:00
Bob Halley 30b652c9f3 improve post-recursion code 1999-10-13 02:08:19 +00:00