-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Command for resolving DNSaddr #8487
Copy link
Copy link
Open
Labels
kind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featureneed/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
Milestone
Metadata
Metadata
Assignees
Labels
kind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featureneed/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritization
dnsaddr is a protocol that instructs the resolver to lookup multiaddr(s) in DNS TXT records for the domain name in it's value section.
Current state
ipfs dnswhich resolves DNSLink/dnsaddr/addresses.ipfs swarm connect /dnsaddr/foooworks, but requires online mode and then trying to analyzeipfs swarm peerslist is a guessing game will only show a subset of addrs that are actively utilized.Proposed enhancement
We are missing a utility command for resolving
/dnsaddr/example.comand getting the list of multiaddrs published as TXT records on_dnsaddr.example.comDesign TBD, could be a dedicated command, or just like with DNSLink, we could collapse it into
ipfs resolve.Value to the ecosystem
This would be highly useful in browser and other contexts where DHT is not fast enough.
For example, gateways could announce own peers and links to public gateway could trigger DNSaddr resolution and act as an opportunistic content routing hint.