You have an Azure Private DNS zone named private.contoso.com. You need to ensure that virtual machines in a virtual network named VNet1 can resolve names in private.contoso.com, and that their DNS records are automatically registered in the zone. Which two configuration steps should you perform? (Select two.)
- Create a virtual network link from the private DNS zone to VNet1.Answer
- Enable the auto-registration setting on the virtual network link.Answer
- CConfigure a custom DNS server IP address in the DNS servers settings of VNet1.
- DConfigure DNS zone delegation in the public contoso.com DNS zone.
Answer
To resolve names and auto-register virtual machines in an Azure Private DNS zone, you must create a virtual network link to the virtual network and enable the auto-registration option on that link.
To enable name resolution and auto-registration, a virtual network link must be established between the Azure Private DNS zone and the virtual network. Enabling the auto-registration setting on this link ensures that virtual machines in the virtual network automatically register their hostnames as A records in the private DNS zone.
Step-by-Step Solution
Key Concept
Azure Private DNS virtual network links and auto-registration
Estimated Time:1m 0s