Michael Graff
02a0f2f083
when we find a CNAME/DNAME, set the result code to DNS_R_ALIAS, so it will
...
be caught properly in createfind()
2000-01-28 00:32:32 +00:00
Michael Graff
5a675fa40a
always set find->query_pending correctly
2000-01-27 02:14:53 +00:00
Bob Halley
e485d16462
name tasks
2000-01-25 19:31:23 +00:00
Bob Halley
97a274369d
edns_level was not being initialized.
2000-01-22 00:26:57 +00:00
Bob Halley
fe197676cc
handle CNAME/DNAME results from A6 fetches
2000-01-22 00:19:55 +00:00
Bob Halley
4abed3e356
CNAME/DNAME chaining (initial support; A6 still missing)
2000-01-21 02:50:27 +00:00
Mark Andrews
058eeac210
add limits.h for INT_MAX
2000-01-21 02:13:38 +00:00
Bob Halley
fd1c538c9d
fix typo
2000-01-19 02:28:48 +00:00
Bob Halley
16508d9185
Lower cache minimum time to 10 seconds. Enforce the minimum.
...
Preliminary support for the "target" attribute of the adbname, to be used
for CNAME/DNAME chains later on.
The resolver will now do appropriate findzonecut calls, so the ADB need
not concern itself with them any more.
Fix some bugs in NXDOMAIN/NXRRSET handling.
2000-01-19 01:43:58 +00:00
Bob Halley
daf83a2937
Use dns_view_simplefind().
...
Handle the NXDOMAIN and NXRRSET cases, so we don't start fetches for
data we're authoritative for.
2000-01-15 00:45:49 +00:00
Bob Halley
45dadd25ba
we sometimes were not decrementing irefcnt
2000-01-13 20:42:43 +00:00
Andreas Gustafsson
2d083fead2
incorrect function name in debug tracing output
2000-01-13 18:58:01 +00:00
Bob Halley
fbc09123cd
shutdown_entries() was erroneously unlocking the wrong lock.
2000-01-12 22:22:20 +00:00
Bob Halley
a44c12b332
add dns_adb_findaddrinfo() and dns_adb_freeaddrinfo()
2000-01-12 03:00:33 +00:00
Bob Halley
24a2d84aed
add DNS_ADBFIND_STARTATROOT
2000-01-06 00:56:37 +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
Bob Halley
4a3ad0da97
IPv6 query flood suppression
1999-12-14 00:10:06 +00:00
Michael Graff
d947011dc3
change macro name from ADB_NCACHE_MINIMUM to ADB_CACHE_MINIMUM since it's used
...
as a general purpose minimum ttl, and actually set the TTL to the minimum
when re get a negative cache entry.
1999-12-11 02:30:24 +00:00
Michael Graff
a44bd6a6ed
Unlock the right bucket in the race condition avoidance case
1999-12-10 23:22:13 +00:00
Michael Graff
f6f4ceece4
more fully implement the 'standard' in6_addr, and use the macros correctly
...
in adb.c
1999-12-02 23:45:30 +00:00
Michael Graff
6a0f1e6b61
Make a (perhaps) temporary change to make this build on non-ipv6 aware
...
OSs. It may remain (but not in the present form) since storing ipv6
addresses in the adb makes little sense if you can't use them...
1999-12-02 04:20:00 +00:00
Michael Graff
3115cd89bc
Ignore ipv6 mapped ipv4 addresses.
...
Set a default TTL for type 3 negative cache elements. This is local to
the ADB, and cannot leak to clients, so no specs are violated.
Change a logging level to be less verbose.
1999-12-01 02:05:16 +00:00
Bob Halley
8cdfd17426
review checkpoint
1999-11-25 01:23:32 +00:00
Michael Graff
294802790e
Fix a lot of negative caching issues. I believe the code will use
...
ncache responses from fetches and database lookups correctly now, but
there needs to be a little more cleanup here and there. Bugs exist.
1999-11-24 19:23:27 +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
59c049874b
revise shutdown process; a6 chain expiration
1999-11-22 19:57:58 +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
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
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
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
3d12fa7e76
snapshot; start noting negative cache ttls
1999-11-04 06:46:05 +00:00
Bob Halley
75841ddeb0
add missing DNS_DBFIND_GLUEOK
1999-11-03 03:20:16 +00:00
Michael Graff
517274e709
kill name->query_pending, since that bitmask is really represented more
...
accurately by other means. Reverse the sense of fetch checking from
NO_FETCH_A() and NO_FETCH_AAAA(), etc to NAME_FETCH_A(), NAME_FETCH_AAAA(),
and add address family checks like NO_FETCH_V4() and _V6().
Fix a database dump bug where the A fetches were printed twice rather than
printing the AAAA fetches. Add printing of A6 fetches.
1999-11-02 18:36:54 +00:00
Bob Halley
1ac7292ced
initialize addr_bucket
1999-11-02 00:39:11 +00:00
Michael Graff
14b98cb34e
fix a few bugs, and start an AAAA db lookup/query if no A6 is found
1999-11-02 00:29:45 +00:00
Michael Graff
78854e02c1
cleanup and fix a bug where finds will wait forever.
1999-11-01 20:16:35 +00:00
Michael Graff
b5492be2c7
more debugging output.
1999-11-01 02:57:16 +00:00
Michael Graff
3edb3c8e7d
minor formatting nits, and require at least one address family
...
be requested in calls to dns_adb_createfind().
1999-11-01 02:29:03 +00:00
Mark Andrews
01883602b1
remove compiler warning
1999-11-01 00:10:10 +00:00
Bob Halley
67052fc644
comment out dumping calls
1999-10-31 19:29:20 +00:00
Bob Halley
c8b60c24ab
initialize a6 chain correctly before copying
1999-10-30 03:41:34 +00:00
Michael Graff
288f9443ac
add a few more logging lines; no functional change.
1999-10-30 02:40:59 +00:00