Soru

Zorluk: KolayConfigure Azure DNS Private and Public Zones

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.)

  1. Create a virtual network link from the private DNS zone to VNet1.Cevap
  2. Enable the auto-registration setting on the virtual network link.Cevap
  3. C
    Configure a custom DNS server IP address in the DNS servers settings of VNet1.
  4. D
    Configure DNS zone delegation in the public contoso.com DNS zone.

Cevap

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.

Adım Adım Çözüm

1
Link the private DNS zone to the virtual network.
Virtual machines in VNet1 are now able to resolve DNS names hosted in the private DNS zone.
Azure Private DNS zones require an explicit virtual network link to make the zone's records resolvable within a specific VNet.
2
Enable auto-registration on the virtual network link.
Azure automatically manages A records in the private DNS zone for VMs in VNet1.
Auto-registration is an optional setting on the virtual network link that automatically registers and updates the DNS records of VMs in that virtual network.

Anahtar Kavram

Azure Private DNS virtual network links and auto-registration
Tahmini Süre:1m 0s
Bu soruyu puanla