The article describes scenario with Point-to-site (P2S) remote VPN connection with custom DNS Server for OpenVPN connection.
For any VPN Connection type in Acronis Disaster Recovery Cloud it is possible to configure Custom DNS Settings. However, this configuration will be applied only to servers on the Cloud side (Primary and Recovery servers). In case of a P2S connection, custom DNS settings will not be applied to the VPN Client machine. Thus, for example, if DNS Server is located on the Cloud side, VPN Client will not use it and will not be able to reach servers on the Cloud side using their hostnames.
To apply custom DNS settings to VPN Client it is necessary to modify .ovpn configuration file manually in the following way:
In the "client" section (between 'client' and 'dev tun' lines) add the configuration strings:
dhcp-option DNS 10.0.0.8 dhcp-option DNS 188.8.131.52
Where 10.0.0.8 and 184.108.40.206 can be replaced with any desired valid IP address of the DNS Server. The first line will be used for the Primary DNS Server Address setting.