2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

check that allow-notify is only specified for slave zones

This commit is contained in:
Brian Wellington
2001-12-13 06:20:40 +00:00
parent 23fb770906
commit 19f0d00107

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check.c,v 1.10 2001/11/30 01:59:02 gson Exp $ */
/* $Id: check.c,v 1.11 2001/12/13 06:20:40 bwelling Exp $ */
#include <config.h>
@@ -128,6 +128,7 @@ check_zoneconf(cfg_obj_t *zconfig, isc_symtab_t *symtab,
static optionstable options[] = {
{ "allow-query", MASTERZONE | SLAVEZONE | STUBZONE },
{ "allow-notify", SLAVEZONE },
{ "allow-transfer", MASTERZONE | SLAVEZONE },
{ "notify", MASTERZONE | SLAVEZONE },
{ "also-notify", MASTERZONE | SLAVEZONE },