is host name to ip a one-to-one mapping? how can a host name have multiple ip addresses? according to Java's getAllByName, it returns a list of ips for a hostName, but its documentation seems to suggest otherwise or at least not explaining the one to many mapping:
The host name can either be a machine name, such as "java.sun.com", or a textual representation of its IP address.