DNS resolver does not resolve CNAME-based DKIM records #3
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
turscar/dkim2#3
Loading…
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?
Having some issues with a CNAME based record and large responses.
CNAME handling: Is support planned for following CNAMEs when resolving TXT records, such as protonmail._domainkey.proton.me., where the TXT record exists at the CNAME target?
No hardcoded UDP: Is support planned for selecting the appropriate DNS transport and retrying over TCP when a UDP response is truncated or too large?
We tried a custom dns resolver as a workaround which successfully resolved the problematic record that was both under a CNAME and had a large response. Could probably replace the current solution using miekg/dns.
(from Raademar https://github.com/turscar/dkim2/issues/3)
I already have a TODO to migrate the default resolver to using net.Resolver, which should resolve these issues. (The existing miekg resolver is as much a demo as anything else).