Spark from SVN cannot register to openfire 3.6.4 using DNS SRV

What works

Spark 2.5.8 logging into openfire 3.6.4 fine with DNS SRV records

Spark SVN HEAD logging into openfire 3.6.4 without DNS SRV records

What doesn’t work

Spark SVN HEAD logging into openfire 3.6.4 with DNS SRV records

Can anyone confirm my findings in case my setup is bad? I have wireshark packet captures if someone is interested.

My theory is there might be a regression in smack library.

Slight correction

What works

Spark SVN HEAD logging into openfire 3.6.4 with DNS SRV records if XMPP Domain is FQDN
Example:

XMPP Domain = hostname.example.org
DNS SRV Record
_xmpp-client._tcp.hostname.example.org. 10 0 5222 hostname.example.org
_xmpp-server._tcp.hostname.example.org. 10 0 5269 hostname.example.org

What doesn’t work

Spark SVN HEAD logging into openfire 3.6.4 with DNS SRV records if XMPP Domain is NOT FQDN

Example:

XMPP Domain = example.org
DNS SRV Record
_xmpp-client._tcp.example.org. 10 0 5222 hostname.example.org
_xmpp-server._tcp.example.org. 10 0 5269 hostname.example.org

We are still having issues with this. Can anyone confirm that spark works with SRV. It’s possible this is in the smack library because “beem” on android seems to have same trouble.

Only information I found on this was this issue which was fixed long ago, however this is now not working for us.

http://issues.igniterealtime.org/browse/SMACK-225

Again, this used to work now it is not.