CmdID

CmdID / az / az network / az network dns / az network dns record-set / az network dns record-set srv

az network dns record-set srv add-record

Add an SRV record. Azure CLI reference

1 example 3 options 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 SRV record.

az network dns record-set srv add-record -g MyResourceGroup -z www.mysite.com -n MyRecordSet -t webserver.mysite.com -r 8081 -p 10 -w 10Identify
-gName of resource group.
-zThe name of the zone.
-nThe name of the record set relative to the zone.
-tTarget domain name.
-rService port.
-pPriority metric.
-wWeight metric.

Options

3 in the Azure CLI reference
--if-none-matchCreate the record set only if it does not already exist.
--record-set-name, -nThe name of the record set relative to the zone.
--ttlRecord set TTL (time-to-live)