diff --git a/Servers/LookupServer/LookupServer.cpp b/Servers/LookupServer/LookupServer.cpp index ea92b11faf3..fe89bd97fc2 100644 --- a/Servers/LookupServer/LookupServer.cpp +++ b/Servers/LookupServer/LookupServer.cpp @@ -243,6 +243,8 @@ Vector LookupServer::lookup(const String& hostname, bool& did_timeout, u Vector responses; Vector cacheable_answers; for (auto& answer : response.answers()) { + if (answer.type() != T_A) + continue; responses.append(answer.record_data()); if (!answer.has_expired()) cacheable_answers.append(answer);