Better way to find host ip