Microsoft.Network dnsZones 2017-10-01

The dnsZones resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Network/dnsZones resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Network/dnsZones@2017-10-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  etag: 'string'
  properties: {
    zoneType: 'string'
  }
}

Property values

dnsZones

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Network/dnsZones'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2017-10-01'
name The resource name string (required)
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
etag The etag of the zone. string
properties Represents the properties of the zone. ZoneProperties

ZoneProperties

Name Description Value
zoneType The type of this DNS zone (Public or Private). 'Private'
'Public'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a DNS Zone with the correct records for Office 365

Deploy to Azure
This template configures the records needed to integrate Azure DNS with Office 365 by adding the correct CNAME, SRV, MX, and TXT records.
Azure DNS domain hosting example

Deploy to Azure
This template shows how to create a DNS zone within Azure DNS and how to add some record sets to it.