-
Notifications
You must be signed in to change notification settings - Fork 108
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(gateway): update DoH resolver for .crypto DNSLink #782
Conversation
Cloudflare decomissionned their resolver and started redirecting (HTTP 308) to https://dns.eth.link/dns-query which is an alias for eth.limo. That endpoint does not support resolving DNSLink of .crypto TLD and always returns no results. This change switched to DoH resolver provided by UD project. Closes #772
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #782 +/- ##
==========================================
+ Coverage 60.44% 60.54% +0.09%
==========================================
Files 245 245
Lines 31133 31133
==========================================
+ Hits 18818 18848 +30
+ Misses 10638 10615 -23
+ Partials 1677 1670 -7
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is green, merging to make the source of UD issues more obvious to users trying to resolve .crypto
.
This is provisional fix on our end to allow UD community to fix resolution themselves.
We will keep this status quo for 3-6 months – the future of implicit resolver will be discussed in #772 (comment)
commit from main branch that includes: ipfs/boxo#645 ipfs/boxo#782 ipfs/boxo#781
* fix(dns): update default DNSLink resolvers Depends on - ipfs/boxo#781 - ipfs/boxo#782 * chore: latest boxo main and go-doh-resolver v0.5.0 makes error message better, informing which URL failled * chore: p2p-forge v0.2.1+ this removes acmez/v2 and fixes go vet * chore: latest boxo with DoH fixes commit from main branch that includes: ipfs/boxo#645 ipfs/boxo#782 ipfs/boxo#781
* fix(dns): update default DNSLink resolvers Depends on - ipfs/boxo#781 - ipfs/boxo#782 * chore: latest boxo main and go-doh-resolver v0.5.0 makes error message better, informing which URL failled * chore: p2p-forge v0.2.1+ this removes acmez/v2 and fixes go vet * chore: latest boxo with DoH fixes commit from main branch that includes: ipfs/boxo#645 ipfs/boxo#782 ipfs/boxo#781 (cherry picked from commit b021a00)
Cloudflare decomissionned their resolver and started redirecting (HTTP 308) to https://dns.eth.link/dns-query which is an alias for eth.limo.
That endpoint does not support resolving DNSLink of
.crypto
TLD and always returns no results, effectively breaking those DNSLinks for everyone using them with IPFS systems.This change switches the default implicit DoH resolver of
.crypto
TLS to one provided by UD project, allowing their community to fix issue without involving a third-party.Allows UD community to fix resolution themselves – see #772