Browse Source
Merge pull request #6567 from vmichelin/dev
fix #6555 : ovh dns api enable to remove record
pull/6579/head
neil
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_ovh.sh
|
|
|
@ -201,7 +201,7 @@ dns_ovh_rm() { |
|
|
|
if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
if _contains "$response" "\"target\":\"$txtvalue\""; then |
|
|
|
if _contains "$response" "$txtvalue"; then |
|
|
|
_debug "Found txt id:$rid" |
|
|
|
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then |
|
|
|
return 1 |
|
|
|
|