pub async fn resolver( fqdn: String, dns_tcp: bool, name_server: &String, ) -> Option<String>
Asynchronous function to resolve IP address from the ldap FQDN