I'm setting up a MongoDB replica set. The hostnames are all specified in the /etc/hosts file on all of the replica set members ("mongo1", "mongo2" and "mongo3"). These DNS names are only defined on the replica set members.
Clients connect to the replica set via other hostnames (the Amazon EC2 hostname) that point to the same machines.
Question: Is there any need for clients to be able to resolve the replica set hostnames, since they don't use these to establish a connection?