@Brijesh Muliya Welcome to the Microsoft Q&A platform, thanks for posting the question and for using Azure Services.
If I understand correctly want to resolve the private endpoint for Azure Cosmos DB for MongoDB without creating a VM or manually configuring each client's system. you can achieve this by integrating Private Link with Azure Private DNS. Here's a suggested approach:
- Create an Azure Private DNS zone.
- Link the Private DNS zone to your VNET.
- Create a Private Endpoint for your Cosmos DB account.
- Create an alias record in the Azure Private DNS zone.
- Configure your VPN Gateway to use the Azure Private DNS zone for DNS resolution. After completing these steps, VPN clients should be able to resolve the Cosmos DB's private endpoint using the Azure Private DNS zone without the need for a VM or manual configuration on each client's system.
I hope this information helps.
Regards
Geetha