Clean and testing getHostAddressByName()