Hello Team,
I hope you're doing fine,
I have a scenario and i want to share it with you and have your ideas about it
I have a vm on Azure connected to a vnet
I configured a point to site vpn to access this VM, the virtual network of the gateway is the same as the VM.
I can successfully connect to the VM using the VPN
My need, is to create a dns record for that particular VM, so that i can ping it using it hostname, for this :
I create a dns zone in the azure private DNS zones
I linked the DNS Zone to the vnet of the Gatewat
I created the A record for that VM
Issue : i can't resolve the record from my end (Using the P2S VPN), but i can resolve it from other azure VMs on the same Vnet.
I want to know if i'am missing something and if it is possible to resolve the hostname using the P2S ? Or i would need to setup a dns server in Azure, configure it to forward the requests to 168.63.129.16 (Azure dns Virtual IP), and then configure the vpn client to use the dns server that i created in Azure ?
Thank you in advance team