diff --git a/CHANGES b/CHANGES index 2e25e2f5de..8810e946f1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +3117. [cleanup] Remove doc and parser references to the + never-implemented 'auto-dnssec create' option. + [RT #24533] + 3115. [bug] Named could fail to return requested data when following a CNAME that points into the same zone. [RT #24455] diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index 61374b8ab4..ffb33cefb8 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zoneconf.c,v 1.170.14.3 2011/03/11 06:47:01 marka Exp $ */ +/* $Id: zoneconf.c,v 1.170.14.4 2011/05/23 20:56:10 each Exp $ */ /*% */ @@ -1214,7 +1214,6 @@ ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig, */ if (ztype == dns_zone_master) { isc_boolean_t allow = ISC_FALSE, maint = ISC_FALSE; - isc_boolean_t create = ISC_FALSE; obj = NULL; result = ns_config_get(maps, "check-wildcard", &obj); @@ -1304,15 +1303,12 @@ ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig, allow = ISC_TRUE; else if (strcasecmp(arg, "maintain") == 0) allow = maint = ISC_TRUE; - else if (strcasecmp(arg, "create") == 0) - allow = maint = create = ISC_TRUE; else if (strcasecmp(arg, "off") == 0) ; else INSIST(0); dns_zone_setkeyopt(zone, DNS_ZONEKEY_ALLOW, allow); dns_zone_setkeyopt(zone, DNS_ZONEKEY_MAINTAIN, maint); - dns_zone_setkeyopt(zone, DNS_ZONEKEY_CREATE, create); } } diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index 6cbfe154a7..14a6a3ccca 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -18,7 +18,7 @@ - PERFORMANCE OF THIS SOFTWARE. --> - + BIND 9 Administrator Reference Manual @@ -1188,11 +1188,11 @@ zone "eng.example.com" { This command requires that the - auto-dnssec zone option to be set - to allow, - maintain, or - create, and also requires - the zone to be configured to allow dynamic DNS. + auto-dnssec zone option be set + to allow or + maintain, + and also requires the zone to be configured to + allow dynamic DNS. See for more details. @@ -1217,10 +1217,10 @@ zone "eng.example.com" { This command requires that the - auto-dnssec zone option to - be set to maintain or - create, and also requires - the zone to be configured to allow dynamic DNS. + auto-dnssec zone option + be set to maintain, + and also requires the zone to be configured to + allow dynamic DNS. See for more details. @@ -10010,7 +10010,7 @@ view "external" { min-retry-time number ; max-retry-time number ; key-directory path_name; - auto-dnssec allow|maintain|create|off; + auto-dnssec allow|maintain|off; zero-no-soa-ttl yes_or_no ; }; @@ -10022,6 +10022,7 @@ zone zone_name class allow-transfer { address_match_list }; allow-update-forwarding { address_match_list }; update-check-ksk yes_or_no; + dnssec-update-mode ( maintain | no-resign ); dnssec-dnskey-kskonly yes_or_no; dnssec-secure-to-insecure yes_or_no ; try-tcp-refresh yes_or_no; @@ -11067,7 +11068,7 @@ example.com. NS ns2.example.net. Zones configured for dynamic DNS may also use this option to allow varying levels of automatic DNSSEC key - management. There are four possible settings: + management. There are three possible settings: auto-dnssec allow; permits diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index 55b065b9f7..0bee47a5d7 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: namedconf.c,v 1.131.8.3 2011/05/07 05:53:24 each Exp $ */ +/* $Id: namedconf.c,v 1.131.8.4 2011/05/23 20:56:11 each Exp $ */ /*! \file */ @@ -542,8 +542,7 @@ static cfg_type_t cfg_type_bracketed_sockaddrlist = { &cfg_rep_list, &cfg_type_sockaddr }; -static const char *autodnssec_enums[] = { "allow", "maintain", "create", - "off", NULL }; +static const char *autodnssec_enums[] = { "allow", "maintain", "off", NULL }; static cfg_type_t cfg_type_autodnssec = { "autodnssec", cfg_parse_enum, cfg_print_ustring, cfg_doc_enum, &cfg_rep_string, &autodnssec_enums