Mark Andrews
550085fed1
1374. [func] dns_adb_dump() now logs the lame zones associated
...
with each server.
* DP now supports debbugging at non-debug levels.
* log fetch failure reasons at DEF_LEVEL.
2002-09-10 02:01:15 +00:00
Mark Andrews
c8aa2c8311
1204. [bug] The RTT estimate on unused servers was not aged.
...
[RT #2569 ]
2002-05-27 06:30:25 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
1e4bfff185
1137. [func] It is now possible to flush given names from the
...
adb cache dns_adb_flushname().
2001-11-27 03:00:50 +00:00
Andreas Gustafsson
452606f147
forgot to remove a function declaration in previous change
2001-11-14 23:15:44 +00:00
Andreas Gustafsson
ca50fa0230
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-14 22:32:10 +00:00
Andreas Gustafsson
f3ca27e9fe
sizeof style
2001-11-12 19:05:39 +00:00
Andreas Gustafsson
78bf1ca895
1111. [bug] Multithreaded servers could deadlock processing
...
recursive queries due to a locking hieararchy
violation in adb.c. [RT #2017 ]
2001-11-07 22:40:33 +00:00
Mark Andrews
773e64ec15
try-edns is no more
2001-11-07 04:25:19 +00:00
Andreas Gustafsson
ff303bcf27
Begin comments with capital letter; misc other
...
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
7923de0ddd
consistently begin debug log messages with a lower case letter
2001-10-27 00:32:31 +00:00
Andreas Gustafsson
d3f58baf38
log a debug log message when reaching a memory water mark
2001-10-27 00:29:35 +00:00
Andreas Gustafsson
66bea4d912
if() condition in check_expire_entry did not have
...
the effect I think was intended due to operator precedence: || binds tighter than ?:.
Rewrote it without :?.
2001-10-25 17:47:16 +00:00
Mark Andrews
081cff0c33
1073. [bug] The adb cache should also be space driven,
...
max-adb-size. [RT #1915 , #1938 ]
2001-10-25 04:57:46 +00:00
Andreas Gustafsson
0e27dac042
spacing
2001-10-19 01:29:41 +00:00
Mark Andrews
06a960c681
971. [func] 'try-edns' can be use to disable edns on all queries.
2001-08-30 05:52:18 +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
Brian Wellington
d1cbf71409
clean up suspicious looking and incorrect uses of dns_name_fromregion
2000-10-07 00:09:28 +00:00
Andreas Gustafsson
6bd179ea9a
removed empty line at beginning of file
2000-09-29 23:54:31 +00:00
Andreas Gustafsson
f20c9d340a
fixed a typo in a comment, expanded another
2000-09-29 23:53:05 +00:00
Michael Graff
e1db5e817f
ask the database for aaaa records too, when an a6 isn't found.
2000-09-26 22:28:55 +00:00
Michael Graff
7da0286b54
get rid of isc_random_t -- use a wrapper around rand() instead that doesn't do as much work. Also, implement isc_random_jitter(), used to generate a value between a min, max, with a provided jitter value.
2000-09-06 02:40:00 +00:00
Michael Graff
306a935305
add find->result_v[46]
2000-08-26 02:21:45 +00:00
Brian Wellington
5e387b9ce6
and more calls to DESTROYLOCK
2000-08-26 01:37:00 +00:00