[ejabberd] problem with jabber servers

Sean Dilda sean at duke.edu
Thu May 8 23:30:43 MSD 2008


Peter Saint-Andre wrote:

> IMHO SRV records are never strictly required -- you can always fall back
> on an A or AAAA record lookup and try port 5269.
> 

I wish that were true, but there are some notable cases where that isn't 
the fact:

[sean at svartalfheim ~]$ telnet gmail.com 5269
Trying 64.233.161.83...

[sean at svartalfheim ~]$ host -t srv _xmpp-server._tcp.gmail.com
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 
xmpp-server3.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 
xmpp-server4.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 5 0 5269 
xmpp-server.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 
xmpp-server1.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 
xmpp-server2.l.google.com.
[sean at svartalfheim ~]$ telnet xmpp-server.l.google.com 5269
Trying 209.85.163.125...
Connected to xmpp-server.l.google.com (209.85.163.125).
Escape character is '^]'.


More information about the ejabberd mailing list