In Azure, you are able to create your own hosting service for DNS domains. With Azure DNS, you will able to host your domains for record management and integrate them with your VNets. In this section, we will cover two things: creating an instance of Azure DNS and configuring a VNet to use it for resolving names.
Azure DNS is a service that is based on the Azure Resource Manager. This gives you benefits such as role-based access control (RBAC), the ability to audit all activities, and the ability to lock it so that no one can remove it without permission. This also means that you can create it using standard tools such as the Azure portal or the Azure CLI. When it comes to the CLI, the command you will be looking for will be as follows:
az network dns zone
The same can be achieved with Azure PowerShell, as shown in the following code:
New-AzDnsZone
As you can see from the preceding code, what you need here is a DNS zone, which is used...