title: Java Httpurlconnection DNS resolution with multiple IP addresses
body: <p>I'm using Java's HttpUrlConnection to hit foo.com</p>
  
  <p>foo.com has multiple A-Records that point to different IP addresses (1.1.1.1 and 1.1.1.2)</p>
  
  <p>If my first connect call resolves to 1.1.1.1, but then that machine goes down, will a subsequent connect call recognize this and try to connect on 1.1.1.2 instead?  </p>
  
  <p>Or do I need to implement this sort of logic myself using the INetAddress api? </p>