Commit graph

1722 commits

Author SHA1 Message Date
Bob Halley
86a30f8262 don't core dump if we get an upwards referral 1999-11-24 00:34:01 +00:00
Bob Halley
91d0c4e268 post-review cleanups 1999-11-23 20:54:20 +00:00
Bob Halley
7ab5937e0b turn off AD if we have rendered pending data 1999-11-23 20:53:34 +00:00
Bob Halley
b65c1b247f add DNS_DBFIND_PENDINGOK support 1999-11-23 20:53:17 +00:00
Bob Halley
875e88e734 move some debugging output from level 1 to level 3 1999-11-23 20:52:34 +00:00
Bob Halley
852a7a71c9 first try at comments 1999-11-23 20:45:56 +00:00
Bob Halley
59c049874b revise shutdown process; a6 chain expiration 1999-11-22 19:57:58 +00:00
Bob Halley
502dac3e7f revise shutdown process 1999-11-22 19:57:17 +00:00
Bob Halley
66dfced5d1 keep track of now and the chain expiration time 1999-11-22 19:56:08 +00:00
Bob Halley
b80290952d add shutdown and whenshutdown methods 1999-11-22 19:55:08 +00:00
Bob Halley
27d4efe5c8 cleanup; add view shutdown events 1999-11-22 19:54:23 +00:00
Bob Halley
205790a755 coordinated shutdown of resolver and adb 1999-11-22 19:53:51 +00:00
Bob Halley
b03c7e14f1 build confparser.c when depending 1999-11-22 19:14:16 +00:00
Michael Graff
42fe494186 Minor API change. The 'factor' now ranges from 0..10. See adb.h for details. 1999-11-19 00:30:13 +00:00
James Brister
17c551bed1 Attach (instead of straight pointer copy) a returned dns_c_ipmatchlist
when pulled from a zone.
1999-11-17 22:28:52 +00:00
James Brister
292031c9fc - Removed config *_delete functions on structures that use reference
counting and replaced with *_detach.
- Changed config *_attach functions to return the new attached value through
  the paramater list rather than as a return value.
- Changed config *_delete functions to no longer allow deletion of a null
  pointer
- Changed calls to the config *_delete functions to make sure no null
  pointers were passed in.
- Changed use of the config *_attach function to match new signature.
1999-11-17 21:52:32 +00:00
Andreas Gustafsson
add0155318 added isc_ratelimiter_t, a helper object that lets you
dispatch events to a task with a guaranteed minimum interval
1999-11-17 01:29:44 +00:00
Bob Halley
3d3a9152d8 EDNS support.
TCP support.
1999-11-16 21:07:13 +00:00
Bob Halley
7a3010be81 add NOEDNS0 flag 1999-11-16 21:05:33 +00:00
Bob Halley
3cd4668988 In tcp_recv(), free the event before calling destroy(), since the event is
a statically allocated part of the tcpmsg.
1999-11-16 21:05:09 +00:00
Bob Halley
70b065bd92 bits was being ORed with the mask instead of ANDed.
Update the entry's flags too.
1999-11-16 21:04:18 +00:00
Michael Graff
4f6dd51441 add dns_adb_changeflags() 1999-11-16 06:53:29 +00:00
Brian Wellington
d0345e08f2 Fix crash in dns_tsig_destroy and memory leak in dns_tsig_init 1999-11-16 03:02:36 +00:00
Michael Graff
fb12d257ef plug some memory leaks found durring interop testing 1999-11-09 05:39:45 +00:00
Bob Halley
b223821425 ANY queries should not match negative cache entries 1999-11-09 02:27:46 +00:00
Bob Halley
65f9103cc5 destroy routine now does nothing if init failed 1999-11-05 20:19:24 +00:00
Bob Halley
edee9a8a12 If we discover a server is broken for a zone, don't talk to it for 10
minutes.
1999-11-05 20:16:45 +00:00
Brian Wellington
37300957db added dns_tkey_destroy, other minor fixes 1999-11-05 16:53:47 +00:00
Brian Wellington
31b6349dbb added dns_tkey_destroy 1999-11-05 16:53:24 +00:00
Bob Halley
61b103daed RTT support 1999-11-05 09:50:52 +00:00
Bob Halley
28ab8277a0 create adb list types 1999-11-05 09:49:53 +00:00
Michael Graff
6dde125c2f be more cautious when updating expire times, and unify name/address buckets 1999-11-05 02:05:06 +00:00
Bob Halley
f924db5119 1000 nanoseconds in a microsecond, not 10000 1999-11-04 21:40:49 +00:00
Bob Halley
a2cc581af9 enable processing of type 3 nodata/nxdomain 1999-11-04 19:39:16 +00:00
William King
888a65ed82 AIX 4.3 T_TIMEOUT in sys/timer.h conflicts with ours. badbeef. 1999-11-04 19:36:00 +00:00
Michael Graff
569d094440 An additional coredump avoiding REQUIRE() 1999-11-04 18:45:21 +00:00
Michael Graff
b06ac13313 check for NULL before filling in retured node pointer. 1999-11-04 18:42:27 +00:00
Bob Halley
3165855ecf Do not treat a negative cache entry as "the answer" if we've already got
the answer due to CNAME/DNAME chaining.

Do not try to make a negative cache entry if we've chained outside of the
query domain.
1999-11-04 18:38:14 +00:00
Michael Graff
ef5e39139c remove checks for null view, since we won't let that happen. Add a bit
of code to avoid pounding on servers that we can't find the addresses
of.  Right now the adb just stops checking for 5 minutes.
1999-11-04 09:42:46 +00:00
Michael Graff
c68421fffe clean up selection of which fetch is which in combined callback for A/AAAA 1999-11-04 09:04:29 +00:00
Michael Graff
f788a57046 reset partial flag only when deleting names 1999-11-04 08:50:12 +00:00
Michael Graff
65f6d2e1c1 clean up macros to avoid HAVE_* names. First a6 is a fetch, not name, attribute. 1999-11-04 08:48:47 +00:00
Michael Graff
93d3a6fd20 Don't say we're actually expiring addresses unless we really do. 1999-11-04 08:35:45 +00:00
Michael Graff
11e89b9b44 update the right ttl in a/aaaa db lookups. Print ttl in seconds from now, rather than absolute time. 1999-11-04 08:29:06 +00:00
Michael Graff
499371d17c call dns_rdataset_init() on temprdatasets returned from
dns_message_gettemprdataset().  This is the only way to
allow us to insist that they are not associated when
returned via puttemprdataset().
1999-11-04 06:59:59 +00:00
Michael Graff
3d12fa7e76 snapshot; start noting negative cache ttls 1999-11-04 06:46:05 +00:00
Bob Halley
a7c6cb0a8c Remove remnant of old TTL code that broke $TTL. 1999-11-04 06:12:40 +00:00
Mark Andrews
6314cd3338 Support $TTL w/ BIND 8 format
dns_ttl_fromtext() to return DNS_R_BADTTL not DNS_R_SYNTAX.
1999-11-04 01:21:28 +00:00
Bob Halley
307fed93c4 allow negative cache entries to be returned 1999-11-03 19:58:00 +00:00
Bob Halley
79bbb290d9 deal with negative cache results 1999-11-03 19:57:32 +00:00