Add call dns OVH API for refresh domain after delete TXT record

This commit is contained in:
nicolaspn committed 2022-05-02 16:16:56 +02:00
1 parent 8be3465f94
commit 24ce7c1991
1 file changed
+2
+2
View File
@@ -198,6 +198,8 @@ dns_ovh_rm() {
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
return 1 return 1
fi fi
_ovh_rest POST "domain/zone/$_domain/refresh"
_debug "Refresh:$response"
return 0 return 0
fi fi
done done