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
Michael Graff
e883738546
snapshot; a6 seems to work?
1999-10-30 02:26:03 +00:00
Michael Graff
4281fe4a80
dead/needs_poke are flags for adbnames, merge in Bob's changes
1999-10-30 01:58:02 +00:00
Bob Halley
9af545a6bd
a6 checkpoint 2
1999-10-30 01:35:51 +00:00
Bob Halley
fe14eafefa
a6 checkpoint
1999-10-30 01:22:16 +00:00
Michael Graff
84c46a7acb
cleanup snapshot
1999-10-29 23:53:12 +00:00
Michael Graff
21e7034ec0
print v6 hooks too; use logging system; general cleanup
1999-10-29 22:28:57 +00:00
Michael Graff
ebdd11e847
clean up; fix hashes
1999-10-29 22:09:31 +00:00
Michael Graff
790d7082a7
ooops
1999-10-29 21:49:38 +00:00
Michael Graff
59e22acc4f
fetch change: A -> pointer, AAAA -> pointer, A6 -> list
1999-10-29 21:48:51 +00:00
Bob Halley
f6d54f6ccb
fix logic bug
1999-10-29 21:43:13 +00:00
Michael Graff
d1fb73ada8
simplify importing rdatasets. One function handles A and AAAA types.
1999-10-29 19:42:06 +00:00
Michael Graff
528829aa8a
ipv6 AAAA queries work now.
1999-10-29 19:20:36 +00:00
Michael Graff
c803787146
replace all instances of 'handle' with 'find' since that's what they are now.
1999-10-29 18:30:48 +00:00
Michael Graff
2992344aac
dns_adbhandle_t -> dns_adbfind_t
1999-10-29 18:07:32 +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
Bob Halley
2a0b8796d4
A debugging statement was in the wrong place.
1999-10-29 03:05:24 +00:00
Michael Graff
d43c2cc7bc
private links are plink, public links are publink
1999-10-29 01:53:20 +00:00