2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

[master] silence RPZ log messages

4050.	[cleanup]	Silence occasional spurious "duplicate query" log
			messages from RPZ. [RT #38510]
This commit is contained in:
Evan Hunt
2015-02-02 15:49:36 -08:00
parent f72460c717
commit d8890e779c
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
4050. [cleanup] Silence occasional spurious "duplicate query" log
messages from RPZ. [RT #38510]
4049. [bug] CDS and CDNSKEY had the wrong attributes. [RT #38491]
4048. [bug] adb hash table was not being grown. [RT #38470]

View File

@@ -5266,6 +5266,8 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype, isc_result_t qresult,
DNS_RPZ_DONE_IPv4);
break;
case DNS_R_DELEGATION:
case DNS_R_DUPLICATE:
case DNS_R_DROP:
goto cleanup;
case DNS_R_EMPTYNAME:
case DNS_R_NXRRSET:
@@ -5284,12 +5286,13 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype, isc_result_t qresult,
case ISC_R_FAILURE:
rpz_rewrite_ns_skip(client, nsname, result,
DNS_RPZ_DEBUG_LEVEL3,
" NS db_find()");
" NS rpz_rrset_find() ");
continue;
default:
rpz_rewrite_ns_skip(client, nsname, result,
DNS_RPZ_INFO_LEVEL,
" unrecognized NS db_find()");
" unrecognized NS"
" rpz_rrset_find() ");
continue;
}
}