With the new Openfire Version (3.7.0) released in March. I noticed a change in the S2S (federation) integration and would like to share the tips to help the setup to be done by other XMPP System Admins.
To prevent connection issue among the Servers it is required the registration of the SRV records according to the example:
In the case of the domain minhaempresa.com.br and the jabber domain to be xmpp.minhaempresa.com.br the following records are required:
I've have faced this situation when migrating a customer server that was upgraded a from a previous version of Openfire. If you don't register the domain fixing SRV record, S2S functionallity will not work.
marcelo@hellboy:~$ dig srv _xmpp-server._tcp.minhaempresa.com.br
; <<>> DiG 9.7.3 <<>> srv _xmpp-server._tcp.minhaempresa.com.br
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11368
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;_xmpp-server._tcp.minhaempresa.com.br. IN SRV
;; ANSWER SECTION:
_xmpp-server._tcp.minhaempresa.com.br. 86297 IN SRV 0 1 5269 xmpp.minhaempresa.com.br.
;; Query time: 16 msec
;; SERVER: 22.214.171.124#53(126.96.36.199)
;; WHEN: Sun May 15 00:24:00 2011
;; MSG SIZE rcvd: 89
* This is an authorized translation from the Blog Mundo OpenSource written by Marcelo Terres. Especial thanks for the great and simple guide for setting up DNS SRV records required for an XMPP server.