Will prldap_init() do any DNS query?

"Xu, Qiang (FXSGSC)" <[email protected]> Wed, 17 Jun 2009 16:25:03 +0800
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <D8C9BC7FFCF8154FB7141EB8DB609C172E70B2AEE5@SGPAPHQ-EXSCC01.dc01.fujixerox.net>
Hi, all: 

I am just thinking of a question.

If the first parameter to be passed into prldap_init() is a hostname, when will DNS resolve it to IP address? Will DNS query happens in ldap_simple_bind_s() in case of simple binding, and in ldap_sasl_interactive_bind_ext_s() in case of sasl binding, or it just happens in prldap_init()?

Thanks,
Xu Qiang