Commit 4e29e682 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

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.
parent eac8e1d5
......@@ -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 <config.h>
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment