Replace IP with hostname everywhere