`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.
More on Network Connectivity Errors
A VM with a public IP times out on SSH (`ssh: connect to host 20.x.x.x port 22: Connection timed out`).BeginnerKey Vault returns `Client address is not authorized and caller is not a trusted service.` (ForbiddenByFirewall).BeginnerApplication Gateway returns `502 Bad Gateway` and backend health shows Unhealthy.IntermediateApp Gateway v2 deployment fails or goes unhealthy after a UDR `0.0.0.0/0 → firewall` was added to its subnet.AdvancedTwo VNets peered but VMs can't communicate; peering state shows `Initiated`.IntermediatePeering creation fails because address spaces overlap.Beginner