IllegalArgumentException: Must provide at least one InetAddress

We have this problem very popular now.

Stacktrace is here:

2017-04-06 Smack Crash on DNS dukgo.com · GitHub

This problem is reproduces on dukgo.com server.

Smack version:

smack-android-extensions:4.2.1-20170404.010458-5
smack-experimental:4.2.1-20170404.010520-5
smack-tcp:4.2.1-20170404.010559-5

I also used fixed AndroidUsingExec class you gave me earlier.

Here it is: xabber-android/AndroidUsingExec.java at 1.0.168 · redsolution/xabber-android · GitHub

That’s a SRV pointing to a CNAME which is invalid according to RFC 2782.