Integrating a virtual network with a private DNS zone
When a private DNS zone is created, it is a standalone service that doesn't do much on its own. We must integrate it with a virtual network in order to start using it. Once integrated, it will provide DNS inside the virtual network.
Getting ready
Before you start, open the browser and go to the Azure portal at https://portal.azure.com.
How to do it...
In order to add a new record to the DNS zone, we must use the following steps:
- In the Azure portal, locate Private DNS Zone.
- In Private DNS Zone, select Virtual network links and click Add:
Figure 6.3: Adding a virtual network link
- In the new pane, fill in Link name, then select values for the Subscription and Virtual network fields (only virtual networks in the selected subscription will be available). Alternatively, we can provide the resource ID of our virtual network, rather than selecting options from the drop-down menu:
Figure 6.4: Adding...