Update to remove DYNamic A records

* Removed conversion of DYN records to A records
* Updated test fixtures to change test DYN to an A record
This commit is contained in:
John Dale
2020-07-21 19:58:24 +00:00
parent 6a2c7909bd
commit 9e990632c4
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -124,11 +124,6 @@ class EasyDNSClient(object):
if record['rdata'] == '@':
record['rdata'] = '{}.'.format(zone_name)
# 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'
return ret
def record_create(self, zone_name, params):
+1 -1
View File
@@ -29,7 +29,7 @@
"host": "@",
"ttl": "300",
"prio": "0",
"type": "DYN",
"type": "A",
"rdata": "1.2.3.5",
"geozone_id": "0",
"last_mod": "2020-01-01 01:01:01"