Commit 8549bc9b authored by Mark Andrews's avatar Mark Andrews
Browse files

1967. [func] dig/nslookup/host: warn about missing QR. [RT #15779]

parent 14c80ce1
1967. [func] dig/nslookup/host: warn about missing "QR". [RT #15779]
1966. [bug] Don't set CD when we have fallen back to plain DNS.
[RT #15727]
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.288 2005/10/14 01:14:06 marka Exp $ */
/* $Id: dighost.c,v 1.289 2006/01/06 00:54:21 marka Exp $ */
/*! \file
* \note
......@@ -2799,6 +2799,9 @@ recv_done(isc_task_t *task, isc_event_t *event) {
"(< header size) message received\n");
}
if (result == ISC_R_SUCCESS && (msgflags & DNS_MESSAGEFLAG_QR) == 0)
printf(";; Warning: query response not set\n");
if (!match) {
isc_buffer_invalidate(&query->recvbuf);
isc_buffer_init(&query->recvbuf, query->recvspace, COMMSIZE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment