mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
spelling
This commit is contained in:
parent
708383382f
commit
09eaa8e309
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: zone.c,v 1.483 2008/10/24 00:28:00 marka Exp $ */
|
/* $Id: zone.c,v 1.484 2009/01/17 15:18:15 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -331,7 +331,7 @@ struct dns_zone {
|
|||||||
* reload */
|
* reload */
|
||||||
#define DNS_ZONEFLG_NOMASTERS 0x00001000U /*%< an attempt to refresh a
|
#define DNS_ZONEFLG_NOMASTERS 0x00001000U /*%< an attempt to refresh a
|
||||||
* zone with no masters
|
* zone with no masters
|
||||||
* occured */
|
* occurred */
|
||||||
#define DNS_ZONEFLG_LOADING 0x00002000U /*%< load from disk in progress*/
|
#define DNS_ZONEFLG_LOADING 0x00002000U /*%< load from disk in progress*/
|
||||||
#define DNS_ZONEFLG_HAVETIMERS 0x00004000U /*%< timer values have been set
|
#define DNS_ZONEFLG_HAVETIMERS 0x00004000U /*%< timer values have been set
|
||||||
* from SOA (if not set, we
|
* from SOA (if not set, we
|
||||||
@ -3345,7 +3345,7 @@ dns_zone_setmasterswithkeys(dns_zone_t *zone,
|
|||||||
goto unlock;
|
goto unlock;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* masters must countain count elements!
|
* masters must contain count elements!
|
||||||
*/
|
*/
|
||||||
new = isc_mem_get(zone->mctx, count * sizeof(*new));
|
new = isc_mem_get(zone->mctx, count * sizeof(*new));
|
||||||
if (new == NULL) {
|
if (new == NULL) {
|
||||||
@ -4736,7 +4736,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
|||||||
check_ksk = ksk_sanity(db, version);
|
check_ksk = ksk_sanity(db, version);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We keep pulling nodes off each interator in turn until
|
* We keep pulling nodes off each iterator in turn until
|
||||||
* we have no more nodes to pull off or we reach the limits
|
* we have no more nodes to pull off or we reach the limits
|
||||||
* for this quantum.
|
* for this quantum.
|
||||||
*/
|
*/
|
||||||
@ -5521,7 +5521,7 @@ zone_sign(dns_zone_t *zone) {
|
|||||||
check_ksk = ksk_sanity(db, version);
|
check_ksk = ksk_sanity(db, version);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We keep pulling nodes off each interator in turn until
|
* We keep pulling nodes off each iterator in turn until
|
||||||
* we have no more nodes to pull off or we reach the limits
|
* we have no more nodes to pull off or we reach the limits
|
||||||
* for this quantum.
|
* for this quantum.
|
||||||
*/
|
*/
|
||||||
@ -6015,7 +6015,7 @@ void
|
|||||||
dns_zone_markdirty(dns_zone_t *zone) {
|
dns_zone_markdirty(dns_zone_t *zone) {
|
||||||
|
|
||||||
LOCK_ZONE(zone);
|
LOCK_ZONE(zone);
|
||||||
set_resigntime(zone); /* XXXMPA make seperate call back */
|
set_resigntime(zone); /* XXXMPA make separate call back */
|
||||||
zone_needdump(zone, DNS_DUMP_DELAY);
|
zone_needdump(zone, DNS_DUMP_DELAY);
|
||||||
UNLOCK_ZONE(zone);
|
UNLOCK_ZONE(zone);
|
||||||
}
|
}
|
||||||
@ -6965,7 +6965,7 @@ zone_notify(dns_zone_t *zone, isc_time_t *now) {
|
|||||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||||
dns_rdata_reset(&rdata);
|
dns_rdata_reset(&rdata);
|
||||||
/*
|
/*
|
||||||
* Don't notify the master server unless explictly
|
* Don't notify the master server unless explicitly
|
||||||
* configured to do so.
|
* configured to do so.
|
||||||
*/
|
*/
|
||||||
if (!DNS_ZONE_OPTION(zone, DNS_ZONEOPT_NOTIFYTOSOA) &&
|
if (!DNS_ZONE_OPTION(zone, DNS_ZONEOPT_NOTIFYTOSOA) &&
|
||||||
@ -7484,7 +7484,7 @@ refresh_callback(isc_task_t *task, isc_event_t *event) {
|
|||||||
"master %s (source %s)", (int)rb.used, rcode,
|
"master %s (source %s)", (int)rb.used, rcode,
|
||||||
master, source);
|
master, source);
|
||||||
/*
|
/*
|
||||||
* Perhaps AXFR/IXFR is allowed even if SOA queries arn't.
|
* Perhaps AXFR/IXFR is allowed even if SOA queries aren't.
|
||||||
*/
|
*/
|
||||||
if (msg->rcode == dns_rcode_refused &&
|
if (msg->rcode == dns_rcode_refused &&
|
||||||
zone->type == dns_zone_slave)
|
zone->type == dns_zone_slave)
|
||||||
@ -9462,7 +9462,7 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* The initial version of a slave zone is always dumped;
|
* The initial version of a slave zone is always dumped;
|
||||||
* subsequent versions may be journalled instead if this
|
* subsequent versions may be journaled instead if this
|
||||||
* is enabled in the configuration.
|
* is enabled in the configuration.
|
||||||
*/
|
*/
|
||||||
if (zone->db != NULL && zone->journal != NULL &&
|
if (zone->db != NULL && zone->journal != NULL &&
|
||||||
@ -9545,7 +9545,7 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
|
|||||||
* The in-memory database just changed, and
|
* The in-memory database just changed, and
|
||||||
* because 'dump' is set, it didn't change by
|
* because 'dump' is set, it didn't change by
|
||||||
* being loaded from disk. Also, we have not
|
* being loaded from disk. Also, we have not
|
||||||
* journalled diffs for this change.
|
* journaled diffs for this change.
|
||||||
* Therefore, the on-disk journal is missing
|
* Therefore, the on-disk journal is missing
|
||||||
* the deltas for this change. Since it can
|
* the deltas for this change. Since it can
|
||||||
* no longer be used to bring the zone
|
* no longer be used to bring the zone
|
||||||
@ -9712,7 +9712,7 @@ zone_xfrdone(dns_zone_t *zone, isc_result_t result) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is not neccessary if we just performed a AXFR
|
* This is not necessary if we just performed a AXFR
|
||||||
* however it is necessary for an IXFR / UPTODATE and
|
* however it is necessary for an IXFR / UPTODATE and
|
||||||
* won't hurt with an AXFR.
|
* won't hurt with an AXFR.
|
||||||
*/
|
*/
|
||||||
@ -10922,7 +10922,7 @@ zone_saveunique(dns_zone_t *zone, const char *path, const char *templat) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* Hook for ondestroy notifcation from a database. */
|
/* Hook for ondestroy notification from a database. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
dns_zonemgr_dbdestroyed(isc_task_t *task, isc_event_t *event) {
|
dns_zonemgr_dbdestroyed(isc_task_t *task, isc_event_t *event) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user