Repair private DNS across the two VNets
Try this labAll AZ-104 practice
- Certification
- AZ-104
- Format
- Artifact workspace
- Difficulty
- medium
- Estimated time
- 15 min
- Automated checks
- 9
SCENARIO
The corp.internal private DNS zone serves an application spoke and a shared-services VNet. New application VMs are not registering host records, while shared-services VMs must be able to resolve those records without publishing their own names into the application zone. The current PowerShell script disables registration on the application link and never creates the shared-services link.
TASK
Repair repair-private-dns.ps1 so app-spoke VMs register automatically in corp.internal and shared-services resolves that zone without registering records.
- Use only
app-spoke-linkandshared-services-link. - Preserve the supplied zone and VNet lookups, and do not create, remove, or replace the zone or VNets.