Commit 1cd42304 authored by Khanh Ngo's avatar Khanh Ngo
Browse files

Fix #632

parent b1ba339a
......@@ -169,7 +169,7 @@ class Record(object):
# Format the record content, it musts end
# with a dot character if in following types
if record["record_type"] in [
'MX', 'CNAME', 'SRV', 'NS'
'MX', 'CNAME', 'SRV', 'NS', 'PTR'
] and record["record_data"].strip()[-1:] != '.':
record["record_data"] += '.'
......
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