mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-13 03:32:13 +08:00
Yet another try
This commit is contained in:
@@ -59,7 +59,7 @@ dns_qc_add() {
|
||||
# count=$(printf "%s\n" "$response" | _egrep_o "\"count\":[^,]*" | cut -d : -f 2)
|
||||
# _debug count "$count"
|
||||
# if [ "$count" = "0" ]; then
|
||||
_info "Adding txt record."
|
||||
_info "Adding txt record"
|
||||
if _qc_rest POST "zones/$_domain_id/records" "{\"type\":\"TXT\",\"name\":\"$fulldomain\",\"content\":\"$txtvalue\",\"ttl\":1800}"; then
|
||||
if _contains "$response" "$txtvalue"; then
|
||||
_info "Added txt record, OK"
|
||||
|
||||
Reference in New Issue
Block a user