Skip to content

Commit

Permalink
Merge pull request #837 from lukexcom:lukexcom-patch-1
Browse files Browse the repository at this point in the history
Use --value= for add-record command (Issue #836)
  • Loading branch information
timkimber authored Mar 18, 2024
2 parents 1c0c363 + 75cb951 commit 7638d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dns_scripts/dns_add_azure
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ recordset="_acme-challenge.${fulldomain/.$zone_id/}"
# E.g. domain = *.sub.example.com the recordset is _acme-challenge.sub
# domain = example.com the record set is _acme-challenge
[[ "$recordset" == "_acme-challenge.$fulldomain" ]] && recordset="_acme-challenge"
az network dns record-set txt add-record -g "$AZURE_RESOURCE_GROUP" -z "$zone_id" -n "$recordset" -v "$token"
az network dns record-set txt add-record -g "$AZURE_RESOURCE_GROUP" -z "$zone_id" -n "$recordset" --value="$token"

0 comments on commit 7638d3a

Please sign in to comment.