Create CNAME record? #4391
-
Hi |
Beta Was this translation helpful? Give feedback.
Answered by
StefanIvemo
Sep 13, 2021
Replies: 1 comment 6 replies
-
Here's an example on how to create a CNAME record using Bicep. resource dnsZone 'Microsoft.Network/dnsZones@2018-05-01' existing = {
name: 'mydomain.org'
}
resource cnameRecord 'Microsoft.Network/dnsZones/CNAME@2018-05-01' = {
name: 'dnsRecordName'
parent: dnsZone
properties: {
TTL: 3600
CNAMERecord: {
cname: 'targetname.targetdomain.com'
}
}
} |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
jnus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an example on how to create a CNAME record using Bicep.