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

226 Commits

Author SHA1 Message Date
Mark Andrews
9b8057fce9 Add dns_adb_attach(). 2000-04-18 08:18:52 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Bob Halley
738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Michael Graff
419dd7129f clean 1 bucket every N seconds, or M buckets every 1 seconds. Also, decay goodness 2000-02-18 03:53:00 +00:00
Michael Graff
c50f9f4103 clean up a bit of old code 2000-02-16 01:49:11 +00:00
Michael Graff
69a7905cf3 return 'avoid_bitstring' in dns_adbaddrinfo_t. If non-zero, the timer hasn't expired.
This means we need to pass 'now' into dns_adb_findaddrinfo() as well, to filter
out timers that have expired.
2000-02-16 00:16:36 +00:00
Bob Halley
eafe61bee8 The DNS_ADBFIND_STARTATROOT wasn't working. 2000-02-12 02:19:53 +00:00
Bob Halley
9e89140c97 fix clamping problem for maximally bad goodness 2000-02-11 02:58:44 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Michael Graff
ffd9f87970 s/IGNORELAME/RETURNLAME/g 2000-02-02 23:27:39 +00:00
Michael Graff
1a0e33bc20 implement DNS_ADBFIND_GLUEOK, DNS_ADBFIND_HINTOK, and DNS_ADBFIND_IGNORELAME 2000-02-02 23:24:04 +00:00
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