How do you migrate DNS from on-premises server to Azure DNS?
- Export the existing DNS settings to DNS zone files
- Import DNS zone files to Azure DNS
A DNS zone file is a text file that contains details of every Domain Name System (DNS) record in the zone. It follows a standard format, making it suitable for transferring DNS records between DNS systems. Using a zone file is a quick, reliable, and convenient way to transfer a DNS zone into or out of Azure DNS.
Azure DNS supports importing and exporting zone files by using the Azure command-line interface (CLI). Zone file import is not currently supported via Azure PowerShell or the Azure portal.
The Azure CLI is a cross-platform command-line tool used for managing Azure services. It is available for the Windows, Mac, and Linux platforms from the Azure downloads page. Cross-platform support is important for importing and exporting zone files, because the most common name server software, BIND, typically runs on Linux.
Related Azure Cloud job interview questions
If you use Azure Policy to add tags to resources in a resource group, how are existing and newly created resources affected?Azure Cloud Azure Policy Junior
Can you give some examples of what you cannot do when you apply a read-only lock on an Azure resource group?Azure Cloud Azure Resource Manager Junior
Using Azure, how can you generate a report with costs for each department when each department has its dedicated resources stored in multiple resource groups that are shared across departments?Azure Cloud Junior
Azure Cloud Azure Virtual Machines Junior
Azure Cloud Azure Monitor Junior