- Fix #1237 - Wrong resolving in chain, for norec queries that get

SERVFAIL returned.


git-svn-id: file:///svn/unbound/trunk@4064 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-03-17 14:32:25 +00:00
parent 52dd15dd87
commit f952ac1dee
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
17 March 2017: Wouter 17 March 2017: Wouter
- Patch for view functionality for local-data-ptr from Björn Ketelaars. - Patch for view functionality for local-data-ptr from Björn Ketelaars.
- Fix #1237 - Wrong resolving in chain, for norec queries that get
SERVFAIL returned.
16 March 2017: Wouter 16 March 2017: Wouter
- Fix that SHM is not inited if not enabled. - Fix that SHM is not inited if not enabled.

View File

@ -1351,7 +1351,7 @@ processInitRequest3(struct module_qstate* qstate, struct iter_qstate* iq,
/* If the RD flag wasn't set, then we just finish with the /* If the RD flag wasn't set, then we just finish with the
* cached referral as the response. */ * cached referral as the response. */
if(!(qstate->query_flags & BIT_RD)) { if(!(qstate->query_flags & BIT_RD) && iq->deleg_msg) {
iq->response = iq->deleg_msg; iq->response = iq->deleg_msg;
if(verbosity >= VERB_ALGO && iq->response) if(verbosity >= VERB_ALGO && iq->response)
log_dns_msg("no RD requested, using delegation msg", log_dns_msg("no RD requested, using delegation msg",