Hi @Khushaboo Shandilya , I understand you try to use custom Private DNS zone for your blob storage's private endpoint. When you create a private endpoint for your blob storage:
- If there is existing Private DNS Zone with the name "privatelink.blob.core.windows.net" and it's linked to your virtual network where you created the private endpoint, it will create a new entry into that existing Private DNS Zone.
- Otherwise, Azure will create a new Private DNS Zone with the name "privatelink.blob.core.windows.net" including the DNS record for your private endpoint.
- Additionally, Azure adds a CNAME for Public DNS Zone: mapping
mystorageaccount.blob.core.windows.net.
tomystorageaccount.privatelink.blob.core.net.
This means when you try to resolve your storage account public DNS name, it is translated to its privatelink FQDN. Then Private DNS Zone translates the privatelink FQDN to your private endpoint IP Address.
Since you're using an existing Private DNS Zone that has a different domain name (pvt.dns.zone instead of privatelink.blob.core.windows.net), it is not recognized as a valid existing Private DNS Zone. Therefore, Azure created a new Private DNS Zone.
You cannot use custom domain to replace your private endpoint's Private DNS Zone. You need to use the zone name listed in this table for Azure services: Azure Private Endpoint private DNS zone names.
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.