libp2p / js-libp2p

The JavaScript Implementation of libp2p networking stack.
https://libp2p.io
Other
2.29k stars 438 forks source link

feat: support custom DNS resolvers #2435

Closed achingbrain closed 6 months ago

achingbrain commented 6 months ago

Adds a dns config key that lets users specify an instance of the DNS interface from @multiformats/dns.

This instance will be passed through to DNSADDR multiaddrs for use when the DNSLink TXT record is resolved.

Removes recursive DNSADDR resolution since this is now handled by @multiformats/multiaddr.

Change checklist

SgtPooki commented 6 months ago

related to https://github.com/ipfs/helia-verified-fetch/pull/13#issuecomment-1983944596