375. [bug] Per-zone allow-query did not properly override the
view/global one for CNAME targets and additional
data [RT #220].
+ 375. [bug] Per-zone allow-query did not properly override the
+ view/global one for CNAME targets and additional
+ data [RT #220].
--- 9.0.0rc2 released ---
* SOFTWARE.
*/
-/* $Id: query.c,v 1.109.2.8 2000/08/08 01:10:25 gson Exp $ */
+/* $Id: query.c,v 1.109.2.9 2000/08/08 17:52:09 bwelling Exp $ */
#include <config.h>
return (DNS_R_SERVFAIL);
*versionp = dbversion->version;
if (new_zone) {
- queryacl = dns_zone_getqueryacl(*zonep);
check_acl = ISC_TRUE;
} else if (!dbversion->queryok) {
return (DNS_R_REFUSED);
check_acl = ISC_FALSE;
}
+ queryacl = dns_zone_getqueryacl(*zonep);
if (queryacl == NULL) {
queryacl = client->view->queryacl;
if ((client->query.attributes &