CmdID

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

az network dns record-set ptr remove-record

Remove a PTR record from its record set. Azure CLI reference

By default, if the last record in a set is removed, the record set is deleted. To retain the empty record set, include --keep-empty-record-set.

1 example 2 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

Remove a PTR record from its record set.

az network dns record-set ptr remove-record -g MyResourceGroup -z www.mysite.com -n MyRecordSet -d another.site.comIdentify
-gName of resource group.
-zThe name of the zone.
-nThe name of the record set relative to the zone.
-dPTR target domain name.

Options

2 in the Azure CLI reference
--keep-empty-record-setKeep the empty record set if the last record is removed.
--record-set-name, -nThe name of the record set relative to the zone.