diff --git a/CHANGELOG.md b/CHANGELOG.md index 4304910..b69eab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ -* ENHANCEMENT - * add `expires` timestamp to the BasicAuth object +* BUGFIX + * add fake update action fit CNAME records diff --git a/corenetworks/client.py b/corenetworks/client.py index 2f809f3..90f52b0 100644 --- a/corenetworks/client.py +++ b/corenetworks/client.py @@ -225,6 +225,8 @@ class CoreNetworks(): name=r["name"] ) ) + if params["type"] == "CNAME" and r["data"] != params["data"]: + self._delete_record_raw(zone, params=r) curr = copy.deepcopy(params) curr.pop("ttl")