How to set alias record set for cname
Open
act-quality-productivity-squad
needs-team-attention
Network - DNS
Service Attention
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
The CLI command creates the record without issue `az network dns record-set cname set-record -g MyResourceGroup -z www.mysite.com -n MyRecordSet -c www.contoso.com`
The problem seems to be that when the CNAME is created there's no way to set the ALIAS RECORD SET flag to yes via the CLI?
Perhaps I need to execute a follow-up command?

_Originally posted by @sspott in https://github.com/Azure/azure-cli/issues/13382#issuecomment-653297037_
Contributor guide
Assessment
This issue has not been assessed yet.