I'm wondering if OpenVPN Access Server (Ubuntu 18.04) has an easy way to have linux VPN clients automatically register/add a DNS entry to the DNS records on the OpenVPN Access server (OpenVPN AS uses systemd-resolved as default it looks like).I did not see a way to enable this in the configuration. Is this possible? I've only seen a way to do this with Windows clients through register-dns, but not debian clients.
The issue I'm trying to solve is that each dynamically assigned VPN client from OpenVPN, needs to be able to be resolved by its FQDN hostname on the VPN network.The only way I've gotten this to work so far, is by installing DNSmasq on the OpenVPN AS server, and manually adding a DNS entry. This won't work because the IPs can change since they are dynamically assigned on connection, and changing to a static set up would make it hard to scale/keep track of the planned hundreds of IoT devices.