xmpp auto discovery

Google will tell you to add server records. However, not all clients work with just these, specifically Adium fails.

_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 alt1.xmpp-server.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 alt2.xmpp-server.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 alt3.xmpp-server.l.google.com.
_xmpp-server._tcp.gmail.com. IN SRV 20 0 5269 alt4.xmpp-server.l.google.com.


To fix this, add client records as well.

_xmpp-client._tcp.yourdomain.com. IN SRV 5 0 5222 xmpp-server.l.google.com.
_xmpp-client._tcp.yourdomain.com. IN SRV 20 0 5222 xmpp-server1.l.google.com.
_xmpp-client._tcp.yourdomain.com. IN SRV 20 0 5222 xmpp-server2.l.google.com.
_xmpp-client._tcp.yourdomain.com. IN SRV 20 0 5222 xmpp-server3.l.google.com.
_xmpp-client._tcp.yourdomain.com. IN SRV 20 0 5222 xmpp-server4.l.google.com.


Source:
Seems pidgin (and the app that use the libs they provide) does a SRV lookup for _xmpp-client._tcp.yourdomain.com. It appears that if you add the following DNS records to your zone, you should start working..

Comments