for clients that are supplied recursive service.
[RT #2260]
+1164. [bug] Empty masters clauses in slave / stub zones were not
+ handled gracefully. [RT #2262]
+
1162. [bug] The allow-notify option was not accepted in slave
zone statements.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: check.c,v 1.14.2.7 2001/12/13 06:47:48 marka Exp $ */
+/* $Id: check.c,v 1.14.2.8 2002/01/22 22:51:05 gson Exp $ */
#include <config.h>
unsigned int ztype;
cfg_obj_t *zoptions;
cfg_obj_t *obj = NULL;
+ cfg_obj_t *addrlist = NULL;
isc_symvalue_t symvalue;
isc_result_t result = ISC_R_SUCCESS;
isc_result_t tresult;
zname);
result = ISC_R_FAILURE;
}
+ addrlist = cfg_tuple_get(obj, "addresses");
+ if (cfg_list_first(addrlist) == NULL) {
+ cfg_obj_log(zoptions, logctx, ISC_LOG_ERROR,
+ "zone '%s': empty 'masters' entry",
+ zname);
+ result = ISC_R_FAILURE;
+ }
}
/*