Commit Graph

11 Commits

Author SHA1 Message Date
Laurent Senta
8d549f03f3 fix: rewrite dependencies over the go-ipfs-config package 2022-03-04 09:45:16 +01:00
Thibault Meunier
a93907a40f
feat: DNS.MaxCacheTTL for DNS-over-HTTPS resolvers (#8615)
* feat: Add MaxCacheTTL option for DNS-over-HTTPS resolvers
* Update libp2p/go-doh-resolver dependencies to support Options
* feat: Add `DNS.MaxCacheTTL` config documentation
* docs: DNS.MaxCacheTTL
* chore: go-ipfs-config@v0.19.0
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-02-10 22:26:14 +01:00
Dimitris Apostolou
0c2f9d5950
Fix typos (#8548) 2021-11-17 21:16:06 +01:00
vyzo
664c66c3f3 undo dns neutering from offline mode 2021-05-10 21:04:57 -07:00
vyzo
0b4037c7cd allow overriding implicit defaults with the default resolver
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2021-05-10 21:04:57 -07:00
vyzo
77d6a08598 better handling of implicit defaults, reuse resolver object for the same URL 2021-05-10 21:04:57 -07:00
vyzo
b8eb1bbd5b the dot is not really an FQDN 2021-05-10 21:04:57 -07:00
vyzo
531e9c137d use NilDNSResolver for offline operation 2021-05-10 21:04:57 -07:00
vyzo
0ef2f8c9ea update resolver config parsing, add eth. resolver by default 2021-05-10 21:04:57 -07:00
vyzo
b6a1ba9617 create custom resolvers from config 2021-05-10 21:04:57 -07:00
vyzo
543c5da34a explicit construction of DNS resolver 2021-05-10 21:03:27 -07:00