3. Zero Answer Bugs
Name servers sometimes return an authoritative NOERROR with no ANSWER, AUTHORITY or ADDITIONAL records. This happens when the queried name is valid but it does not have a record of the desired type. Of course, the server has authority over the domain.
However, once again, some implementations of resolvers do not interpret this kind of a response reasonably. They always expect an answer record when they see an authoritative NOERROR. These entities continue to resend their queries, possibly endlessly.
A Good Implementation
BIND resolver code does not query a server more than 3 times. If it is unable to get an answer from 4 servers, querying them three times each, it returns error.
Of course, it treats a zero-answer response the way it should be treated; with respect!
Fixes
-
a. Set an upper limit on the number of retransmissions for a given query, at the very least.
-
b. Fix resolvers to interpret such a response as an authoritative statement of non-existence of the record type for the given name.