Retain the full RRDATA in linearray[4]

This commit is contained in:
Nate Riffe 2014-04-14 11:16:40 -05:00
parent 7bbe9c36f7
commit 3f3e456ab8

View File

@ -108,7 +108,7 @@ private
def query
unless @query
@query = dig("@#{server}", '+noall', '+answer', name, type, '-c', rrclass).lines.map do |line|
linearray = line.chomp.split /\s+/
linearray = line.chomp.split(/\s+/, 5)
{
:name => linearray[0],
:ttl => linearray[1],