Your company implements a split-horizon DNS configuration in Azure. You have a public Azure DNS zone named `adventure-works.com` and an Azure Private DNS zone also named `adventure-works.com`. The Private DNS zone is linked to a virtual network named `VNet-App`.
The public DNS zone contains a CNAME record named `portal` that points to an external SaaS application.
Users on virtual machines in `VNet-App` report that they cannot resolve the name `portal.adventure-works.com`.
Which of the following actions should you perform to resolve the name resolution issue for the virtual machines in `VNet-App`?
- AConfigure a user-defined route (UDR) in VNet-App that forwards DNS traffic to the public IP address of the Azure DNS service.
- BEnable auto-registration on the virtual network link between VNet-App and the Private DNS zone.
- Create a CNAME record named portal in the Private DNS zone adventure-works.com that points to the external SaaS application.Cevap
- DCreate a DNS delegation record in the public DNS zone adventure-works.com that points to the Azure Private DNS name servers.
Cevap
Create a CNAME record named portal in the Private DNS zone adventure-works.com that points to the external SaaS application.
When a virtual network is linked to an Azure Private DNS zone, all name resolution requests for that namespace from within the virtual network are handled by the Private DNS zone. If a requested record does not exist in the Private DNS zone, Azure DNS does not query the public DNS zone of the same name. Therefore, to resolve the record from the virtual network, a corresponding record must be manually created in the Private DNS zone.
Adım Adım Çözüm
Anahtar Kavram
In a split-horizon DNS setup, an Azure Private DNS zone is authoritative for its namespace within any linked virtual networks. Azure DNS does not query the public DNS zone of the same name if a record is not found in the private zone. Therefore, any record in the public zone that needs to be resolved from a linked virtual network must also be created in the private DNS zone.