Interview Prep/Azure/Network Connectivity Errors

`nslookup kv-shop.vault.azure.net` from inside the VNet returns a public IP even though a Private Endpoint exists.

IntermediateTroubleshootingNetwork Connectivity Errors
Answer

Likely causes → The privatelink.vaultcore.azure.net Private DNS zone is missing, not linked to the VNet the client uses, missing the A record, or the VNet uses custom DNS that doesn't forward to Azure DNS.

Diagnose →

az network private-dns zone list -o table
az network private-dns link vnet list -g rg-dns -z privatelink.vaultcore.azure.net -o table
az network private-dns record-set a list -g rg-dns -z privatelink.vaultcore.azure.net -o table
az network vnet show -g rg -n vnet-shop --query dhcpOptions.dnsServers

Fix → Create the zone and DNS zone group on the endpoint, link the zone to the VNet (or the hub resolving VNet), or configure the custom DNS server to forward to 168.63.129.16 / the DNS Private Resolver.

Prevent → Policy-driven DNS zone group creation and central zones.

Azure All Azure questions Roadmap: Azure core services

More on Network Connectivity Errors