Merge pull request #4063 from nicolaspn/OVH_DNS_refresh_after_delete_txt_record

Ovh dns refresh after delete txt record
This commit is contained in:
neil 2022-05-02 23:34:14 +08:00 committed by GitHub
commit 84c2b0c3d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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