Andreas Gustafsson
a928d61917
fixed a race condition where a cache cleaning cycle could
...
be started when one was already in progress; restructured to destroy and recreate
the cache database iterator between cleaning cycles instead of just pausing it
2000-01-06 01:12:20 +00:00
Bob Halley
24a2d84aed
add DNS_ADBFIND_STARTATROOT
2000-01-06 00:56:37 +00:00
Bob Halley
35b89fca89
If we're looking up the address of a nameserver who's name is a
...
subdomain of the query domain, tell the ADB to start looking at "." if
it doesn't know the address. This keeps us from getting stuck if the
nameserver is beneath the zone cut and we don't know its address
(e.g. because the A record has expired). By restarting from ".", we
ensure that any missing glue will be reestablished.
Misc. DNSSEC validation groundwork.
2000-01-06 00:56:18 +00:00
Andreas Gustafsson
ed04318ef6
timer event could arrive after cache cleaner was destroyed;
...
use the new <isc/util.h>
2000-01-04 23:24:13 +00:00
Andreas Gustafsson
ffa15cef7f
document the fact that dns_acl_match now always succeeds
2000-01-04 21:45:08 +00:00
Mark Andrews
9fd735a3d9
xfrin_start_temporary_kludge() was called when the zone was already locked.
...
DNS_ZONE_F_REFRESH needs to be set when we call xfrin_start_temporary_kludge()
from xfrdone().
1999-12-31 00:20:47 +00:00
Mark Andrews
60f0c36b17
Reposition call back to capture both successful IXFR's as well as AXFR's.
1999-12-24 00:44:59 +00:00
Mark Andrews
f6c1a76e91
Cached NXDOMAIN for type ANY queries should be bound to a rdataset.
1999-12-23 06:50:51 +00:00
Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
Andreas Gustafsson
542189f21b
dns_result_torcode() now converts ISC_R_SUCCESS into
...
dns_rcode_noerror, not dns_rcode_servfail
1999-12-22 22:11:18 +00:00
Andreas Gustafsson
fba6d4604d
do not log "zone serial has gone backwards" when the
...
serial remains unchanged on zone reload
1999-12-22 20:52:32 +00:00
Andreas Gustafsson
d6f5fc7911
handle null pubkeys and ACLs in dns_zone_compare()
1999-12-22 19:09:29 +00:00
Andreas Gustafsson
9b0e18da3d
dns_result_t/isc_result_t unification
1999-12-22 17:37:31 +00:00
Michael Graff
733b16eb0b
priority rendering
1999-12-22 03:22:59 +00:00
Mark Andrews
491319c34c
dbiterator_pause (dns_dbiterator_pause) can now pause a interator after
...
hitting end of chain. If we have a node increase its reference count
and set paused flag.
1999-12-22 03:01:02 +00:00
Mark Andrews
9ac1456101
A fix comments to match reality.
1999-12-21 00:34:44 +00:00
Brian Wellington
d84ce5d5c6
plug a memory leak on failure
1999-12-17 21:09:34 +00:00
James Brister
e0c873ebc7
Declare new function dns_c_checkconfig that's used in main parsing routine.
1999-12-17 18:34:16 +00:00
James Brister
ad62ba2e70
Do checks on some integers for size limits.
1999-12-17 18:32:38 +00:00
James Brister
4239a56ab2
Added new function dns_c_checkconfig .
1999-12-17 18:29:38 +00:00
Andreas Gustafsson
8f79820c69
wired up the 'cleaning-interval' config option
1999-12-17 01:02:49 +00:00
Michael Graff
59602a4485
set DNS_RDATASETATTR_TTLADJUSTED when the ttl's for rdata don't match
1999-12-17 00:21:38 +00:00
Michael Graff
58aaab3687
isc_stdtime_get() now returns void, not isc_result_t.
1999-12-16 23:29:07 +00:00
Andreas Gustafsson
6017f424ee
introducing dns_acl_t; other restructuring of server
...
configuration process aiming to reduce the degree of mutual dependency
between lib/dns/config and the rest of libdns
1999-12-16 23:11:07 +00:00
Michael Graff
440be4c866
move util.h to <isc/util.h>
1999-12-16 22:24:22 +00:00
Mark Andrews
e7340552be
missed a master xfer out change
1999-12-16 01:24:27 +00:00
Mark Andrews
f6a9dd2c61
complete slave side of notify
1999-12-16 01:23:17 +00:00
Michael Graff
b8ef99c3a7
make the lfsr's real lfsr's, and use two of them to generate random-looking IDs
1999-12-16 00:07:21 +00:00
Michael Graff
607dc8013a
make dispatcher hash sizes be primes, and provide an increment to help
...
resolve hash collisions
1999-12-15 17:14:52 +00:00
Mark Andrews
271154eafd
dns_message_reply(): copy the question section of notify messages.
1999-12-15 07:28:51 +00:00
Michael Graff
0a9fedafec
Use an LFSR to generate unpredictable IDs.
1999-12-15 03:11:00 +00:00
Mark Andrews
8b791b4ee8
'covers' was not being set when extracting questions from a incoming message,
...
set covers to zero.
1999-12-15 02:25:35 +00:00
Andreas Gustafsson
016191545a
removed unused variable and unnecessary #includes
1999-12-14 23:43:03 +00:00
James Brister
b9dc54b8dd
- Fixed transfer/idle times in zones that were being lef as minutes.
...
- Added checking for minutes that are too big to be converted to seconds.
1999-12-14 10:28:00 +00:00
Andreas Gustafsson
8146ee1fac
make an unexpectedly empty journal file cause a DNS_R_UNEXPECTED return,
...
like other forms of journal corruption do.
1999-12-14 01:26:03 +00:00
Bob Halley
4a3ad0da97
IPv6 query flood suppression
1999-12-14 00:10:06 +00:00
Bob Halley
525cdd36b3
exponential backoff on retransmission
1999-12-13 22:30:55 +00:00
Mark Andrews
4bb1729d24
dns_zone_getxfrtime -> dns_zone_getmaxxfrin
1999-12-13 07:57:36 +00:00
Mark Andrews
24b22ddce7
typo's
1999-12-13 07:56:26 +00:00
Mark Andrews
76a8dfb307
Add idle and max xfer timeouts.
1999-12-13 06:39:39 +00:00
Mark Andrews
2ea83bcfe5
Stub zones do not transfer out.
...
Master zones do transfer out.
1999-12-13 05:24:13 +00:00
Mark Andrews
8436cbc6a4
Connect zone transfers to refresh timers.
...
Various logging changes.
Add dns_zone_getclass().
Added locking to zonemgr.
1999-12-13 03:04:55 +00:00
Mark Andrews
0b87eaccdb
Add callback when xfrin completes/fails.
...
Perform a SOA serial upto date check when IXFR attempt fails.
1999-12-13 03:01:53 +00:00
Mark Andrews
33a2ca5a71
dns_journal_print() nor returns DNS_R_NOJOURNAL if the journal does not exist.
1999-12-13 02:58:06 +00:00
Mark Andrews
4754765cc0
Fully declare function pointers.
1999-12-13 02:22:09 +00:00
James Brister
e8cf926e39
Fix (and test) for max-transfer statements inside zones.
1999-12-11 14:07:19 +00:00
Mark Andrews
29b1cf6c7a
Check for DNS_R_NOJOURNAL when rolling back a journal..
1999-12-11 14:05:22 +00:00
James Brister
0b8e472452
Support new max-transfer-time-out, max-transfer-idle-in and
...
max-transfer-idle-out statements in options block and zone statements.
1999-12-11 13:44:46 +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