VPN Server (either OpenVPN or WireGuard Server) with URL fom DDNS instead IP address in config file

Hi there, I am just wondering if there is a possibility to put the DDNS URL into to VPN config files instead of the IP address. As our ISP is just providing dynamic IP - we need DDNS URL in the VPN config files for accessing the VPN Server…

Thx
SOMCON

Yes, you can do this