Yet another try

This commit is contained in:
Bob Perper
2025-12-11 15:43:15 -05:00
parent 5017c12324
commit 6f66e294de
2 changed files with 1 additions and 202 deletions

View File

@@ -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"