This commit is contained in:
Russell McConnachie 2026-02-17 09:11:06 +01:00 committed by GitHub
commit 4f9055bf52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,7 +140,7 @@ response_type_from_server(int rdset,
/* Other response codes mean (so far) to throw the response away as
* meaningless and move on to the next nameserver. */
if(FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOERROR)
if(FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOERROR && FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOTIMPL)
return RESPONSE_TYPE_THROWAWAY;
/* Note: TC bit has already been handled */