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:
- _jabber._tcp.xmpp.minhaempresa.com.br
- _jabber._tcp.minhaempresa.com.br
- _xmpp-server._tcp.xmpp.minhaempresa.com.br
- _xmpp-server._tcp.minhaempresa.com.br
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: 200.175.5.139#53(200.175.5.139)
;; 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.