Use hostname instead of ip