mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[PR #374] fix(dns): return NODATA instead of NXDOMAIN when a name exists with a… #396
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#396
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?
📋 Pull Request Information
Original PR: https://github.com/acme-dns/acme-dns/pull/374
Author: @lbauer13
Created: 2/19/2025
Status: 🔄 Open
Base:
master← Head:fix/nxdomain📝 Commits (2)
d692267fix(dns): return NODATA instead of NXDOMAIN when a name exists with another type27a8770test: dns rcodes for authoritative names with and without answer📊 Changes
2 files changed (+61 additions, -11 deletions)
View changed files
📝
dns.go(+22 -8)📝
dns_test.go(+39 -3)📄 Description
Return NODATA instead of NXDOMAIN when a name exists with another type
Should fix https://github.com/joohoi/acme-dns/issues/373
When a TXT exists for a given name but a resolver queries another type, acme-dns will now return NODATA to prevent the resolver from caching a negative response for further TXT queries.
It still returns NXDOMAIN if the name does not exist at all.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.