XMPP Federation and ejabberd
Lots of complaints are floating around the ‘net of problems with ejabberd federation and Google Talk. I finally solved my problem: IPv6 configuration.
To enable federation using DNS SRV records (as any XMPP admin should), you have to load DNS settings into Erlang. With ejabberd, this can be accomplished by the creation of /etc/ejabberd/inetrc with the following line:
{file, resolv, "/etc/resolv.conf"}.
Then add -kernel inetrc "/etc/ejabberd/inetrc" to the ejabberd command-line. However, if your resolve.conf only contains an IPv6 name server, like mine, you’ll want to create a separate file with an IPv4 server. I named the file /etc/resolve-v4.conf, and added a single IPv4 name server. Finally, I can add Google Talk users!
About This Entry
You’re currently reading “XMPP Federation and ejabberd,” an entry on The Postmodernist
- Posted by:
- Aaron J at
30.05.2010 / 18:01
Last updated 07.09.2010
- Category:
- XMPP


No comments
Jump to comment form | Comments RSS | Trackback specific URI for this entry