No bug. I have multiple instances of DDNS running on 19.07.0. It's working; and hence the updater script is OK. (It would be nice for others to confirm, though.)
Perhaps there's a bad character in your DDNS config file?
This might be a shell issue? The first line in the script points to /bin/sh, so it should be using that shell (which is really a symlink to /bin/busybox).
I had this same error after upgrading to 19.07.1 and fixed it by reinstalling the ca-certificates bundle package. I've no idea why the missing ca-certificates file caused this syntax error
The bit more verbose explanation is, that /usr/lib/ddns/dynamic_dns_functions.sh probes a list of tools to do the DNS lookup. The last resort is busybox' builtin nslookup – which does not support IPv6. In case use_ipv6 is set to true the script tries to print a warning message about this, but a badly escaped bracket then leads to that error.
The second-last resort that gets probed is hostip which does support IPv6 and therefore is the best option for my setup anyway: I have an IPv6-only DDNS setup. I guess with an IPv4-only setup one does not run into this error.
I'll try to fix the script and/or the package's dependencies, but it might take a while.