Commit graph

204 commits

Author SHA1 Message Date
Mark Andrews
ee61dfc5ed sync w/HEAD 2003-10-21 05:56:41 +00:00
Mark Andrews
69acffbb19 sync with HEAD 2003-10-14 03:48:11 +00:00
Mark Andrews
c0535cfd3b INSIST -> RUNTIME_CHECK 2003-10-10 00:37:32 +00:00
Mark Andrews
f41aa29350 INSIST -> RUNTIME_CHECK 2003-10-10 00:22:48 +00:00
Mark Andrews
3db497e1ac INSIST -> RUNTIME_CHECK 2003-10-10 00:12:55 +00:00
Mark Andrews
388732593d cleanup spaces before semicolons. 2003-09-24 03:47:21 +00:00
Mark Andrews
57b54234cd sizeof style 2003-09-11 00:18:18 +00:00
Mark Andrews
c3fedc9282 1402. [cleanup] A6 has been moved to experimental and is no longer
fully supported.
2003-08-25 04:16:27 +00:00
Mark Andrews
38ebaa15d1 pullup:
add missing whitespace if fprintf
2003-08-21 07:38:42 +00:00
Mark Andrews
f9192a3940 1374. [func] dns_adb_dump() now logs the lame zones associated
with each server.
2003-08-21 04:47:43 +00:00
Mark Andrews
fcb70eb568 1137. [func] It is now possible to flush a given name from the
ADB by calling the new function dns_adb_flushname().
2003-08-08 04:35:17 +00:00
Mark Andrews
9c9e5c572b 1073. [bug] The ADB cache cleaning should also be space driven.
[RT #1915, #1938]
2003-08-07 04:47:36 +00:00
Mark Andrews
da204aa8be 1496. [protocol] dig, nslookup and host now perform nibble lookups
under IP6.ARPA, use -i for IP6.INT (dig and host).
                        lwres now uses IP6.ARPA.
2003-07-25 04:36:46 +00:00
Mark Andrews
1d04b5105d 1495. [cleanup] Replace hash functions with universal hash. 2003-07-25 03:31:45 +00:00
Mark Andrews
fe15a52e07 1488. [bug] Don't override trust levels for glue addresses.
[RT #5764]
2003-07-18 04:35:51 +00:00
Mark Andrews
5679eb9258 1445. [bug] DNS_ADBFIND_STARTATROOT broke stub zones. This has
been replaced with DNS_ADBFIND_STARTATZONE which
                        causes the search to start using the closest zone.
2003-05-19 04:47:06 +00:00
Mark Andrews
5ee074953f 1450. [bug] Fetching expired glue failed under certian
circumstances.  [RT #5124]
2003-05-15 02:29:33 +00:00
Mark Andrews
e0c73b8923 1401. [bug] adb wasn't clearing state when the timer expired. 2003-05-12 05:54:57 +00:00
Mark Andrews
a7efbe70e7 merge 9.2.2 back into v9_2 2003-03-06 04:38:29 +00:00
Mark Andrews
891c424e56 update_copyrights 2002-08-05 06:57:16 +00:00
Mark Andrews
c4610cb161 reviewed: bwelling
1304.  [bug]           The RTT estimate on unused servers was not aged.
                       [RT #2569]
2002-07-10 06:43:01 +00:00
Mark Andrews
fc67f3e0e3 pullup:
Partial fix for RT #2053.  The potential for deadlock still exists,
but it is much less likely to occur because we now only take the ADB lock when
the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-15 00:35:17 +00:00
Mark Andrews
d0b2beb93d pullup:
1111.   [bug]           Multithreaded servers could deadlock processing
                        recursive queries due to a locking hieararchy
                        violation in adb.c. [RT #2017]
2001-11-12 22:28:30 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
c44072c299 uninitialized pointer could potentially (but not likely)
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)
2001-06-11 04:26:41 +00:00
David Lawrence
92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington
8358be5851 uninitialized variable 2001-05-29 22:44:12 +00:00
Bob Halley
1a286a6613 In certain cases, the resolver's attempts to restart an address lookup
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225]
2001-05-02 17:29:17 +00:00
Andreas Gustafsson
570234616c when following A6 chains, glue was inadvertantly ignored 2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831 commented 2001-04-30 18:27:10 +00:00
Brian Wellington
c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +00:00
Andreas Gustafsson
abd51a9a96 removed unused label 2001-04-10 00:18:27 +00:00
Bob Halley
907620b5e0 The ADB didn't find AAAA glue in a zone unless A6 glue was also present. 2001-03-30 17:27:29 +00:00
Andreas Gustafsson
d1cc210d20 RT #927 fix from Bob:
759.   [bug]           The resolver didn't turn off "avoid fetches" mode
                        when restarting, possibly causing resolution
                        to fail when it should not.  This bug only affected
                        platforms which support both IPv4 and IPv6. [RT #927]

 758.   [bug]           The "avoid fetches" code did not treat negative
                        cache entries correctly, causing fetches that would
                        be useful to be avoided.  This bug only affected
                        platforms which support both IPv4 and IPv6. [RT #927]
2001-02-28 20:51:22 +00:00
Andreas Gustafsson
a349fd680c removed all code for maintaining a 'goodness' value in the adb,
since it was never used and Michael thinks 'it should probably be removed'.
2001-02-09 00:13:55 +00:00
Brian Wellington
b7cd261f2f dns_name_concatenate(foo, NULL, bar, NULL) -> dns_name_copy(foo, bar, NULL) 2001-02-05 19:47:05 +00:00
Andreas Gustafsson
dfa0badebe 715. [bug] Resolving some A6 chains could cause an assertion
failure in adb.c. [RT #738]
2001-01-30 05:56:58 +00:00
Andreas Gustafsson
9e992ecf37 further cleanup of ADB dumps 2001-01-27 02:44:35 +00:00
Brian Wellington
7b5172166d Waking up once a second to clean one bucket is excessive. Change the
default values (and dependencies) so that the clenup routine is called once
ever 30 seconds and cleans 8-9 buckets.
2001-01-26 03:20:58 +00:00
Andreas Gustafsson
57ecc983c0 removed unused edns_level member from ADB entry 2001-01-22 22:53:13 +00:00
Andreas Gustafsson
d5874af5a5 removed avoid_bitstring feature from the ADB 2001-01-22 22:51:23 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
58cbc05eb0 Fix memory leak in dns_view_find; return DNS_R_HINTNXRRSET instead of
DNS_R_NOTFOUND when correct to do so.
2000-12-20 23:31:11 +00:00
Brian Wellington
13090db2b1 dns_view_find can now do ANY queries; it takes additional db and node
parameters used for return values.
2000-12-20 03:38:46 +00:00
Andreas Gustafsson
5fca48054b dump the ADB in a more user-friendly format (unless a debug flag is set) 2000-12-18 20:03:33 +00:00
Andreas Gustafsson
acea06c80c spelling 2000-12-15 21:06:00 +00:00
Andreas Gustafsson
f58cfa95f7 comment formatting 2000-11-11 02:14:25 +00:00
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews
c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00