Fix prz SERVFAILs after failed zone transfer (RT23246)

This commit is contained in:
Scott Mann
2011-02-18 15:27:58 +00:00
parent 22c3e5ed97
commit ff6618557c
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
3022. [bug] Fixed prz SERVFAILs after failed zone transfers
[RT #23246]
3021. [bug] Change #3010 was incomplete. [RT #22296]
3020. [bug] auto-dnssec failed to correctly update the zone when

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.353.8.1 2011/02/03 07:39:02 marka Exp $ */
/* $Id: query.c,v 1.353.8.2 2011/02/18 15:27:58 smann Exp $ */
/*! \file */
@@ -4041,8 +4041,8 @@ rpz_find(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qnamef,
version = NULL;
result = rpz_getdb(client, rpz_type, qnamef, zonep, dbp, &version);
if (result != ISC_R_SUCCESS) {
*policyp = DNS_RPZ_POLICY_ERROR;
return (DNS_R_SERVFAIL);
*policyp = DNS_RPZ_POLICY_MISS;
return (DNS_R_NXDOMAIN);
}
dns_fixedname_init(&fixed);