title: TIdTCPClient fails to resolve hostname multiple when not via primary DNS
body: <p>Using Delphi XE 10.2.3 and Indy 10.6.2.</p>
  <p>I have an application in which I use a TIdTCPClient, on a customer project we expirence some troubles using DNS name of the remote server.
  It appears as the TIdTCPClient only uses the default dns for the lookup, however at this customer the DNS server which &quot;holds&quot; the DNS name to resolve is on the third DNS on the network adapter.</p>
  <p>When,
  Using nslookup hostname(URL) it fails
  Using nslookup hostname(URL) dnsserver it works</p>
  <p>Pinging works whithout problem.</p>
  <p>So I guess that nslookup also only uses the primary DNS server, and maybe uses the secondary DNS if the primary (and so fourth) DNS server is unavailable.</p>
  <p>Is there some property in the TIdTCPClient I can set, to make it iterate and use all DNS specified on the server or do I need a different approach to resolve the hostname and connect the TIdTCPClient?
  I really don't want to put the name in the &quot;hosts&quot; file.</p>
  <p>Error from TIdTCPClient connect and status event.</p>
  <p>07:22:50 LARGE: ivDispatch status:Resolving hostname interviewalarmreceiver.corp.novocorp.net</p>
  <p>07:22:50 ERROR: SendLowLevelPackage(-310070) Socket Error # 11001
  Host not found.</p>