(ITS#8376) Use getaddrinfo to resolve FQDN