docs: fix broken ENS DoH example (#9281)
eth-limo committed
Sep 20, 2022 at 18:37 UTC
8e2bf82f971902bafc49db5526792d2e9edafaf8
2 files changed
+3
-3
config/dns.go
+1
-1
@@ -9,7 +9,7 @@ type DNS struct {
9
// https://en.wikipedia.org/wiki/DNS_over_HTTPS
10
//
11
// Example:
12
- // - Custom resolver for ENS: `eth.` → `https://eth.link/dns-query`
12
+ // - Custom resolver for ENS: `eth.` → `https://dns.eth.limo/dns-query`
13
// - Override the default OS resolver: `.` → `https://doh.applied-privacy.net/query`
14
Resolvers map[string]string
15
// MaxCacheTTL is the maximum duration DNS entries are valid in the cache.
docs/config.md
+2
-2
@@ -1928,7 +1928,7 @@ Example:
1928
{
1929
"DNS": {
1930
"Resolvers": {
1931
- "eth.": "https://eth.link/dns-query",
1931
+ "eth.": "https://dns.eth.limo/dns-query",
1932
"crypto.": "https://resolver.unstoppable.io/dns-query",
1933
"libre.": "https://ns1.iriseden.fr/dns-query",
1934
".": "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
1968
1969
Default: Respect DNS Response TTL
1970
1971
-Type: `optionalDuration`
1971
+Type: `optionalDuration`
\ No newline at end of file