CmdID / az / az network / az network dns / az network dns record-set / az network dns record-set cname
az network dns record-set cname remove-record
Remove a CNAME record from its record set. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--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.