mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional change of random A record.
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user