class EC2MultiRegion
This policy resolves private ips of the hosts in the same datacenter and public ips of hosts in other datacenters.
- Note
- Initializing this policy is not necessary, you should just pass
:ec_multi_regionto the:address_resolutionoption ofCassandra.cluster
Inherits
ObjectMethods
resolve
(address)Returns ip address after a double DNS lookup. First, it will get hostname from a given ip, then resolve the resulting hostname. This policy works because AWS public hostnames resolve to a private ip address within the same datacenter.