Commit f809ab1f authored by Colin Shea's avatar Colin Shea

Generate txt values of multiple chunks

parent f17d0d10
......@@ -450,7 +450,7 @@ ENDH
out += "\n; Zone TXT Records\n" unless self.txt.empty?
self.txt.each do |tx|
out += "#{tx[:name]} #{tx[:ttl]} #{tx[:class]} TXT #{tx[:text]}\n"
out += "#{tx[:name]} #{tx[:ttl]} #{tx[:class]} TXT (#{tx[:text].chars.each_slice(255).map { |txt_part| "\"#{txt_part}\"" }.join(' ')})\n"
end
out += "\n; Zone SPF Records\n" unless self.spf.empty?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment