From 5518e1a21453ea185c7b2bc31590dcaebb1cd1d3 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 8 Jan 2025 20:56:08 +0100 Subject: [PATCH] fix(gateway): update DoH resolver for .eth DNSLink (#781) 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 <11790789+gammazero@users.noreply.github.com> --- 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", }