I created a virtual network and a gateway for it.
I tried many different configurations. As tunnel type I used:
- OpenVPN -> WIN: Azure VPN and MACOS: Tunnelblick
- IKEv2 and SSTP -> WIN: Run the .exe delivered by the gateway, MACOS: created new vpn connection
In the virtual private network I set the DNS-Configuration to "Default".
Further I created a private DNS-Zone to add a different mapping for my domain, while I am connected with the VPN.
But no client sets an DNS server. So no domain of the virtual network can be resolved by the clients. Further I tried
nslookup with so many dns server addresses I found in web, but I didn't find the right DNS-Server address.
My question is: How can I get the information of the private dns zone from my VPN clients? And how can I set the right DNS server as default DNS server for all clients?
I read many documentations. I found no solution for this problem. Maybe somebody of you can help.