added function to get a host's IP with easy alias