Added better lookup of external ip