Replace IP address with hostname