Commit 7dd04c19 authored by Daniel Salzman's avatar Daniel Salzman

sql import: quote TXT and SPF rdata

parent ec5cf9f3
......@@ -154,6 +154,8 @@ def print_record(record, outfile):
content = soa_content(record.content)
elif t == 'MX' or t == 'SRV':
content = "%d %s" % (record.prio, record.content)
elif t == 'TXT' or t == 'SPF':
content = "\"%s\"" % record.content
else:
content = record.content
......
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