@Nagulan s Thanks for reaching out to Microsoft Q&A.
Looking at your setup, you have the following-
- Vnet
- Private DNS Zone with A record for storage
- Deployed a VM in the IAAS subnet
However, you cannot get the local machine to connect to storage account via the private endpoint, you need the following resources-
- On-premises network
- Virtual network connected to on-premises
- DNS forwarder deployed in Azure
- Private DNS zones privatelink.database.windows.net with type A record
- Private endpoint information (FQDN record name and private IP address)
Please refer to the following image to see how this works-
This configuration can be extended for an on-premises network that already has a DNS solution in place. The on-premises DNS solution is configured to forward DNS traffic to Azure DNS via a conditional forwarder. The conditional forwarder references the DNS forwarder deployed in Azure.
Do you have a DNS solution on-premises that can forward this request to Azure DNS? Please refer below to see how this can be setup:
I see that you may not have a DNS forwarder deployed on-premises and/or in Azure to forward this request to Azure provided DNS to be able to resolve this. Please make sure you have this in place and let me know if that helps.
Thank you!