I found these descriptions with regards to another app federating with Openfire and the name requirement:
Ensure that the XMPP domain (property xmpp.domain) is a FQDN that can be resolved via DNS on the Internet. This also needs to be the hostname of the machine running Openfire.
Ensure that the XMPP domain (property xmpp.domain) is a FQDN that can be resolved via DNS on the Internet. This also needs to be the hostname of the machine running Openfire.
With this what I believe we need is that the dns srv needs to resolve to the hostname of the Openfire server.
Sorry for necroposting, but can this be avoided somehow? We have two openfires here, and both servers have convenient names. Now i need an S2S, and it always ends with bunches of “Closing session due to incorrect hostname in stream header”. I guess that’s because hostnames differ from server names?