Fix prz SERVFAILs after failed zone transfers (RT23246).

This commit is contained in:
Scott Mann
2011-02-18 15:18:30 +00:00
parent 6e2411592a
commit 57b403c1e9
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.354 2011/02/03 07:35:55 marka Exp $ */
/* $Id: query.c,v 1.355 2011/02/18 15:18:30 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);