Revert "Don't answer at all if we hit quota"
This reverts commit 42879fd1e9.
This commit is contained in:
+1
-3
@@ -5776,7 +5776,7 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qname,
|
||||
client->recursionquota->soft,
|
||||
client->recursionquota->max);
|
||||
}
|
||||
result = DNS_R_DROP;
|
||||
result = ISC_R_SUCCESS;
|
||||
} else if (result == ISC_R_QUOTA) {
|
||||
static isc_stdtime_t last = 0;
|
||||
isc_stdtime_t now;
|
||||
@@ -5793,8 +5793,6 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qname,
|
||||
client->sctx->recursionquota.max,
|
||||
isc_result_totext(result));
|
||||
}
|
||||
ns_client_killoldestquery(client);
|
||||
result = DNS_R_DROP;
|
||||
}
|
||||
if (result == ISC_R_SUCCESS && !client->mortal &&
|
||||
!TCP(client)) {
|
||||
|
||||
Reference in New Issue
Block a user