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

fix: increase TTLs for NODATA responses #59

Merged
merged 4 commits into from
Feb 25, 2025
Merged

fix: increase TTLs for NODATA responses #59

merged 4 commits into from
Feb 25, 2025

Conversation

lidel
Copy link
Contributor

@lidel lidel commented Feb 25, 2025

This PR aims to close #52 by:

  • increasing minimal TTL in SOA to 1 day (used for "record not found" scenarios
  • always returning valid TXT record from _acme-challenge subdomain with 10s TTL to ensure "not set yet" result is not cached for entire day

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
etnbrd Etienne Brodu
minimize the need for returning "NODATA-A/AAAA" responses
See: #52

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
this ensures we ALWAYS control TTL of ACME DNS-01 response
and keep it very low (10s here) to ensure "not set" response is not
cached for hours due to minimal TTL from SOA
@lidel lidel changed the title fix: increase NODATA TTLs fix: increase TTLs for NODATA responses Feb 25, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
if dynamodb starts returning empty strings, we want to see that
reflected in metrics
making sure we always return "empty" txt
@lidel lidel merged commit 46e30d6 into main Feb 25, 2025
4 checks passed
@lidel lidel deleted the fix-no-record-ttl branch February 25, 2025 18:05
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

Successfully merging this pull request may close these issues.

Decrease number of NODATA responses for A/AAAA
1 participant