Thank you for your reply and your great work. I really appreciate it.
The issue unfortunately isn't with automation, but failed validation due to connectivity.
As I mentioned several times above (you're forgiven for not reading the whole long thread), after I received every new token, I updated the zone file and re-loded the server. Then I verified via a third-party, remote server that the record was accessible, and the token was correct. Only then did I renew.
Token received
Zone record created
Server reloaded
Token viewed from remote, third party server: connectivity and accuracy confirmed
Certificate renewal requested
Token failed to be verified by LE due to connection issues
Automation does not solve the underlying problem.
Like I said earlier, I will temporarily remove all connection limitations for both source IPs and connection frequency, next time I renew. I have to believe that will solve the issue.
I'm just sorry that there is not currently an easier solution, like:
(DNS changes may take some time and if we do not find the record immediately, we will check for it periodically.)
Which would solve my issue because after-all, I was able to get every token validated eventually. So it wasn't a permanent issue. It just stinks that I had to repeat the process every time a token was not validated, when in a perfect world…
(…if we do not find the record immediately, we will check for it periodically.)
Sorry, I think my broken record is beating a dead horse.
Thank you again for your consideration and your great work. I am a LE fan.
Edit: I setup nsupdate on my dns server and changed the authentication method for the acme client to DNS_NSUPDATE.
Now it's your turn to add periodic checks if you don't find the record immediately. 