Custom Private DNS Zone

Last updated: 13/03/2017

This template shows how to deploy a customer private DNS zone within your virtual network. It enables dynamic DNS updates and reverse DNS and gives scripts to configure both Windows and Linux clients to use the custom DNS zone name as the DNS suffix and to perform dynamic DNS updates to maintain the DNS records in the custom zone.

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
dnsZoneName The private DNS suffix and zone name.
newStorageAccountName The name of the new storage account created to store the VMs disks
adminUsername The name of the Administrator of the new VM and Domain
adminPassword The password for the Administrator account of the new VM and Domain
serverPublicDnsName The DNS name for the public IP address used by the Load Balancer infront of the DNS servers
assetLocation The location of resources, such as templates and scripts, that this script depends on

Use the template

PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/custom-private-dns/azuredeploy.json
Installing and configuring Azure PowerShell
Command line
azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/custom-private-dns/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface