Azure private endpoint with cname on storage account

Andrea 236 Reputation points
2024-07-31T13:41:54.4666667+00:00

Hello guys,

can I use an alias CNAME to access on private endpoint linked to an Azure File Share storage?

My aim is using \\cname01 from PC instead of storagename.file.core.windows.net, I've tried to create an alias CNAME on my DNS on prem server but the authentication with user/pass fails, while using fqdn private endpoint it works.

Maybe cname is not supported?

thanks

Andrew

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
690 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,220 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andrea 236 Reputation points
    2024-07-31T14:18:06.5466667+00:00

    it seems that it works only on Azure VM adding record on hosts file, but not on VM on-prem

    0 comments No comments

  2. ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
    2024-07-31T21:34:24.58+00:00

    @Andrea

    Thank you for reaching out.

    Based on your response above, I understand you updated the host file and the DNS resolution working correctly in Azure but you still facing issues from your on-prem.

    This is actually a not supported scenario as you cannot add a custom domain to Azure File Share storage. When you add a CNAME record this would fail because the Server Name Indication (SNI) on TLS Request will fail.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.