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

105 Commits

Author SHA1 Message Date
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
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