Skip to content

Commit 8e2bf82

Browse files
authored
docs: fix broken ENS DoH example (#9281)
1 parent 32e9a69 commit 8e2bf82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/dns.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type DNS struct {
99
// https://en.wikipedia.org/wiki/DNS_over_HTTPS
1010
//
1111
// Example:
12-
// - Custom resolver for ENS: `eth.` → `https://eth.link/dns-query`
12+
// - Custom resolver for ENS: `eth.` → `https://dns.eth.limo/dns-query`
1313
// - Override the default OS resolver: `.` → `https://doh.applied-privacy.net/query`
1414
Resolvers map[string]string
1515
// MaxCacheTTL is the maximum duration DNS entries are valid in the cache.

docs/config.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@ Example:
19281928
{
19291929
"DNS": {
19301930
"Resolvers": {
1931-
"eth.": "https://eth.link/dns-query",
1931+
"eth.": "https://dns.eth.limo/dns-query",
19321932
"crypto.": "https://resolver.unstoppable.io/dns-query",
19331933
"libre.": "https://ns1.iriseden.fr/dns-query",
19341934
".": "https://cloudflare-dns.com/dns-query"
@@ -1968,4 +1968,4 @@ Note: this does NOT work with Go's default DNS resolver. To make this a global s
19681968

19691969
Default: Respect DNS Response TTL
19701970

1971-
Type: `optionalDuration`
1971+
Type: `optionalDuration`

0 commit comments

Comments
 (0)