From e90e6bdc86b10b56c9f6ee7ef844bd3d54c64c67 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 7 Jan 2025 16:00:45 +0100 Subject: [PATCH] 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 --- CHANGELOG.md | 2 ++ gateway/dns.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa46c5b84..964a587ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/gateway/dns.go b/gateway/dns.go index 376c42669..b49ce3be6 100644 --- a/gateway/dns.go +++ b/gateway/dns.go @@ -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", }