From 4e29e682f6f11bae2b39b50b3258de6a02e6a10e Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Thu, 23 Nov 2000 02:26:37 +0000 Subject: [PATCH] Allow master zones to not have a 'file' option, to support non-rbt databases. Zones with a nonpersistent database and no 'file' option will get an error logged at load time. --- bin/named/server.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index 01cb389e69..81e2e08a51 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.252 2000/11/15 18:11:32 gson Exp $ */ +/* $Id: server.c,v 1.253 2000/11/23 02:26:37 gson Exp $ */ #include @@ -1109,19 +1109,6 @@ configure_zone(dns_c_ctx_t *cctx, dns_c_zone_t *czone, dns_c_view_t *cview, goto cleanup; } - /* - * Master zones must have 'file' set. - */ - if (czone->ztype == dns_c_zone_master && - czone->u.mzone.file == NULL) { - isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, - NS_LOGMODULE_SERVER, ISC_LOG_ERROR, - "zone '%s': 'file' not specified", - corigin); - result = ISC_R_FAILURE; - goto cleanup; - } - /* * "hints zones" aren't zones. If we've got one, * configure it and return.