CmdID

CmdID / az / az network / az network private-dns / az network private-dns record-set / az network private-dns record-set mx

az network private-dns record-set mx add-record

Add an MX record. Azure CLI reference

1 example 1 option Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Add an MX record.

az network private-dns record-set mx add-record -g MyResourceGroup -z www.mysite.com -n MyRecordSet -e mail.mysite.com -p 10Identify
-gName of resource group.
-zThe name of the Private DNS zone.
-nThe name of the record set relative to the zone.
-eExchange metric.
-pPreference metric.

Options

1 in the Azure CLI reference
--record-set-name, -nThe name of the record set relative to the zone.