Bob Halley
628b315462
If we have no addresses at all, but some have been pruned by the
...
ADB due to lameness, turn off lameness checking and try again.
2000-02-03 00:01:08 +00:00
Michael Graff
1a0e33bc20
implement DNS_ADBFIND_GLUEOK, DNS_ADBFIND_HINTOK, and DNS_ADBFIND_IGNORELAME
2000-02-02 23:24:04 +00:00
Bob Halley
37b4618a5b
fctx_start() did not properly check the fctx exit conditions and could
...
try to destroy the fctx before the reference count went to zero (triggering
an assertion).
2000-02-02 20:27:56 +00:00
Bob Halley
e974143273
do not ever mark forwarders as lame
2000-02-01 02:16:17 +00:00
Bob Halley
8057b3a8e4
If dns_adb_createfind() returns DNS_R_ALIAS, do not leak the find.
...
If dns_adb_createfind() is not successful, don't give up immediately. Instead,
keep trying to lookup the other nameserver names.
2000-01-28 20:17:32 +00:00
Bob Halley
f91c2ae744
basic priming support
2000-01-27 02:55:47 +00:00
Bob Halley
5b5ab09b34
eliminate port-wiring hack
2000-01-26 19:23:53 +00:00
Bob Halley
0df20c101e
add v6 dispatcher and options to resolver creation routine
2000-01-26 16:57:48 +00:00
Bob Halley
d127026e58
force referral updates; name tasks
2000-01-25 19:27:30 +00:00
Andreas Gustafsson
1aa3837945
dns_rdatatype_totext() needs #include <dns/rdatatype.h>
2000-01-24 18:13:06 +00:00
Bob Halley
f8d472bac0
Minor cleanups.
2000-01-22 00:23:07 +00:00
Bob Halley
a7f0ce6fe7
Canceling or destroying a fetch no longer requires the resolver to be specified
...
as an argument to the function.
Conform to dns_adb_createfind() API changes.
cache_name() leaked the node reference in some cases; this would prevent
database cleanup from occurring later on.
2000-01-21 02:47:30 +00:00
Bob Halley
e8e4cccb4c
domain and nameservers arguments to createfetch are now optional
2000-01-18 02:49:03 +00:00
Bob Halley
866fdff926
minor tweaks; added some assertions
2000-01-14 02:38:02 +00:00
Bob Halley
7c2fd18a36
support freezing; basic forwarding
2000-01-12 02:59:48 +00:00
Michael Graff
0941f35ad9
Start moving the dispatcher code to allow it to be used for wire format as well as for lightweight resolver daemon stuff.
2000-01-07 01:17:47 +00:00
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