diff --git a/cloud/digital_ocean/digital_ocean_domain.py b/cloud/digital_ocean/digital_ocean_domain.py index 905b6dae2d0..3b7a2dce236 100644 --- a/cloud/digital_ocean/digital_ocean_domain.py +++ b/cloud/digital_ocean/digital_ocean_domain.py @@ -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"):