Enabling Jabber Federated Chat to my Domain

I would like to have integrated chat services on my domain. Users can connect via any Jabber-able client and interact with friends on other messaging networks (AIM, Yahoo, MSN, IRC, etc.). How? Well, I have already married a number of sub-domains to my Google Apps account (calendar, email, etc.) and that’s working awesome. Now for chat.forsbergville.com. At first I thought I would install a Jabber server on my host. Then I realized that Google Talk may be able to do the leg-work for me. I can marry chat to Google Talk now, but Google Talk is under-populated and I want those other networks.

Enter the process of federation. Google Apps Admin Help tells me that:

From: How can my users chat outside the Google network? – Google Apps Help

How can my users chat outside the Google network?
Print

Google makes it possible for your users to chat with people using other messaging services through a process known as federation. Go to Google Talk and open communications to learn more about federation and who we’re federating with.

While we’re federating with a number of other services, some services aren’t currently accessible through the Google Talk network, and your users won’t be able to chat with users of those services.

If you’d like your users to have the ability to chat with people connected to the Google Talk network through federated networks, you’ll need to edit your Service (SRV) records. You don’t need to edit your SRV records for your users to chat with other Google Apps and Gmail users. SRV records are managed by your domain host. We suggest contacting your domain host to find out if you have access to SRV records and how you can make modifications.

When you enter the following information, make sure to replace gmail.com with your domain. Don’t replace google.com.

_xmpp-server._tcp.gmail.com. IN SRV 5 0 5269 xmpp-server.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server1.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server2.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server3.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server4.l.google.com.
_jabber._tcp.gmail.com. IN SRV 5 0 5269 xmpp-server.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server1.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server2.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server3.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server4.l.google.com.

Because there are many different domain hosts offering varying options for SRV records, we recommend contacting your domain host directly for assistance. This includes entering the SRV record data, assigning protocols and weights, and other configuration questions. Some domain hosts will allow you to copy and paste the information above exactly as it’s offered while other domain hosts require granular data entry.

I use GoDaddy to host both my webserver and domain. This trick is exclusively involving the domain. So here you go:

How to Enable Messaging Federation on your GoDaddy Hosted Domain

1. Copy this code snippet to your favorite plain-text editor:

_xmpp-server._tcp.gmail.com. IN SRV 5 0 5269 xmpp-server.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server1.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server2.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server3.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server4.l.google.com.
_jabber._tcp.gmail.com. IN SRV 5 0 5269 xmpp-server.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server1.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server2.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server3.l.google.com.
_jabber._tcp.gmail.com. IN SRV 20 0 5269 xmpp-server4.l.google.com.

2. Per Google’s instruction in the cited quotation above, change the “gmail” bits to your domain (Important to leave the “google” parts intact).

3. Save the file as a plain-text file.

4. Login to GoDaddy, get to your domain’s Domain Management area, click “Import” and import the file.

5. Bask in your glory:

srv.png

Imported SRV settings for Federated chat

Category: Site News, Technology  Tags: , ,
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>