It seems that you are experiencing issues with DNS resolution for your Azure File Share when connected via a Point-to-Site (P2S) VPN. Here are some steps to troubleshoot this issue:
- Check Private Endpoint Configuration: Ensure that the private endpoint for your Azure File Share is correctly configured and associated with the correct virtual network and subnet. The private endpoint should be in the same virtual network that your P2S VPN connects to.
- DNS Configuration: When you create a private endpoint, a private DNS zone is typically created or updated. Make sure that your virtual network is linked to the private DNS zone. This allows the DNS resolution to point to the private IP address of the endpoint instead of the public IP.
- Use Correct DNS Name: When performing the
nslookup, ensure you are using the correct private DNS name format, which ismystorageaccount.privatelink.file.core.windows.net. This should resolve to the private IP address associated with the private endpoint. - Test DNS Resolution: You can use the
Resolve-DnsNamecmdlet in PowerShell to test the DNS resolution from within an Azure VM in the same VNet. This can help confirm if the private DNS setup is functioning correctly.Resolve-DnsName -Name "mystorageaccount.privatelink.file.core.windows.net" - Firewall and Network Security Group (NSG) Rules: Check if there are any firewall or NSG rules that might be blocking access to the private endpoint from your P2S VPN.
Regarding your question about access from China, it is generally possible for computers in China to access Azure services via VPN, but there may be additional considerations regarding network policies, latency, and compliance with local regulations.
If you continue to face issues, consider reaching out to Azure support for more detailed assistance.
References:



