2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 01:59:26 +00:00

1468. [func] Internal zones are nolonger for 'rndc status'.

[RT #4706]
This commit is contained in:
Mark Andrews 2003-04-17 12:11:39 +00:00
parent 397f86cf27
commit 1a4d687359
3 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,6 @@
1468. [func] Internal zones are nolonger for 'rndc status'.
[RT #4706]
1467. [func] $GENERATES now supports optional class and ttl.
1466. [bug] lwresd configuration errors resulted in memory

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.41 2003/02/27 05:12:47 marka Exp $ */
/* $Id: config.c,v 1.42 2003/04/17 12:11:39 marka Exp $ */
#include <config.h>
@ -153,6 +153,9 @@ options {\n\
ixfr-from-differences false;\n\
};\n\
\n\
#\n\
# Zones in the \"_bind\" view are NOT counted is the count of zones.\n\
#\n\
view \"_bind\" chaos {\n\
recursion no;\n\
\n\

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.386 2003/03/23 13:18:53 jinmei Exp $ */
/* $Id: zone.c,v 1.387 2003/04/17 12:11:39 marka Exp $ */
#include <config.h>
@ -6592,8 +6592,12 @@ dns_zonemgr_getcount(dns_zonemgr_t *zmgr, int state) {
case DNS_ZONESTATE_ANY:
for (zone = ISC_LIST_HEAD(zmgr->zones);
zone != NULL;
zone = ISC_LIST_NEXT(zone, link))
zone = ISC_LIST_NEXT(zone, link)) {
dns_view_t *view = zone->view;
if (view != NULL && strcmp(view->name, "_bind") == 0)
continue;
count++;
}
break;
default:
INSIST(0);