Hook script for Let's Encrypt (dehydrated)

Hello, I created a small hook script for the bash based ACME/Let’s Encrypt client dehydrated.

The hooks script utilizes the dynv6.com REST API to deploy challenge-response tokens straight to your zone’s DNS records. By solving these DNS-01 challenges, you can prove that you control a given domain without deploying an HTTP response.

This is great for non-web services or certificates that are meant for use with internal services. Also, this gives you the possibility to create valid wild card certificates.

I welcome issues to and pull requests against the repo or any feedback :wink:

You can check it out at: https://github.com/movd/dynv6-dehydrated-hook

Thanks for providing the hook script.

I also managed to get it working for a wildcard certificate which includes
*.abc.dynv6.net and abc.dynv6.net

However, the dehydrated script sometimes fails because it could not solve the second challenge.
I can see two TXT records with the acme challenges are placed in the abc.dynv6.net zone.

Any idea why this happens?