Commit graph

1787 commits

Author SHA1 Message Date
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
Mark Andrews
8a21ac0f09 Add isc_buffer_putstr(). 1999-12-13 02:18:02 +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
Andreas Gustafsson
5cee8302fc dns_aml_checkrequest() now takes signer name, not message 1999-12-10 18:14:49 +00:00
Andreas Gustafsson
211e0a6fc2 the TC bit was only checked in messages that ended
prematurely; it should be checked always
1999-12-10 17:31:08 +00:00
Michael Graff
efff2a52af Make this compile (without ipv6 socket support) on half-done implementations. 1999-12-10 16:51:39 +00:00
Mark Andrews
bd1a878734 Update dns_name_fromregion to match reality. 1999-12-10 02:23:08 +00:00
Michael Graff
c2b450fa72 don't hide the fact that some ipv6 stacks aren't all there. 1999-12-09 00:19:31 +00:00
Michael Graff
8b7f596003 Use one more returned-event attribute to indicate fatal error, where
retrying on a socket is pointless, as it will immediately fail.
1999-12-08 22:53:08 +00:00
Mark Andrews
6cefa82d9a dns_journal_rollforward() now returns DNS_R_JOURNAL if the file does not exist. 1999-12-07 06:26:59 +00:00
Mark Andrews
3864eb0e9a Add DNS_R_NOJOURNAL 1999-12-07 06:06:51 +00:00
Michael Graff
633c5ee7b9 remove a debugging statement that is no longer useful, and fix an error return 1999-12-06 23:07:05 +00:00
Michael Graff
857f8bd11b Cast to (void *) to shut up compiler warnings re signed/unsigned char *. It
would be so nice if people would define 'msg_control' in a msghdr to be
consistant with other pointers...
1999-12-06 22:33:20 +00:00
James Brister
0e0be28c8b Added some extra REQUIREs and fixed up some magic number handling. 1999-12-06 18:25:40 +00:00
James Brister
638434f6d3 Dead code removal. 1999-12-06 18:22:41 +00:00
Andreas Gustafsson
d1422e0bda don't print bogus number of received bytes at end of transfer 1999-12-06 18:00:31 +00:00
James Brister
1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
James Brister
ce84c593e8 gcc 2.7.2.3 and 2.95.1 both dislike '#warn' but will accept '#warning' cpp
statements.
1999-12-06 12:35:19 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Michael Graff
f684e54a0d remove _S6_u64 from the in6_addr, and define struct in6_pktinfo 1999-12-03 01:22:40 +00:00
Andreas Gustafsson
2d29b080fc use a reasonable default cache cleaning interval of 2 hours
until the cleaning-interval config file option gets wired up
1999-12-02 23:53:08 +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
443ad8c09c add IPV6 macros for unspecified, loopback, v4compat, and v4mapped addresses 1999-12-02 22:50:17 +00:00
Andreas Gustafsson
fd15c8e32e Views now have a 'cache' field. The 'cachedb' field still
exists as a convenience shortcut / backwards compatibility thing.
1999-12-02 22:38:34 +00:00
Andreas Gustafsson
b120e39dea renamed dns_cache_getdb() to dns_cache_attachdb(); removed debug printf 1999-12-02 22:35:29 +00:00
Andreas Gustafsson
97404c1965 forward declare dns_cache_t in <dns/types.h>;
renamed dns_cache_getdb() to dns_cache_attachdb()
1999-12-02 22:35:01 +00:00
Andreas Gustafsson
d8574ceec6 forward declare dns_cache_t in <dns/types.h> 1999-12-02 22:34:32 +00:00
Andreas Gustafsson
35b22d104a new cleanup strategy to handle timeouts correctly 1999-12-02 22:33:15 +00:00
Andreas Gustafsson
1fd768aea9 changed arguments to dns_aml_checkrequest(); comments 1999-12-02 22:27:51 +00:00
Michael Graff
7e74203c0f NetBSD's thread (temporary) fix 1999-12-02 20:31:06 +00:00
Andreas Gustafsson
67b32ad707 removed embedded newline from log message 1999-12-02 05:11:28 +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
Andreas Gustafsson
be3fa6d82f typo 1999-12-01 20:30:16 +00:00
Andreas Gustafsson
e6428e3af6 Use documented default value for max-transfer-time-in 1999-12-01 18:31:09 +00:00
James Brister
0666859124 Relocated errant break statements. 1999-12-01 17:59:22 +00:00
James Brister
29bf8316a3 - Hold list of pubkeys instead of a single pubkey in zones.
- Change dns_zone_copy to use pubkey list.
- MAGIC-number related fixes and miscellaneous defensive programing issues.
1999-12-01 16:29:00 +00:00
Andreas Gustafsson
cd36fa7eb9 obey the max-transfer-time-in option;
do not include zone.h twice
1999-12-01 03:55:22 +00:00
Andreas Gustafsson
97ad774ae2 commented purging of timer events on timer destruction 1999-12-01 03:12:22 +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
7ce4b963eb Increase quota limits for dispatchers. 1999-12-01 00:35:28 +00:00
Andreas Gustafsson
79c08618e9 use NULL (not 0) for null pointers; use size_t (not unsigned int) in
sysctl() arguments
1999-11-30 22:13:26 +00:00
Andreas Gustafsson
dac2799ea1 new source file aml.c, for address match list handling 1999-11-30 22:10:08 +00:00