CmdID / az / az network / az network private-dns / az network private-dns record-set / az network private-dns record-set a
az network private-dns record-set a add-record
Add an A record. Azure CLI reference
1 example 1 option Its page in the Azure CLI reference
Examples
Add an A record.
az network private-dns record-set a add-record -g MyResourceGroup -z www.mysite.com -n MyRecordSet -a MyIpv4AddressIdentify-gName of resource group.-zThe name of the Private DNS zone.-nThe name of the record set relative to the zone.-aIPV4 address in string notation.Options
--record-set-name, -nThe name of the record set relative to the zone.