InetAddress[] addresses = InetAddress.getAllByName(host.name);
int count = 0;
aliases = new Host[addresses.length];
for (InetAddress address : addresses) {
aliases[count++] = new Host(address.getHostAddress(), host.port);
}
}
catch (UnknownHostException uhe) {
throw new AerospikeException.Connection("Invalid host: " + host);
}