Skip to content

Commit

Permalink
fix(gateway): update DoH resolver for .eth DNSLink (#781)
Browse files Browse the repository at this point in the history
fix(gateway): update DoH resolver for .eth

Cloudflare decomissionned their resolver and started redirecting
(HTTP 308) to https://dns.eth.link/dns-query which is an alias for
eth.limo.

We change default to https://dns.eth.limo/dns-query
to avoid redirects and cache splitting.

Closes #771

Co-authored-by: Andrew Gillis <[email protected]>
  • Loading branch information
lidel and gammazero authored Jan 8, 2025
1 parent 13869e2 commit 5518e1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ The following emojis are used to highlight certain changes:

### Changed

- `gateway` The default DNSLink resolver for `.eth` TLD changed to `https://dns.eth.limo/dns-query` [#781](https://github.com/ipfs/boxo/pull/781)

### Removed

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion gateway/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

var defaultResolvers = map[string]string{
"eth.": "https://resolver.cloudflare-eth.com/dns-query",
"eth.": "https://dns.eth.limo/dns-query",
"crypto.": "https://resolver.cloudflare-eth.com/dns-query",
}

Expand Down

0 comments on commit 5518e1a

Please sign in to comment.