Help Encrypt dnsChallenge Provider External Program

Hi,
I am interested also on setting this up, but cannot find too much information. What I am not sure is which is the input for the script to add the DNS record. I guess update-dns.sh also needs some parameters as input, right?