Browse Source
Merge pull request #4063 from nicolaspn/OVH_DNS_refresh_after_delete_txt_record
Ovh dns refresh after delete txt record
pull/4065/head
neil
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
dnsapi/dns_ovh.sh
|
|
@ -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 |
|
|
|