mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[GH-ISSUE #257] acme-dns returns NXDOMAIN for A records of existing subdomains rather than NOERROR with empty answer #129
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @wiene on GitHub (Feb 18, 2021).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/257
If acme-dns is accidentally asked for an A record rather than a TXT record of an existing subdomain, it returns NXDOMAIN which might be cached for one day (due to SOA settings). If it is cached, the caching server keeps responding NXDOMAIN even if the initial error is corrected and the corresponding TXT record is requested.
A simple (pseudo-)reproducer is:
According to this blog article returning NOERROR with an empty answer would be the correct behaviour.
@Yannik commented on GitHub (Jun 8, 2021):
Can confirm this issue.
@Yannik commented on GitHub (Jun 9, 2021):
I opened a PR to fix this: https://github.com/joohoi/acme-dns/pull/264
@L3Nerd commented on GitHub (Dec 7, 2021):
We ran into the same problem, do you need any help with the fix?
@Yannik commented on GitHub (Dec 7, 2021):
@L3Nerd My fix works perfectly fine, but @joohoi isn't really active on this project anymore and did not merge it (yet).
@Yannik commented on GitHub (Dec 7, 2021):
Feel free to use it :-)