Creating a DNS Zone in Microsoft Azure DNS

Share this:

Microsoft Azure has Public DNS in beta at this time, and this service will facilitate the IT Pro a lot where besides of the regular infrastructure (IaaS, SaaS) the administrator can use the same authentication method to manage Public DNS which nowadays is done through a third partner, or in some cases with servers in the on-premises DMZ.

Solution


Microsoft Azure DNS at this time is managed through PowerShell, the first step is to create a Resource Group and that can be done using either PowerShell or Azure Portal. For this Tutorial we are going to create a new Resource Group to host all DNS zones and it is going to be called RG-DNS and this was the cmdlet used to create it.

New-AzureRMResourceGroup –Name RG-DNS –Location “East US”

The second step is to create the DNS Zone, and the process is straight forward, here are the cmdlets used to create the zone Infralab.org

$NewZone = New-AzureRMDNSZone –Name Infralab.org –ResourceGroupName RG-DNS

Get-AzureRMDNSZone –ResourceGroupName RG-DNS | fl

 

image

Until this point the zone was created in Microsoft Azure however the Internet is not aware of its existence. The next step is take a note of the Name Servers in Microsoft Azure that are responsible for this new zone, and we can do that using the following cmdlet:

Get-AzureRMDNSRecordSet –ZoneName infralab.org –ResourceGroupName RG-DNS –RecordType NS

image

The final piece of the puzzle is to change the current Name Servers of the zone to the ones that we took a note in the previous step. After doing that and the DNS replication takes place, all new DNS queries will be going to Microsoft Azure.

image

These are the basic steps to create a zone and transfer it over to Azure DNS, keep in mind that before performing the transition, the recommendation for production zoens is to make sure that all entries are already there prior to the transition.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

Adding a domain in Azure Active Directory Adding and validating a domain in Microsoft Azure using the new portal based on Azure Resource Manager (ARM). The new portal has been out there for a ...
Exchange Server 2013 offsite protection using DPM ... Hello folks, My third article at MSExchange.org going over the offsite protection of Exchange Server 2013 using DPM and Microsoft Azure is out. Check ...
Creating an Application for a specific page on Mya... In one of the projects that I’m working on these days, the customer asked to create an App on MyApps to redirect the users to their SharePoint site on...
How to modify the DNS Server settings in Microsoft... If you are planning to deploy Domain Controllers in Microsoft Azure, the first step will be the DNS Server configuration pointing out to the local Dom...