How does DNS work with Private Endpoints?

AdvancedConceptNetworking
Answer

When a Private Endpoint is created, the public name gets a CNAME into a privatelink zone: kvshop.vault.azure.net → kvshop.privatelink.vaultcore.azure.net. Clients must resolve the privatelink name to the private IP, which needs a Private DNS zone (privatelink.vaultcore.azure.net) linked to the VNet with an A record (created automatically by a DNS zone group on the endpoint).

Clients outside the VNet (on-prem, other VNets) need to use Azure DNS through the DNS Private Resolver inbound endpoint or a forwarder to 168.63.129.16. Symptom of getting it wrong: nslookup returns the public IP and the request is blocked by the firewall.

nslookup kvshop.vault.azure.net    # must return 10.x.x.x from inside the VNet
Azure All Azure questions Roadmap: Azure core services

More on Networking