What is STUN used for?

In jami is stun not needed.
Because the dht do the same