[jdev] Discovering the Federation.

Maciek Niedzielski machekku at uaznia.net
Tue Aug 29 22:24:51 CDT 2006

Daniel Noll wrote:
>> Instead of going to that mythical well-connected server (which really
>> can only be jabber.org in this context), I've got an idea for what
>> could be done first.  It's very client-intelligence-dependent but
>> makes sense to me.
>> 1. SRV query to the child domain to which the client computer belongs.
>>  e.g.  americas.hp.net or hsd1.ga.comcast.net.
>> 2. Recurse downwards till you canna recurse anymore, captain!
> Better not recurse forever, or you'll meet something called a spider trap:
>   query bogus1.example.com, tells you about bogus2.example.com
>   query bogus2.example.com, tells you about bogus3.example.com
>   ...

I thought the idea was:
if your full domain is: host1.some.network.example.com, then:
1. check if host1.some.network.example.com is a jabber server
2. else check if some.network.example.com is a jabber server
3. else check if network.example.com is a jabber server
4. else check if example.com is a jabber server

Maciek                       A: It's against natural order of reading.
  xmpp:machekku at uaznia.net   Q: Why is that?
  xmpp:machekku at chrome.pl   A: People answering above quoted text.
                           Q: What's the most annoying on newsgroups?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20060830/75846e88/attachment-0002.pgp>

More information about the JDev mailing list