diff --git a/octodns/provider/easydns.py b/octodns/provider/easydns.py index c95ed5d..d2eb2da 100644 --- a/octodns/provider/easydns.py +++ b/octodns/provider/easydns.py @@ -115,9 +115,6 @@ class EasyDNSClient(object): resp = self._request('GET', path).json() ret += resp['data'] - # EasyDNS supports URL forwarding, stealth URL forwarding and DYNamic - # A records so we'll convert them to their underlying DNS record - # types before processing for record in ret: # change any apex record to empty string if record['host'] == '@': @@ -127,10 +124,8 @@ class EasyDNSClient(object): if record['rdata'] == '@': record['rdata'] = '{}.'.format(zone_name) - # change "URL" & "STEALTH" to a "CNAME" - if record['type'] == "URL" or record['type'] == "STEALTH": - record['type'] = 'CNAME' - + # EasyDNS supports DYNamic A records so we'll convert these + # to their underlying DNS record type before processing if record['type'] == "DYN": record['type'] = 'A' diff --git a/tests/fixtures/easydns-records.json b/tests/fixtures/easydns-records.json index ab16fc0..9d0f5e1 100644 --- a/tests/fixtures/easydns-records.json +++ b/tests/fixtures/easydns-records.json @@ -106,7 +106,7 @@ "host": "cname", "ttl": "300", "prio": null, - "type": "URL", + "type": "CNAME", "rdata": "@", "geozone_id": "0", "last_mod": "2020-01-01 01:01:01" @@ -271,4 +271,4 @@ "start": 0, "max": 1000, "status": 200 -} \ No newline at end of file +}