mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
docs: fix broken ENS DoH example (#9281)
This commit is contained in:
parent
32e9a6988b
commit
8e2bf82f97
@ -9,7 +9,7 @@ type DNS struct {
|
||||
// https://en.wikipedia.org/wiki/DNS_over_HTTPS
|
||||
//
|
||||
// Example:
|
||||
// - Custom resolver for ENS: `eth.` → `https://eth.link/dns-query`
|
||||
// - Custom resolver for ENS: `eth.` → `https://dns.eth.limo/dns-query`
|
||||
// - Override the default OS resolver: `.` → `https://doh.applied-privacy.net/query`
|
||||
Resolvers map[string]string
|
||||
// MaxCacheTTL is the maximum duration DNS entries are valid in the cache.
|
||||
|
||||
@ -1928,7 +1928,7 @@ Example:
|
||||
{
|
||||
"DNS": {
|
||||
"Resolvers": {
|
||||
"eth.": "https://eth.link/dns-query",
|
||||
"eth.": "https://dns.eth.limo/dns-query",
|
||||
"crypto.": "https://resolver.unstoppable.io/dns-query",
|
||||
"libre.": "https://ns1.iriseden.fr/dns-query",
|
||||
".": "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
|
||||
|
||||
Default: Respect DNS Response TTL
|
||||
|
||||
Type: `optionalDuration`
|
||||
Type: `optionalDuration`
|
||||
Loading…
Reference in New Issue
Block a user