stbeldarborge 1 年之前
父节点
当前提交
1eaa2cc619
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      dnsapi/dns_azure.sh

+ 1 - 0
dnsapi/dns_azure.sh

@@ -126,6 +126,7 @@ dns_azure_add() {
   # Add the txtvalue TXT Record
   # Add the txtvalue TXT Record
   body="{\"properties\":{\"metadata\":{\"acmetscheck\":\"$timestamp\"},\"TTL\":10, \"TXTRecords\":[$values]}}"
   body="{\"properties\":{\"metadata\":{\"acmetscheck\":\"$timestamp\"},\"TTL\":10, \"TXTRecords\":[$values]}}"
   _azure_rest PUT "$acmeRecordURI" "$body" "$accesstoken"
   _azure_rest PUT "$acmeRecordURI" "$body" "$accesstoken"
+  _debug "$acmeRecordURI $body $accesstoken"
   if [ "$_code" = "200" ] || [ "$_code" = '201' ]; then
   if [ "$_code" = "200" ] || [ "$_code" = '201' ]; then
     _info "validation value added"
     _info "validation value added"
     return 0
     return 0