Soru

Zorluk: KolayConfigure Azure DNS Private and Public Zones

An administrator needs to configure name resolution for virtual machines in an Azure virtual network named VNet1. The administrator decides to use a custom private domain namespace. Arrange the steps in the correct order to configure private name resolution using an Azure Private DNS zone.

  1. 1Create an Azure Private DNS zone named private.corp.local.
  2. 2Create a virtual network link from the Private DNS zone to VNet1.
  3. 3Add a DNS record to the Private DNS zone for a virtual machine in VNet1.

Cevap

First, create the Azure Private DNS zone. Next, link the Private DNS zone to the target virtual network. Finally, add the required DNS records within the zone.
To set up private DNS name resolution, the Private DNS zone must first be created to define the domain space. Next, a virtual network link must be established to associate the zone with the VNet where the client VMs reside. Finally, DNS records (such as A records) are added to the zone so that VMs can resolve specific hostnames.

Adım Adım Çözüm

1
Create the Private DNS zone named private.corp.local.
The DNS namespace is established in Azure, but it is not yet associated with any network or containing host records.
You must have the zone resource created in Azure before you can attach links or create records inside it.
2
Create a virtual network link between the Private DNS zone and VNet1.
VNet1 is associated with the zone, enabling name resolution for VMs in VNet1.
Without a virtual network link, VMs within VNet1 cannot resolve any DNS records defined in the Private DNS zone.
3
Add an A record to the Private DNS zone for a virtual machine.
The VM's hostname can now be resolved to its private IP address by resources in VNet1.
Once the virtual network link is in place, creating the A record completes the configuration by mapping the hostname to the IP address.

Anahtar Kavram

Azure Private DNS Zone Configuration and VNet Linking
Bu soruyu puanla