diff --git a/CHANGES b/CHANGES index f0df3ae111..dc97c71152 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3018. [bug] Named failed to check for the "none;" acl when deciding + if a zone may need to be re-signed. RT #23120] + 3016. [bug] rndc usage missing '-b'. [RT #22937] 3015. [port] win32: fix IN6_IS_ADDR_LINKLOCAL and diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 61cbf37a35..a0fccbc623 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.483.36.23 2010/12/14 00:48:22 marka Exp $ */ +/* $Id: zone.c,v 1.483.36.24 2011/02/07 00:18:39 marka Exp $ */ /*! \file */ @@ -1541,7 +1541,8 @@ get_master_options(dns_zone_t *zone) { if (DNS_ZONE_OPTION(zone, DNS_ZONEOPT_CHECKWILDCARD)) options |= DNS_MASTER_CHECKWILDCARD; if (zone->type == dns_zone_master && - (zone->update_acl != NULL || zone->ssutable != NULL)) + ((zone->update_acl != NULL && !dns_acl_isnone(zone->update_acl)) || + zone->ssutable != NULL)) options |= DNS_MASTER_RESIGN; return (options); }