From 4ffccb9ac50b04fd61f46bef5698b0e6bb15cbff Mon Sep 17 00:00:00 2001 From: jakob Date: Mon, 22 Sep 2003 19:49:28 +0000 Subject: sync with 9.2.2-P3; new zone type "delegation-only" discussed with deraadt@, millert@ and todd@ --- usr.sbin/bind/lib/isccfg/parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bind/lib/isccfg/parser.c') diff --git a/usr.sbin/bind/lib/isccfg/parser.c b/usr.sbin/bind/lib/isccfg/parser.c index d793e1546c3..88acaaf6148 100644 --- a/usr.sbin/bind/lib/isccfg/parser.c +++ b/usr.sbin/bind/lib/isccfg/parser.c @@ -755,7 +755,7 @@ static cfg_type_t cfg_type_forwardtype = { }; static const char *zonetype_enums[] = { - "master", "slave", "stub", "hint", "forward", NULL }; + "master", "slave", "stub", "hint", "forward", "delegation-only", NULL }; static cfg_type_t cfg_type_zonetype = { "zonetype", parse_enum, print_ustring, &cfg_rep_string, &zonetype_enums @@ -955,6 +955,7 @@ zone_only_clauses[] = { CFG_CLAUSEFLAG_MULTI | CFG_CLAUSEFLAG_OBSOLETE }, { "update-policy", &cfg_type_updatepolicy, 0 }, { "database", &cfg_type_astring, 0 }, + { "delegation-only", &cfg_type_boolean, 0 }, /* * Note that the format of the check-names option is different between * the zone options and the global/view options. Ugh. -- cgit v1.2.3-59-g8ed1b