4 ms·
We do use DNS, but we also have an option for node discovery that uses pkarr.org, which is using the bittorrent mainline DHT and therefore is fully decentralise
by rklaehn 1y ago
We do use DNS, but we also have an option for node discovery that uses pkarr.org, which is using the bittorrent mainline DHT and therefore is fully decentralised.
And, as somebody else remarked, the ticket contains the direct IP addresses for the case where the two nodes are either in the same private subnet or publicly reachable. It also contains the relay URL of the listener, so as long as the listener remains in the same geographic region, dumbpipe won't have to use node discovery at all even if the listener ip changes or is behind a NAT.
- kiitos 1y agowe also have an option for node discovery that uses pkarr.org, which is using the bittorrent mainline DHT and therefore is fully decentralised if users access that bittorrent mainline DHT thru a third party server then it's obviously not decentralized, right? that server is the central point to which clients delegate trust
- rklaehn 1y agoYou can enable direct lookup and publishing on mainline. See https://docs.rs/iroh/latest/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html https://docs.rs/iroh/latest/iroh/discovery/pkarr/dht/struct.... If you use this discovery mechanism the iroh node will directly publish to and resolve from the DHT.