set up hostname for relay