mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
Wildcard & Base Domain: Two TXTs #304
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @badfiles on GitHub (Mar 15, 2018).
This example became invalid since a wildcard request with base domain included needs two TXT records present at the same time.
https://community.letsencrypt.org/t/wildcard-base-domain-two-txts-timeout-problem/56105
@jobe1986 commented on GitHub (Mar 15, 2018):
That example is still perfectly valid. The hook script is called for EACH individual "token" value set for the TXT record, that example deletes only the TXT record with the supplied token value. So that example will be called once for each TXT record even if they are the same name.
I Currently use the nsupdate method with my setup for domain validations, and I have yet to have an issue with either TXT records remaining where they shouldn't or with TXT records being deleted when they shouldn't.
Example of the output from dehydrated when using my hook script (note the lines prefixed with ADD: and DEL: are from my hook script when it uses nsupdate to add or delete a TXT record):
@lukas2511 commented on GitHub (Mar 15, 2018):
I also don't see how that code would be invalid, it only deletes exactly what it should delete.