This commit is contained in:
Khanh Ngo 2020-01-07 14:30:28 +07:00
parent b1ba339a9c
commit 1cd423041c

View file

@ -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"] += '.'