Azure / Azure/azure-cli

How to set alias record set for cname

Open
#14,200 8 comments 0 reactions 1 assignee Claimed by @mmyyrroonn View on GitHub
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?

dns2

_Originally posted by @sspott in https://github.com/Azure/azure-cli/issues/13382#issuecomment-653297037_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.