2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

452 Commits

Author SHA1 Message Date
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
Michael Graff
733b16eb0b priority rendering 1999-12-22 03:22:59 +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
f6a9dd2c61 complete slave side of notify 1999-12-16 01:23:17 +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
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
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
29b1cf6c7a Check for DNS_R_NOJOURNAL when rolling back a journal.. 1999-12-11 14:05:22 +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
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
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
Andreas Gustafsson
67125500ac use the logging library, not printf 1999-10-30 01:53:37 +00:00
Andreas Gustafsson
ed2cefee11 previous change had syntax errors in ifdef'ed out code 1999-10-30 00:14:08 +00:00
Andreas Gustafsson
4ed0c326e6 isc_sockaddr_totext() now writes to an isc_buf_t, not
a dynamically allocated string
1999-10-29 23:46:27 +00:00
Mark Andrews
f9cafe0859 fix cancel_refresh decl 1999-10-29 08:37:50 +00:00
Mark Andrews
fe37278859 in6_addr.s6_addr is *always* an array. 1999-10-29 06:36:05 +00:00
Andreas Gustafsson
a474ba139d enabled incoming zone transfer code; there are no SOA
queries yet, so we just do an unconditional transfer attempt at server
startup time for each slave zone
1999-10-29 02:41:56 +00:00
Bob Halley
7992e1adea set result in zonemanager 1999-10-29 02:17:31 +00:00
Andreas Gustafsson
71a16ee135 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:46:53 +00:00
Mark Andrews
936f1c128f add log context to dns_zone_copy()
fix various locking problems in zone.
1999-10-25 13:44:53 +00:00
Bob Halley
772a802cd0 suppress a printf 1999-10-22 19:32:11 +00:00
Andreas Gustafsson
cec82dbad9 attempt journal rollforward even if diff_on_reload is set;
it is needed for dynamic zones and ixfr'ed slave zones
1999-10-21 00:39:40 +00:00
Andreas Gustafsson
9733108152 print descriptive warning messages when bad zone detected;
dns_zone_load did not always return ISC_R_SUCCESS when it succeeded.
1999-10-15 19:47:31 +00:00
Bob Halley
157a75e25a Eliminate zone callback.
Export dns_zone_equal.
Do not try to set slave options (like transfer_source)
on a master zone.
Turn off some printing.
Add a warning about dns_zone_tostr().
1999-10-15 01:39:31 +00:00
Mark Andrews
df7899248f dns_zone_callback: viewname should be (const char *) 1999-10-14 06:10:35 +00:00
Mark Andrews
2d06b00514 dns_zone_getdb now return DNS_R_NOTLOADED 1999-10-14 03:12:50 +00:00
Mark Andrews
f182ffaba7 dns_getname_origin nor returns (dns_name_t *) again. 1999-10-14 00:47:01 +00:00
Mark Andrews
39073e9734 convert to use ISC_MAGIC_VALID, VALID_ZONE now DNS_ZONE_VALID.
zone->origin now dns_name_t not dns_fixedname_t.
zone->diff_on_reload added.
acls are now freed when zone is freed.
Additional locking performed.
dns_rdataset_disassociate is only called if we find a rdataset.
dns_db_load() now calls db_zone_replacedb().
dns_zone_callback() fleshed out.
dns_zone_equal() to check configuration details.
dns_zone_replacedb() added.
1999-10-13 23:32:02 +00:00
James Brister
f9b4801c8f Change signature to zone_callback and have the callback pretend to
have done something useful.
1999-10-13 17:53:15 +00:00
Bob Halley
3e70e0a2c0 hack to avoid resolver issues 1999-10-07 19:39:53 +00:00
Bob Halley
10ba7f6f56 lint 1999-10-05 19:50:53 +00:00
James Brister
f9dcff45e2 Changes to dns_c_zone_* function signatures. 1999-10-02 21:15:20 +00:00
David Lawrence
7aab9a099d use type in_port_t instead of unsigned int for ports,
fix calls to isc_sockaddr_fromin{,6} to pass sin{,6}_addr as 2nd arg
1999-10-02 02:58:31 +00:00
Andreas Gustafsson
71b4bbe284 added dns_zone_getorigin(), dns_zone_getdatabase(),
dns_zone_getixfrlog()
1999-09-24 05:57:54 +00:00
Bob Halley
ea95ea0674 missed a few things 1999-09-23 23:55:33 +00:00
Bob Halley
c583a85db0 disable code that uses the resolver 1999-09-23 23:17:21 +00:00
Andreas Gustafsson
89e7b5009b added dns_zone_gettype() and dns_zone_gettask() 1999-09-23 06:42:10 +00:00
Bob Halley
e9d51ec4ab zones do not have resolvers 1999-09-21 20:03:03 +00:00
James Brister
7c337a9ca9 IPv6 fixes.
Removed config specific address type and replced with isc_sockaddr_t
1999-09-17 14:22:06 +00:00
Michael Graff
2f072c2982 Update copyrights 1999-09-15 23:03:43 +00:00
Mark Andrews
cba05509f3 Add #include <isc/print.h>
dns_zone_log_error -> dns_zone_logerror
1999-09-14 03:07:07 +00:00
Mark Andrews
bada60fd2a Non portable type used. u_int32_t -> isc_uint32_t 1999-09-09 23:25:51 +00:00
Bob Halley
0b157747b3 findrdataset can now return a sig 1999-09-08 01:10:08 +00:00
James Brister
92db5cd726 Renamed many identifiers to match coding guidelines. 1999-09-03 20:59:50 +00:00