# HG changeset patch # User Matthew Wild # Date 1452258087 0 # Node ID 7ec52755622f1009aaf7b02fc9bc91e8ad9974be # Parent e9f07febafb34aac199e6a9e60b4c84992437b6e Backout 88d54bec26b7 prior to release, as it certainly requires more testing diff -r e9f07febafb3 -r 7ec52755622f net/dns.lua --- a/net/dns.lua Thu Jan 07 15:37:47 2016 +0000 +++ b/net/dns.lua Fri Jan 08 13:01:27 2016 +0000 @@ -862,7 +862,9 @@ --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