From: Dmitry Alenichev Date: Tue, 29 Jan 2019 16:18:28 +0000 (+0300) Subject: pass empty response X-Git-Tag: auth-4.2.0-beta1~4^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08f20460b1441096b31bc1af86e3744d8fde60fa;p=pdns pass empty response --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 3e0607e65..49a0dc27a 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -222,7 +222,7 @@ bool responseContentMatches(const char* response, const uint16_t responseLen, co } if (dh->qdcount == 0) { - if (dh->rcode != RCode::NoError && dh->rcode != RCode::NXDomain) { + if (dh->rcode != RCode::NXDomain) { return true; } else {