Running a dht node is as simple as installing the DHT cli.
npm i -g @hyperswarm/cli
Then to run the node do:
hyperswarm-dht
NOTE: If the above prints a warning that your network is NOT holepunchable, you might wanna look into opening port 49737.
That's it! You probably run to run the above command as a daemon so it get's decent uptime.
The DHT node will store IPs and ports from other users through an udp interface. The network is quite redundant so no worries if you shutdown your node or if it crashes :) It also shouldn't consume too much bandwidth as it's just simple small udp messages that exchanged when peers do discovery.
We might upgrade the command set in the future so it's a good idea to hang in #dat on freenode so we can share updates and you can give us feedback.
Leaving a comment here that you are running a node for a bit will help us in this early phase of the rollout also so we can stay in touch :)
New node running at
node id: 260bc18966282f7be31f403ded90ad8e922db98821154f8ae5d11a6118804097
athttp://dht.12core.net
.We might be killing the node from time to it should be stable at that URL though.