mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Change the "RPZ not ready yet" message and its log level
The "RPZ not ready yet" message is logged at debug 3 level. Use the info level instead for better visibility. After raising the log level, the rpz_log_fail_helper() function starts appending " failed: " the the message. Change the log message so it makes more sense.
This commit is contained in:
parent
d9b5f6c502
commit
49356ce944
1 changed files with 3 additions and 2 deletions
|
|
@ -4007,8 +4007,9 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype, isc_result_t qresult,
|
|||
/* Do not pollute SERVFAIL cache */
|
||||
client->inner.attributes |= NS_CLIENTATTR_NOSETFC;
|
||||
|
||||
rpz_log_fail(client, DNS_RPZ_DEBUG_LEVEL3, NULL,
|
||||
DNS_RPZ_TYPE_QNAME, "RPZ not ready yet", result);
|
||||
rpz_log_fail(client, DNS_RPZ_INFO_LEVEL, NULL,
|
||||
DNS_RPZ_TYPE_QNAME, "RPZ servfail-until-ready",
|
||||
DNS_R_WAIT);
|
||||
st->m.policy = DNS_RPZ_POLICY_ERROR;
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue