After a while, a build-up of `_acme_challenge` records accumulates.
mhogerheijde opened this issue · comments
When using this hook for a while, it seems that I've got a build up of old _acme_challenge
records.
Could we add the option of removing all of them before setting a new one?
I'm sorry for the late reply (missed the notification somehow). Is this still an ongoing issue? In an older version the clean-up hook used to remove all _acme-challenge
records it finds but I later changed that to remove only the specific records it creates. If the clean-up hook for some reason fails or isn't called at all the records will not be removed.
The later versions of this script also generate a log file in /var/log/certbot-transip-dns-01.log
or the directory where the script is located. It's also recommended to check the logs of letsencrypt /var/log/letsencrypt/letsencrypt.log
for more info.
I must admit that I haven't checked in a while 🙈. I also didn't try newer versions, so I'll try the newest version and if records still accumulate, I'll get back to you :)