Private endpoints fail in a very particular way: the endpoint exists, the portal shows it healthy, and the application still can't connect. Nine times out of ten the problem is DNS. And the most common mistake is testing it from the wrong place.
A failure that looked like it worked
A workload needed private Blob Storage. The storage account, private endpoint and Azure private DNS zone were all in place. Tested from inside Azure, the storage hostname resolved to its private IP. From the application's network it returned NXDOMAIN: the name didn't exist.
The cause was outside Azure. The on-premises DNS that the application used was authoritative for the zone and had no record for the storage account, so it answered "no such name" instead of forwarding the query. Adding the record fixed it. The test that closed it was an application-level test from the application's own network, not "the endpoint exists".
What an inventory finds
That incident led to an inventory of the Azure private DNS estate. The findings are worth checking in any environment:
- Empty linked zones. A private DNS zone linked to VNets but holding no records. Harmless-looking, but any query for that zone from those VNets now gets "no such name" instead of the public answer.
- Missing endpoint registrations. Private endpoints whose records never landed in the zone, usually because no DNS zone group was attached.
- Resolver gaps. Networks with no path to the Azure DNS Private Resolver, so they can't resolve private zones at all.
- Forwarding-loop risk. On-premises DNS forwarding to Azure, which forwards back on-premises for the same zone. It works until a record is missing, and then queries bounce.
The rule: test from where the request starts
# From the CALLER's network: an app server, a build agent, an on-prem host
nslookup mystorageaccount.blob.core.windows.net
# Expect: a CNAME to mystorageaccount.privatelink.blob.core.windows.net,
# resolving to a PRIVATE address. A public address or NXDOMAIN means the chain is broken.
A test from your own workstation, or from inside the VNet where the endpoint lives, proves almost nothing about what the application sees.
Checklist
- [ ] Every private endpoint has a DNS zone group, so its record registers automatically
- [ ] No linked zones left empty
- [ ] Every client network has a resolution path to the Private Resolver
- [ ] On-premises forwarding reviewed for loops and for zones it's authoritative for
- [ ] Resolution tested from each caller's network
- [ ] An application-level test before closing the ticket