Page 1 of 1

Dynamic Client DNS Script?

Posted: Fri Jul 13, 2018 1:06 pm
by tmagna
We are trying to get dynamic DNS set up for VPN clients, as they will need to communicate with each other via hostname. I tried following this guide: ... namic-dns/

The script appears to work, as entering debugging mode and manually running it updates our DNS server, however when added in the OpenVPN server config it breaks the clients' ability to comunicate over VPN. Below is how we were adding it to the server config:

---Omitted for Brevity ---

script-security 2
learn-address /etc/openvpn/

---Omitted for Brevity ---

Obviously, the script is located where we are point the server config, I'm just curious if perhaps we are using the incorrect config for invoking the script.

If anyone has any thoughts or experience with this, please let me know. I cannot provide logs at this time, but if they are deemed to be required I will work on getting some and will update the post.