mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-08 03:15:40 +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
|
# Format the record content, it musts end
|
||||||
# with a dot character if in following types
|
# with a dot character if in following types
|
||||||
if record["record_type"] in [
|
if record["record_type"] in [
|
||||||
'MX', 'CNAME', 'SRV', 'NS'
|
'MX', 'CNAME', 'SRV', 'NS', 'PTR'
|
||||||
] and record["record_data"].strip()[-1:] != '.':
|
] and record["record_data"].strip()[-1:] != '.':
|
||||||
record["record_data"] += '.'
|
record["record_data"] += '.'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user