Register OpenVPN client IPv6 address in DNS Resolver. Issue #8624
Trim domain for learned DNS entries. Ticket #6847
If the CN is already an FQDN on the given domain, this prevents thedomain from being present in the record twice (e.g. host.example.comas a CN leads to records for host.example.com.example.com)
Use full paths for more binaries
Always use braces around variable names
Check whether tmp/config files exist before using/removing them
Use full paths for binaries
Remove trailing whitespace
When removing old entries, do not take into account new/changed IP
Ensure that $IP can be used in a file name
Use braces around shell variables to reduce ambiguity
Specify chroot and directory when testing config, use variables for common paths
Register CN of OpenVPN clients in DNS Resolver