SRV records for JID
From: Alban Taraire <alban.taraire@xxxxxxxxx>
Date: Wed, 5 Mar 2008 07:32:15 +0100 (CET)
Hi all,

my XMPP server (ejabberd) is set so that its fqdn is given by a SRV request to 
the DNS server. So for example, I have the domain domain.com, and a SRV 
request for an XMPP service for this domain will return xmpp.domain.com.

This works pretty well with clients sur as pidgin. If I setup a user 
alban@xxxxxxxxxx, it will in fact be connected to my xmpp.domain.com server.

But if I create a Gloox JID then call setServer("domain.com"), create a gloox 
client and connect, it will fail with a ConnDnsError.

A quick look at a wireshark capture of the network stream shows that only the 
A record is requested for my domain. Is that the case, and therefore doesn't 
Gloox support SRV records ?

Thanks,

Alban