To make a MongoDB Community cluster reachable by hostnames, you must configure a DNS server in VMware Cloud Director extension for Data Solutions.
How to configure a DNS server for a MongoDB Community instance
To deploy MongoDB Community instances with a service load balancer, you must configure hostnames for the replica nodes.
Procedure
Results
What to do next
Configure an upstream DNS server or a custom DNS server
To complete the configuration of hostnames for the replica nodes, you must configure the DNS server.