Importing DNS Zone File to Azure DNS

Problem

One of our clients contact us. The CEO cannot access the website while he goes to another country. We checked in on our side. And we found everything alright. We check the NS discovery https://dnschecker.org/#NS/ourdomain.com

We found that some of the server cannot reach the domain. Therefore, we move the DNS to Azure simply because the Azure is cloud computing that have many data center region rather than our premise data center. However, we want to make the activity is quick and simple.

Requirements

Before we go to the solution, we need several software

  • Azure CLI. It is a command line interface to communicate with the Azure.
  • DNS Zone file. It a standard format that come from your previous DNS Server.
  • Azure Subscription. It a cloud subscription that can be used to manage your DNS Server

Solution

  • Create a resource group to handle several domains in one group
  • Create DNS Zone in Azure services
  • Run Azure CLI as shown in the video
  • Change the NS server from your domain panel
  • Delete the origin server after 1x24 hour.

 

blog comments powered by Disqus

Topics Highlights

About @ridife

This blog will be dedicated to integrate a knowledge between academic and industry need in the Software Engineering, DevOps, Cloud Computing and Microsoft 365 platform. Enjoy this blog and let's get in touch in any social media.

Xbox

Month List

Visitor