My recent topic might be helpful. In short, it runs a DNS server whose only purpose is to serve TXT records for Let's Encrypt domain validation, and which has an API that can (by way of a hook script that the author has also written) be made to work pretty smoothly with certbot.
2 Likes