title: failed because: de.measite.minidns.hla.ResolutionUnsuccessfulException: Asking for xxxx. IN AAAA yielded an error response NX_DOMAIN
body: <p>After I upgraded smack to 4.2.0 I am getting connection issue.</p>
  
  <pre><code>The following addresses failed: 'xxxx:5222' failed because: 
  
  de.measite.minidns.hla.ResolutionUnsuccessfulException: Asking for xxxx.    IN  A yielded an error response NX_DOMAIN, '52.90.233.38:5222' failed because: de.measite.minidns.hla.ResolutionUnsuccessfulException: Asking for xxxx. IN  AAAA yielded an error response NX_DOMAIN
  </code></pre>
  
  <p>the issue happen when host is set in connection configuration builder.</p>
  
  <p>example :</p>
  
  <pre><code>.setHost(ServiceConstants.CHAT_SERVER)
  </code></pre>
  
  <p>See <a href="https://github.com/igniterealtime/Smack/wiki/Smack-4.2-Readme-and-Upgrade-Guide" rel="noreferrer">https://github.com/igniterealtime/Smack/wiki/Smack-4.2-Readme-and-Upgrade-Guide</a></p>
  
  <p>This is my final configuration, it worked after Davood Falahati help !</p>
  
  <pre><code>InetAddress inetAddress = InetAddress.getByName(ServiceConstants.CHAT_SERVER);
              XMPPTCPConnectionConfiguration.Builder builder = XMPPTCPConnectionConfiguration.builder()
                      .setXmppDomain(JidCreate.from(ServiceConstants.CHAT_SERVER).asDomainBareJid())
                      .setPort(5222)
                      .setHostAddress(inetAddress)
                      .setDebuggerEnabled(true)
                      .setSendPresence(true)
  </code></pre>