I am trying to create a Cassandra cluster. For node interaction on each node, I use a separate interface with an internal IP address, which is not accessible from the outside. In addition, each machine has an interface that has an external IP, visible from the outside.
A cluster works fine when a client can use internal addresses. But when I try to connect to node using an external address, the connection itself works, but the cluster is described to the client using internal addresses. As a result, the client fails because it cannot connect to Cassandra nodes using the reported internal addresses.
Is there a way to make the Cassandra cluster report the DNS names (or external IP addresses) of the nodes instead of their internal IP addresses?
source share