commit
08246f7005
|
@ -201,7 +201,7 @@ dns_ovh_rm() {
|
||||||
if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then
|
if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
if _contains "$response" "\"target\":\"$txtvalue\""; then
|
if _contains "$response" "$txtvalue"; then
|
||||||
_debug "Found txt id:$rid"
|
_debug "Found txt id:$rid"
|
||||||
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
|
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue