2 points · by ijustdev · 6y ago · 1 comment
Since I've read that tor does not use a DNS like we know it from the clear web but "through a proxy" like Wikipedia says in their Tor article how is routing possible and how does the network know which server to register with which hash in their systems?
So the short answer is, it looks up the hash in the hidden services directory (iirc it's a distributed hash table of sorts): https://tor.stackexchange.com/questions/711/onion-domains-dn...
But what the heck is the hidden service directory?
This explains it better than I can at the moment: https://2019.www.torproject.org/docs/onion-services
As I understand it, Bob's tor software sets up entry points on the tor network, which don't know where Bob is, but know how to get to a circuit which can get to Bob, like regular Tor. Bob signs those entry points and publishes to the DHT. Alice's client asks the DHT for the entry points to the .onion hash. The entry points can then route Alice's traffic to Bob.
I hope someone can further unpack this :)