[jdev] How to handle SRV lookups when the root domain is referenced
Dave Cridland
dave at cridland.net
Tue May 2 16:05:45 CDT 2006
On Sun Apr 30 14:16:57 2006, Bruce Campbell wrote:
> Both of these documents also refer to DNS-SRV (rfc2781), which
> states that if the target of the sole (successful) SRV answer is
> the root domain ('.'), then 'abort'.
>
>
You mean RFC2782, which states that 'A Target of "." means that the
service is decidedly not available at the domain.' - later, in the
description of how to use SRV records, it merely says 'abort'.
This means your interpretation must be correct - sort of. The server
could lookup records in _simple.example.com, for instance, if it were
capable of gatewaying to SIMPLE, but no server to server XMPP service
is available.
Definitely it's wrong to resolve example.com and try randomly
connecting to it - not only wrong, but arguably illegal, since you've
been explicitly told there is no such service at the domain.
Dave.
--
You see things; and you say "Why?"
But I dream things that never were; and I say "Why not?"
- George Bernard Shaw
More information about the JDev
mailing list