stbeldarborge
2 months ago
No known key found for this signature in database
GPG Key ID: E2B7D4D531A7A945
1 changed files with
1 additions and
0 deletions
-
dnsapi/dns_azure.sh
|
|
@ -126,6 +126,7 @@ dns_azure_add() { |
|
|
|
# Add the txtvalue TXT Record |
|
|
|
body="{\"properties\":{\"metadata\":{\"acmetscheck\":\"$timestamp\"},\"TTL\":10, \"TXTRecords\":[$values]}}" |
|
|
|
_azure_rest PUT "$acmeRecordURI" "$body" "$accesstoken" |
|
|
|
_debug "$acmeRecordURI $body $accesstoken" |
|
|
|
if [ "$_code" = "200" ] || [ "$_code" = '201' ]; then |
|
|
|
_info "validation value added" |
|
|
|
return 0 |
|
|
|