mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Fix #632
This commit is contained in:
parent
b1ba339a9c
commit
1cd423041c
@ -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"] += '.'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user