Microsoft.Network dnsZones template reference

Template format

To create a Microsoft.Network/dnsZones resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Network/dnsZones",
  "apiVersion": "2017-10-01",
  "tags": {},
  "location": "string",
  "properties": {},
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Network/dnsZones object

Name Type Required Value
name string Yes The name of the DNS zone (without a terminating dot).
type enum Yes Microsoft.Network/dnsZones
apiVersion enum Yes 2017-10-01
tags object No Resource tags.
location string Yes The geo-location where the resource lives
properties object Yes The properties of the zone.
resources array No TXT SRV SOA PTR NS MX CNAME CAA AAAA A

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
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.
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.