Skip to content

Commit

Permalink
docs: fix broken ENS DoH example (#9281)
Browse files Browse the repository at this point in the history
  • Loading branch information
eth-limo authored Sep 20, 2022
1 parent 32e9a69 commit 8e2bf82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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`

0 comments on commit 8e2bf82

Please sign in to comment.