diff --git a/ovh_dns_ensure/ovh_dns_ensure.py b/ovh_dns_ensure/ovh_dns_ensure.py index 3c6622f..b58d4e1 100755 --- a/ovh_dns_ensure/ovh_dns_ensure.py +++ b/ovh_dns_ensure/ovh_dns_ensure.py @@ -98,6 +98,11 @@ class OvhDnsEnsure: "fieldType": self.config['type'], "subDomain": self.config['subdomain'] } + self._log.debug( + "Getting all records with type '%s' and subdomain '%s'...", + self.config['type'], + self.config['subdomain'] + ) self.records = self.ovh.get(f"/domain/zone/{self.config['zone']}/record", **params) self.current_state = 'absent' for record in self.records: