I have small development and support teams that I need to connect to our private network hosted in Azure. We are using a Windows server that serves Active Directory and DNS for the VMs in the network. I was able to configure Azure VPN Gateway to authenticate and connect to our private network. I can ping our VMs (after making the appropriate NSG changes) so connectivity is good now, but I am trying to figure out how to properly configure the DNS server on the VPN/individual machines.
I personally use macOS, but we have a mix of Windows and macOS machines. Both IKEv2 and SSTP VPN seem to not have any functionality that allows adjusting the DNS servers on connection/disconnection. What is the recommended approach for configuring self-hosted private DNS in this scenario?