Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional change of random A record.

pull/18777/head
Kamil Madac 10 years ago committed by Matt Clay
parent b3495e238c
commit 08a2f01a5f

@ -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"):

Loading…
Cancel
Save