Adapting to Cloudflare's new response

This commit is contained in:
Mason authored and GitHub committed 2025-11-19 23:27:45 +08:00
1 parent 4bfc5aafd3
commit c950b67e4b
1 file changed
+3 -1
+3 -1
View File
@@ -92,7 +92,9 @@ dns_cf_add() {
if _contains "$response" "$txtvalue"; then
_info "Added, OK"
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"
return 0
else
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.