[JDEV] Jabber server redirection

Matthias Wimmer jabber at matthias-wimmer.de
Fri Feb 22 18:30:05 CST 2002

Hi Dave!

On Fri, Feb 22, 2002 at 03:33:49PM -0600, Dave Dykstra wrote:
> > It would be no problem to add that to gabber. The only thing is that SRV
> > records are only defined for s2s at the moment ... not for c2s.
> Ok, what would it take to define them?

A sort of an agreement ... a standard for that.

> Also, that still doesn't completely solve the problem, as Thomas Parslow
> pointed out; I think it would also take a couple more client changes.  The
> c2s SRV record in the DNS could allow a client to automatically discover
> its server name,

No ... you don't discover the server name. That you have to know already
to make the SRV request. The SRV record only gives priority, host and
port for the connection.
E.g. if _jabber._tcp.company.com directs you to im.company.com the
server name is company.com ... only the host it runs on is
We just would have to define the "prefix". Somethink like
BTW: Why are the services prefixed by an underscore?

> useful, although I wonder if something similar could be accomplished by
> having _jabber._tcp.company.com return different answers depending on which
> DNS server is queried (can a DNS server even do that?).

To my knowledge a DNS server always returns the same or nothing. But you
can have different nameservers for internal and external use and you can
have different ZONE files on them.

Tot kijk
phone: +49-700-77007770		web: http://matthias-wimmer.de/

More information about the JDev mailing list