|
@@ -1022,9 +1022,11 @@ static int parse_reply(char *response, size_t nbytes, const char* server_ip)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (q->answer.len == 0) {
|
|
if (q->answer.len == 0) {
|
|
|
|
|
+ /* This could simply be that there are no answers... query A or AAAA and receive nothing back...
|
|
|
|
|
+ * With the new NXDOMAIN / SERVFAIL error checks, this hard error of jumping servers is probably
|
|
|
|
|
+ * no longer needed */
|
|
|
sdprintf("Failed to get any answers for query");
|
|
sdprintf("Failed to get any answers for query");
|
|
|
return_code = 1; /* get a new server */
|
|
return_code = 1; /* get a new server */
|
|
|
- q->remaining = 0; /* Force this query to be removed, any further answers are ignored */
|
|
|
|
|
goto callback;
|
|
goto callback;
|
|
|
}
|
|
}
|
|
|
|
|
|