diff --git a/lib/ns/client.c b/lib/ns/client.c index ce6059af69..bc409a251d 100644 --- a/lib/ns/client.c +++ b/lib/ns/client.c @@ -1811,7 +1811,7 @@ ns__client_request(isc_nmhandle_t *handle, isc_region_t *region, void *arg) { NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(1), "message parsing failed: %s", isc_result_totext(result)); - if (result == ISC_R_NOSPACE) { + if (result == ISC_R_NOSPACE || result == DNS_R_BADTSIG) { result = DNS_R_FORMERR; } ns_client_error(client, result);