How to fix a Tor relay picking the wrong IP address

If Tor detects the wrong IP address for your relay, you can correct it by checking your hostname settings or specifying the desired address in torrc.