mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
Adapting to Cloudflare's new response
This commit is contained in:
@@ -92,7 +92,9 @@ dns_cf_add() {
|
|||||||
if _contains "$response" "$txtvalue"; then
|
if _contains "$response" "$txtvalue"; then
|
||||||
_info "Added, OK"
|
_info "Added, OK"
|
||||||
return 0
|
return 0
|
||||||
elif _contains "$response" "The record already exists"; then
|
elif _contains "$response" "The record already exists" \
|
||||||
|
|| _contains "$response" "An identical record already exists." \
|
||||||
|
|| _contains "$response" '"code":81058'; then
|
||||||
_info "Already exists, OK"
|
_info "Already exists, OK"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user