[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bind-workers
Subject:    Re: enable-zone message
From:       gsonAnominum.com (Bndreas Hustafsson)
Date:       2001-03-03 1:45:53
[Download RAW message or body]

Ken Porter writes:
> I'm looking at the following code in confzone.c.
> ...
>      /*
>       * Check if zone is diabled. This isn't really a validation, just a
>       * place to issue a warning.
>       */
>      if (zone->enabled != NULL && *zone->enabled == ISC_FALSE) {
>           isc_log_write(dns_lctx,
>                      DNS_LOGCATEGORY_CONFIG,
>                      DNS_LOGMODULE_CONFIG,
>                      ISC_LOG_WARNING, disabledzone,
>                      zone->name);
> 
> Pertaining to the message issued above where the zone->enabled ==
> ISC_FALSE.  I was curious as to
> if and when it might be set to false or not enabled and found confparser.y
> setting it via dns_c_zone_setenabled() from
> what is passed in the zone option enable-zone.
> 
> My question is where is the enable-zone zone option documented?

The "enable-zone" option was never fully implemented and should not be
used.  It will go away in 9.2.

> And second, will this message ever be issued?

Specifying "enable-zone no;" in a zone statement will cause the
message to be issued (and will have no other effect).  In 9.2,
it will be a syntax error.
-- 
Andreas Gustafsson, gson@nominum.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic