Merge pull request #1626 from kmadac/fixed-digital-ocean-domain-MX-Origin-Error

Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional …
This commit is contained in:
Brian Coca 2015-10-07 21:35:06 -04:00
commit 85570152a7

View file

@ -195,7 +195,7 @@ def core(module):
records = domain.records()
at_record = None
for record in records:
if record.name == "@":
if record.name == "@" and record.record_type == 'A':
at_record = record
if not at_record.data == getkeyordie("ip"):