OpenVPN - server address

Hello. Is it possible to use domain name as server for OpenVPN client? I have a server with dynamic address and static domain name.

Not directly, but you can run a script which resolves domain name and updates IP address in OVPN configuration.

Similar example:
http://wiki.mikrotik.com/wiki/Scripting-examples#Resolve_host-name

Are there any plans to change it? Allow entering hostnames and letting ROS resolve them as needed? While the solution with script works, it’s not admin-friendly at all.

The only argument against allowing it can be dependence on DNS. But if the target is really dynamic (i.e. address changes often), then the hostname must be resolved anyway and DNS server must work. And it seems to be much better if resolving is initiated by ROS when it’s actually needed, than doing it in periodically running script, even when it’s not necessary.