diff --git a/providers/dns/ovh/ovh.go b/providers/dns/ovh/ovh.go index ee01c009..6473b198 100644 --- a/providers/dns/ovh/ovh.go +++ b/providers/dns/ovh/ovh.go @@ -173,6 +173,13 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error { return fmt.Errorf("ovh: error when call OVH api to delete challenge record (%s): %v", reqURL, err) } + // Apply the change + reqURL = fmt.Sprintf("/domain/zone/%s/refresh", authZone) + err = d.client.Post(reqURL, nil, nil) + if err != nil { + return fmt.Errorf("ovh: error when call api to refresh zone (%s): %v", reqURL, err) + } + // Delete record ID from map d.recordIDsMu.Lock() delete(d.recordIDs, fqdn)