2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

1123. [bug] dig +[no]fail did not match description. [RT #2052]

This commit is contained in:
Mark Andrews
2001-11-14 06:31:38 +00:00
parent 10a6442013
commit c0fe9b0d1b
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
1123. [bug] dig +[no]fail did not match description. [RT #2052]
1122. [tuning] Resolution timeout reduced from 90 to 30 seconds. 1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
[RT #2046] [RT #2046]

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: dighost.c,v 1.234 2001/10/31 21:55:31 gson Exp $ */ /* $Id: dighost.c,v 1.235 2001/11/14 06:31:38 marka Exp $ */
/* /*
* Notice to programmers: Do not use this code as an example of how to * Notice to programmers: Do not use this code as an example of how to
@@ -399,7 +399,7 @@ make_empty_lookup(void) {
looknew->identify = ISC_FALSE; looknew->identify = ISC_FALSE;
looknew->identify_previous_line = ISC_FALSE; looknew->identify_previous_line = ISC_FALSE;
looknew->ignore = ISC_FALSE; looknew->ignore = ISC_FALSE;
looknew->servfail_stops = ISC_FALSE; looknew->servfail_stops = ISC_TRUE;
looknew->besteffort = ISC_TRUE; looknew->besteffort = ISC_TRUE;
looknew->dnssec = ISC_FALSE; looknew->dnssec = ISC_FALSE;
looknew->udpsize = 0; looknew->udpsize = 0;
@@ -2244,7 +2244,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
UNLOCK_LOOKUP; UNLOCK_LOOKUP;
return; return;
} }
if (msg->rcode == dns_rcode_servfail && l->servfail_stops) { if (msg->rcode == dns_rcode_servfail && !l->servfail_stops) {
dig_query_t *next = ISC_LIST_NEXT(query, link); dig_query_t *next = ISC_LIST_NEXT(query, link);
if (l->current_query == query) if (l->current_query == query)
l->current_query = NULL; l->current_query = NULL;