Hi,
How does the OpenLDAP client library handle multiple A records being returned for a DNS query for an LDAP server?
OpenLDAP doesn't alter hosts resolution behavior. As usual, the first address (A record) returned would be used.
That is to say, if "host ldap" returns 1.1.1.1, 2.2.2.2 and 3.3.3.3, will the OpenLDAP client library only connect to 1.1.1.1? If a connection to 1.1.1.1 fails, will it try 2.2.2.2 and then 3.3.3.3?
Basically we're trying to achieve redundant servers and load balancing using a round-robin-style DNS entry.
Tim Gustafson BSOE Webmaster UC Santa Cruz tjg@soe.ucsc.edu 831-459-5354