Commit graph

526 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
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
Andreas Gustafsson
5cee8302fc dns_aml_checkrequest() now takes signer name, not message 1999-12-10 18:14:49 +00:00
Mark Andrews
bd1a878734 Update dns_name_fromregion to match reality. 1999-12-10 02:23: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
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
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
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
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
1fd768aea9 changed arguments to dns_aml_checkrequest(); comments 1999-12-02 22:27:51 +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
dac2799ea1 new source file aml.c, for address match list handling 1999-11-30 22:10:08 +00:00
Andreas Gustafsson
3f84bf884a added DNS_LOGMODULE_AML 1999-11-30 22:04:56 +00:00
Andreas Gustafsson
f951f076f3 added cache code from late spring; it is not yet used 1999-11-29 17:58:39 +00:00
Andreas Gustafsson
8d6e7d47cf added DNS_EVENT_CACHECLEAN 1999-11-28 21:18:02 +00:00
Bob Halley
82886629c4 dns_message_renderrelease() is now void 1999-11-25 01:58:28 +00:00
Bob Halley
2da97701c4 update comments 1999-11-25 00:08:15 +00:00
Bob Halley
b65c1b247f add DNS_DBFIND_PENDINGOK support 1999-11-23 20:53:17 +00:00
Bob Halley
852a7a71c9 first try at comments 1999-11-23 20:45:56 +00:00
Bob Halley
66dfced5d1 keep track of now and the chain expiration time 1999-11-22 19:56:08 +00:00
Bob Halley
b80290952d add shutdown and whenshutdown methods 1999-11-22 19:55:08 +00:00
Bob Halley
27d4efe5c8 cleanup; add view shutdown events 1999-11-22 19:54:23 +00:00
Bob Halley
205790a755 coordinated shutdown of resolver and adb 1999-11-22 19:53:51 +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
James Brister
292031c9fc - Removed config *_delete functions on structures that use reference
counting and replaced with *_detach.
- Changed config *_attach functions to return the new attached value through
  the paramater list rather than as a return value.
- Changed config *_delete functions to no longer allow deletion of a null
  pointer
- Changed calls to the config *_delete functions to make sure no null
  pointers were passed in.
- Changed use of the config *_attach function to match new signature.
1999-11-17 21:52:32 +00:00
Bob Halley
7a3010be81 add NOEDNS0 flag 1999-11-16 21:05:33 +00:00
Michael Graff
4f6dd51441 add dns_adb_changeflags() 1999-11-16 06:53:29 +00:00
Brian Wellington
31b6349dbb added dns_tkey_destroy 1999-11-05 16:53:24 +00:00
Bob Halley
28ab8277a0 create adb list types 1999-11-05 09:49:53 +00:00
Mark Andrews
6314cd3338 Support $TTL w/ BIND 8 format
dns_ttl_fromtext() to return DNS_R_BADTTL not DNS_R_SYNTAX.
1999-11-04 01:21:28 +00:00
Brian Wellington
5c688a008a A bit of SIG(0) cleanup 1999-11-02 22:58:29 +00:00
Brian Wellington
0b764d91c9 - updates to dns_message_signer to handle SIG(0) as well as TSIG
- SIG(0)'s can be rendered, and information is stored to allow them to be
verified after parsing.  This needs some cleanup work done.
1999-11-02 19:59:04 +00:00
Brian Wellington
322b0fb39d added DNS_R_NOIDENTITY 1999-11-02 19:57:13 +00:00
Brian Wellington
d598338952 Added the concept of a signature's identity - either from a SIG(0) key, a
statically configureed TSIG key, or the creator or a generated TSIG key.
1999-11-02 19:55:45 +00:00
Brian Wellington
0a1c6f36c8 preliminary SIG(0) support 1999-11-02 19:53:41 +00:00
James Brister
e42197260c Support forward and forwarders values inside master, slave and stub zones. 1999-11-02 15:49:44 +00:00
Mark Andrews
9088094680 Add read support for BIND 8 TTL / counter format to soa.
Move bind_ttl to ttl.c and rename dns_ttl_fromtext and dns_counter_fromtext,
fix bug in handling of seconds (x 1 not x 60), can also handle raw number.
1999-11-02 13:07:53 +00:00
James Brister
3f8c638594 Support rfc2308-type1 options statement. 1999-11-02 09:13:48 +00:00
Brian Wellington
73af6575e0 Added DNS_R_NOTVERIFIEDYET 1999-11-01 22:54:26 +00:00
Michael Graff
4281fe4a80 dead/needs_poke are flags for adbnames, merge in Bob's changes 1999-10-30 01:58:02 +00:00
Andreas Gustafsson
81ae5e1ae6 added xfer_in/xfer_out categories and modules 1999-10-29 22:37:47 +00:00
Michael Graff
cfec676d09 define module adb 1999-10-29 22:28:35 +00:00
Michael Graff
c803787146 replace all instances of 'handle' with 'find' since that's what they are now. 1999-10-29 18:30:48 +00:00
Michael Graff
2992344aac dns_adbhandle_t -> dns_adbfind_t 1999-10-29 18:07:32 +00:00
Michael Graff
897c9ddb4d implement dns_adb_cancelfind(), rename _done() to _destroyfind(), and _lookup to _createfind() 1999-10-29 18:00:31 +00:00