diff --git a/bin/named/zoneconf.c b/bin/named/zoneconf.c index df751eba67..13aa4147f5 100644 --- a/bin/named/zoneconf.c +++ b/bin/named/zoneconf.c @@ -141,13 +141,6 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_aclconfctx_t *ac, if (result != DNS_R_SUCCESS) return (result); - result = configure_zone_acl(czone, cctx, ac, zone, - dns_c_zone_getallowquery, - dns_zone_setqueryacl, - dns_zone_clearqueryacl); - if (result != DNS_R_SUCCESS) - return (result); - result = configure_zone_acl(czone, cctx, ac, zone, dns_c_zone_getallowtransfer, dns_zone_setxfracl, diff --git a/lib/dns/zoneconf.c b/lib/dns/zoneconf.c index df751eba67..13aa4147f5 100644 --- a/lib/dns/zoneconf.c +++ b/lib/dns/zoneconf.c @@ -141,13 +141,6 @@ dns_zone_configure(dns_c_ctx_t *cctx, dns_aclconfctx_t *ac, if (result != DNS_R_SUCCESS) return (result); - result = configure_zone_acl(czone, cctx, ac, zone, - dns_c_zone_getallowquery, - dns_zone_setqueryacl, - dns_zone_clearqueryacl); - if (result != DNS_R_SUCCESS) - return (result); - result = configure_zone_acl(czone, cctx, ac, zone, dns_c_zone_getallowtransfer, dns_zone_setxfracl,