mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-12 12:57:42 +02:00
and printout for these cases too.
git-svn-id: file:///svn/unbound/trunk@4862 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -1328,6 +1328,8 @@ processInitRequest(struct module_qstate* qstate, struct iter_qstate* iq,
|
||||
/* if from cache, NULL, else insert 'cache IP' len=0 */
|
||||
if(qstate->reply_origin)
|
||||
sock_list_insert(&qstate->reply_origin, NULL, 0, qstate->region);
|
||||
if(FLAGS_GET_RCODE(msg->rep->flags) == LDNS_RCODE_SERVFAIL)
|
||||
errinf(qstate, "SERVFAIL in cache");
|
||||
/* it is an answer, response, to final state */
|
||||
verbose(VERB_ALGO, "returning answer from cache.");
|
||||
iq->response = msg;
|
||||
|
||||
@@ -2340,6 +2340,7 @@ processDLVLookup(struct module_qstate* qstate, struct val_qstate* vq,
|
||||
|
||||
if(vq->dlv_status == dlv_error) {
|
||||
verbose(VERB_QUERY, "failed DLV lookup");
|
||||
errinf(qstate, "failed DLV lookup");
|
||||
return val_error(qstate, id);
|
||||
} else if(vq->dlv_status == dlv_success) {
|
||||
uint8_t* nm;
|
||||
|
||||
Reference in New Issue
Block a user