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

This commit is contained in:
nicolaspn 2022-05-02 15:46:49 +02:00
parent 8be3465f94
commit 24ce7c1991
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ dns_ovh_rm() {
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
return 1
fi
_ovh_rest POST "domain/zone/$_domain/refresh"
_debug "Refresh:$response"
return 0
fi
done