[jdev] s2s lookup cascades

Norman Rasmussen norman at rasmussen.co.za
Tue Jul 4 07:21:46 CDT 2006


I remember reading about this somewhere before, so if you can find the
reference please post it:

What's the _preferred_ action to take when trying to establish an IP
address for a remote server while doing s2s dns lookups?

So eg:  looking up the server to send a message to
bob at department.example.com should result in:

SRV IN _xmpp-server._tcp.department.example.com
SRV IN _jabber._tcp.department.example.com (optional)
SRV IN _im._tcp.department.example.com (optional)
AAAA IN department.example.com (optional)
A IN department.example.com

then if those all fail do/should/must/may/shouldn't/mustn't we try:

SRV IN _xmpp-server._tcp.example.com
SRV IN _jabber._tcp.example.com (optional)
SRV IN _im._tcp.example.com (optional)
AAAA IN example.com (optional)
A IN example.com

and then:

SRV IN _xmpp-server._tcp.com
SRV IN _jabber._tcp.com (optional)
SRV IN _im._tcp.com (optional)
AAAA IN com (optional)
A IN com

Most jabber servers seem to give up and _not_ do the dns cascade, but
Wildfire seems to do the cascade DNS, generating lots of 'Failed to
lookup .de', or 'Failed to lookup .org' records in the log files.

ref: http://www.jivesoftware.org/community/thread.jspa?messageID=123998

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list