Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup old DNS TXT records #2037

Closed
klamann opened this issue Jan 17, 2019 · 2 comments
Closed

Cleanup old DNS TXT records #2037

klamann opened this issue Jan 17, 2019 · 2 comments

Comments

@klamann
Copy link

klamann commented Jan 17, 2019

I recently stumbled upon an issue where due to a number of failed ACME challenges, several DNS TXT records have been set by acme.sh through the API of my DNS provider, but they were never deleted.

The DNS records were set by the dns_dynu.sh plugin, but because dynu.com has a pretty low limit for the number of DNS records that can be set, further requests to their API failed with a "Quota Exception" message.

Can we change the challenge-response process in a way that the TXT records set through one of the dnsapi plugins are always removed, even if the request fails and no certificate is issued? Or maybe check that all TXT records that have been set in a previous session have actually been deleted, when a new certificate is requested? That way we can make sure that old records don't pile up, even if the process is is terminated right after the TXT records have been set.

@Neilpang
Copy link
Member

please try again.

@JMC-PK
Copy link

JMC-PK commented Aug 8, 2019

@Neilpang Id like to say that this is still occurring on 2.8.2.

I frequently have old empty text records when using the dns api with GoDaddy.

Since they are empty, it is partially cleaning up and I know which are safe to delete manually, but it should remove the whole record itself.

Screen Shot 2019-08-08 at 10 52 16 AM
Screen Shot 2019-08-08 at 10 52 31 AM

These were created last week with v2.8.2 when I removed the old empties and reissued some certs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants