Dont use DSO_global_lookup to use getaddrinfo and related functions.