Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

As the title suggests what does "Warning: query response not set" mean. I see the following in the dighost.c (line 2888 and 2889) source but still am uncertain with what in my DNS servers response would cause it.

if (result == ISC_R_SUCCESS && (msgflags & DNS_MESSAGEFLAG_QR) == 0)
    printf(";; Warning: query response not set\n");
share|improve this question
    
What DNS server software elicited that warning from dig? –  Steven Monday Oct 21 '10 at 5:12
add comment

2 Answers

The QR bit (the MSB in the 3rd octet in the header) indicates whether the packet is a request (0) or a response (1).

All clients should therefore send packets with that bit clear, and the server should send it back with that bit set.

Did you see this error happen for real?

BTW, there was a known bug in the Microsoft DNS server some years back where it would answer a packet even if the QR bit was set in that packet!

share|improve this answer
add comment

Looks like this is due to incorrect setting of the QR portion of the response header.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.