2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

765 Commits

Author SHA1 Message Date
Bob Halley
35b89fca89 If we're looking up the address of a nameserver who's name is a
subdomain of the query domain, tell the ADB to start looking at "." if
it doesn't know the address.  This keeps us from getting stuck if the
nameserver is beneath the zone cut and we don't know its address
(e.g. because the A record has expired).  By restarting from ".", we
ensure that any missing glue will be reestablished.

Misc. DNSSEC validation groundwork.
2000-01-06 00:56:18 +00:00
Michael Graff
733b16eb0b priority rendering 1999-12-22 03:22:59 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Michael Graff
607dc8013a make dispatcher hash sizes be primes, and provide an increment to help
resolve hash collisions
1999-12-15 17:14:52 +00:00
Bob Halley
4a3ad0da97 IPv6 query flood suppression 1999-12-14 00:10:06 +00:00
Bob Halley
525cdd36b3 exponential backoff on retransmission 1999-12-13 22:30:55 +00:00
Andreas Gustafsson
211e0a6fc2 the TC bit was only checked in messages that ended
prematurely; it should be checked always
1999-12-10 17:31:08 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Bob Halley
7ce4b963eb Increase quota limits for dispatchers. 1999-12-01 00:35:28 +00:00
Bob Halley
e7cdf5a35c Cancelation of TCP queries while they were still connecting was broken, and
would cause seg faults.

Do not update the RTT if a query is being canceled due to internal failures.

Some servers generate badly formatted responses when they get an EDNS
query.  We were marking these servers as bad, but a more practical
solution is to retry without EDNS.  If a message fails to parse due to
DNS_R_FORMERR or DNS_R_UNEXPECTEDEND, and we were using EDNS, we now
retry the query without EDNS.

Add a "default" case to the message parsing error switch.  This prevents bad
things from happening if message parsing fails in a nontypical way.
1999-11-30 20:57:05 +00:00
Bob Halley
65a17ce1f3 eliminate special A6 processing; more comments 1999-11-24 23:24:11 +00:00
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
502dac3e7f revise shutdown process 1999-11-22 19:57:17 +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
Bob Halley
3d3a9152d8 EDNS support.
TCP support.
1999-11-16 21:07:13 +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
Bob Halley
61b103daed RTT support 1999-11-05 09:50:52 +00:00
Bob Halley
a2cc581af9 enable processing of type 3 nodata/nxdomain 1999-11-04 19:39:16 +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
Bob Halley
9736378f29 dns_resolver_createfetch() now logs the name and type of the fetch.
Move most tracing to debug level 3.
1999-11-03 19:56:47 +00:00
Bob Halley
77b9650eb1 Improve response caching logic.
First try at handling type 3 negative replies.
1999-11-03 03:19:17 +00:00
Bob Halley
fea89edbab Using AF_INET6 when creating an IPv6 socket helps a lot! 1999-11-02 00:56:49 +00:00
Bob Halley
9b82e777d5 Turn off debugging code that sets the TTL of additional data to very
small values.
1999-10-31 22:02:40 +00:00
Bob Halley
77ab7ec58e clear ADDRWAIT on timeout 1999-10-31 20:36:05 +00:00
Bob Halley
5d397cd3a9 set adb options based on supported network protocols 1999-10-30 03:40:54 +00:00
Bob Halley
cbf4007b0b checkpoint 1999-10-29 21:48:10 +00:00
Michael Graff
897c9ddb4d implement dns_adb_cancelfind(), rename _done() to _destroyfind(), and _lookup to _createfind() 1999-10-29 18:00:31 +00:00
Mark Andrews
90adbb5f1c Remove various "enumerated type mixed with another type" warnings.
More still to be removed.
#define ISC_TF(x) to covert logical result to isc_boolean_t
1999-10-29 12:56:58 +00:00
Bob Halley
d4adf00b63 adb support 1999-10-29 03:30:49 +00:00
Michael Graff
3a19eddcc7 start at port 5353, and try up to port 5399. This is so both Andreas and I
can run things on the same machine.  :)
1999-10-29 00:14:02 +00:00
Bob Halley
3894acca89 lint 1999-10-28 01:37:43 +00:00
Bob Halley
7b87e35d02 use dns_view_findzonecut() 1999-10-27 00:44:24 +00:00
Bob Halley
5fda368652 supress glue, except when needed 1999-10-25 21:19:54 +00:00
Bob Halley
6fe8621e7f convert tracing into debug logging 1999-10-22 19:32:49 +00:00
Bob Halley
f1962da938 Add fctx_stopidletimer().
Remove some remnants of the old locking system.
Prep work for future calls to DNSSEC validation.
Misc. cleanups.
1999-10-20 19:20:48 +00:00
Bob Halley
1646ae97bc add dns_resolver_cancelfetch 1999-10-20 01:57:05 +00:00
Bob Halley
000ee57965 Deal with DNS_R_UNCHANGED cases, where we've tried to add data to the cache
but have found that the cache contents are better.
1999-10-19 19:52:56 +00:00
Bob Halley
de13dac233 handle negative answers with CNAME/DNAME chains 1999-10-19 02:33:42 +00:00
Bob Halley
b500110b22 preliminary DNAME support 1999-10-18 21:05:49 +00:00
Bob Halley
fcddaadc8e CNAME support in positive answers. 1999-10-17 19:21:43 +00:00
Bob Halley
692cae8634 The authority section wasn't being marked for caching. 1999-10-16 20:34:04 +00:00
Bob Halley
3706171484 Partially working negative caching. 1999-10-16 00:48:34 +00:00
Bob Halley
9ad0ebf65e Start dealing with the DNS_R_UNCHANGED case when adding rdatasets. 1999-10-15 20:51:19 +00:00
Bob Halley
df0453520c checkpoint 1999-10-15 01:43:04 +00:00
Bob Halley
0340a9c05a checkpoint 1999-10-13 02:08:30 +00:00
Bob Halley
01b523fe60 checkpoint: basic referrals 1999-10-12 20:39:35 +00:00
Bob Halley
eba3ad47e7 checkpoint: basic answer processing and caching 1999-10-11 19:24:28 +00:00
Brian Wellington
3f6dc1703f tsig structure/function name change 1999-10-08 18:37:24 +00:00