Hosting your dns zones in Azure

My story why i moved my dns zones to Azure

I had my dns zones hosted at GoDaddy and then at a given moment i was thinking why not host them in Azure. Because i had problems accessing the web portal where your edit your dns records at Godaddy. So i created my dns zone for familie-berg.org in Azure with all the record that where also at Godaddy running on the dns servers. And the cost did not come above the 1 euro a month.

How to setup your DNS Zones in Azure with the Azure DNS Services

In this part of the blog i will explain how to setup your zones in Azure with de DNS Zone service.

First i created a resource group where i could deploy the dns zone services to.

DNS-Zone-01

DNS-Zone-01

Then you go to create a resource by clicking on ‘Add’ when you are in the newly created resource group.

DNS-Zone-02

You type DNS in the search field and will see ‘DNS Zone’ select these

DNS-Zone-02a

The click on ‘Create’ to create a new DNS Zone.

DNS-Zone-03

The subscription will be filled in and taken over from the resource group. And the same for the Resource group. At the INSTANCE DETAILS fill in the name of you domain that you want to host in Azure.

DNS-Zone-04

You now can choose to use Tags what is a very good idee to use. I will later make there also a blog about.

DNS-Zone-07

But you can also choose to download a template for automation, so next time you have to create a new domain you can use the template and change settings and then deploy this.

DNS-Zone-05

Here is a example of the template of the domain that we created in the above steps. You can choose different languages for your template like here we choose for ARM template.

DNS-Zone-06

We click on the breadcrumb ‘Create DNS Zone’ to go back to the creation of the new dns zone.

DNS-Zone-08

Here we click on the create button.

DNS-Zone-09

And the new dns zone will be created (deployed) in our resource group we created in the above steps.

DNS-Zone-10

After some time the dns zone is deployed and ready for use.

DNS-Zone-11

And this is how it looks like. You see that microsoft has created four DNS servers four you, later in this blog you will need this information about the DNS servers when we go to configure the DNS Servers at your DNS Provider where you have registered your domain.

DNS-Zone-12

Now you can add new records to your dns zone.

DNS-Zone-13

And in the dropdown menu you have the choice of the different types of records.

DNS-Zone-14

You can also choose to export your dns zone to a template like in the above steps, but now also all the records you created in the Export template. This example is a ARM Template.

DNS-Zone-15

And here we did choose for a PowerShell template.

DNS-Zone-16

Second screen of the PowerShell template. As you see we had also the options for CLI and Ruby and .Net.

DNS-Zone-17

The nice think about hosting your dns zones in Azure is that you have also some monitoring of your zones under the monitoring menu. You can make a Chart with some metrics of your zone. I use here my e-mail domain because there is already some data in it.

DNS-Zone-18

You can choose a time range like 24 hours or last month or a custom range.

DNS-Zone-19

You can also export it to excel and do there some nice thing with it, or import it in some other systems.

DNS-Zone-20

DNS-Zone-20a

Like making a chart in excel.

DNS-Zone-20b

It’s also possible to pin a chart to your dashboard.

DNS-Zone-21

You can choose from different types of charts, like Line, Area, Bar, Scatter and Grid.

DNS-Zone-22

DNS-Zone-23

And you can under the same monitoring menu find the option alerts, so you can configure alerts when you go over a configured threshold.

DNS-Zone-24

All with all you get many more extra features that you normally not get with the standard DNS providers where you register your domain.

Configure you dns servers at your DNS provider

Now that you have created your dns zone in Azure. You have to configure the Azure DNS servers that i have pointed out in the above steps for your DNS provider where you registered your domain.

Because i am hosting my familie-berg.org domain at GoDaddy i will use this in the below steps.

Login to GoDaddy and you will get at the place where you see all your products that you have bought from GoDaddy.

GoDaddy-DNS-Zone-00

Then click on DNS button that is behind your domain that you want to change the DNS servers to the servers of Azure.

GoDaddy-DNS-Zone-01

Like you see here i already did this for my domain familie-berg.org and you see that there are the four Azure DNS servers are standing. All what i did click on change and fill in the names

GoDaddy-DNS-Zone-02

All what i did click on change and fill in the names of the Azure DNS Servers and save it.

GoDaddy-DNS-Zone-03

Andre van den Berg
Andre van den Berg
Consultant

Andre works with Azure, Office 365, Intune and automating things with PowerShell as a consultant at The Sourcing Company. He worked as a system/network administrator at Meyra for 18 years and helped people with everything related to IT while innovating the IT infrastructure at the same time. He enjoys attending meetups and events to learn new technologies, talk with interesting people and exchange stickers. He turned his hobby into his job and loves to blog, work on IoT projects at home and read books to his daughter.

comments powered by Disqus