We have a 3 node cluster of self managed mongo. Currently we have the cluster bindIps setup with internal DNS names. We have a service that is running in AWS that uses a VPN tunnel into the network. Lets say our internal IPs are
10.0.0.1
10.0.0.2
10.0.0.2
From AWS tunnel the IP is mapped using
10.4.1.1 maps to 10.0.0.1
10.4.1.2 maps to 10.0.0.2
10.4.1.3 maps to 10.0.0.3
When the app in AWS connects to mongod cluster it works at first but I am thinking that the cluster sends back information telling the app in aWS to use the DNS names. How do I setup the cluster to allow the mapping ips as well? The app doesn’t understand the dns names and needs to use the 10.4.x mappings