From: Matthew Wild Date: Fri, 8 Jan 2016 13:01:27 +0000 (+0000) Subject: Backout 88d54bec26b7 prior to release, as it certainly requires more testing X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=23fcac58efa2f76562da1e660e483a3b61c1a642;p=prosody.git Backout 88d54bec26b7 prior to release, as it certainly requires more testing --- diff --git a/net/dns.lua b/net/dns.lua index 49958ed7..f56157d0 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -862,7 +862,9 @@ function resolver:receive(rset) -- - - - - - - - - - - - - - - - - receive --self.print(response); for j,rr in pairs(response.answer) do - self:remember(rr, response.question[1].type) + if rr.name:sub(-#response.question[1].name, -1) == response.question[1].name then + self:remember(rr, response.question[1].type) + end end -- retire the query