mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
Nicer debug output.
git-svn-id: file:///svn/unbound/trunk@1999 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
fcdfcbe82e
commit
38fe29b9fd
2 changed files with 9 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
- make install depends on make all.
|
||||
- Fix 5011 auto-trust-anchor-file initial read to skip RRSIGs.
|
||||
- --enable-checking: enables assertions but does not look nonproduction.
|
||||
- nicer VERB_DETAIL (verbosity 2, unbound-host -d) output, with
|
||||
nxdomain and nodata distinguished.
|
||||
|
||||
26 February 2010: Wouter
|
||||
- Fixup prototype for lexer cleanup in daemon code.
|
||||
|
|
|
|||
|
|
@ -1620,7 +1620,13 @@ processQueryResponse(struct module_qstate* qstate, struct iter_qstate* iq,
|
|||
if(type == RESPONSE_TYPE_ANSWER) {
|
||||
/* ANSWER type responses terminate the query algorithm,
|
||||
* so they sent on their */
|
||||
verbose(VERB_DETAIL, "query response was ANSWER");
|
||||
if(verbosity >= VERB_DETAIL) {
|
||||
verbose(VERB_DETAIL, "query response was %s",
|
||||
FLAGS_GET_RCODE(iq->response->rep->flags)
|
||||
==LDNS_RCODE_NXDOMAIN?"NXDOMAIN ANSWER":
|
||||
(iq->response->rep->an_numrrsets?"ANSWER":
|
||||
"nodata ANSWER"));
|
||||
}
|
||||
if(!iter_dns_store(qstate->env, &iq->response->qinfo,
|
||||
iq->response->rep, 0, qstate->prefetch_leeway))
|
||||
return error_response(qstate, id, LDNS_RCODE_SERVFAIL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue