[jdev] Are you broken?

Peter Saint-Andre stpeter at stpeter.im
Thu Apr 14 18:37:34 UTC 2011


On 4/14/11 12:33 PM, Dave Cridland wrote:
> So, as an experiment, I changed by SRV records the other day - mostly to
> test our own handling.
> 
> I now have:
> 
> ;; ANSWER SECTION:
> _xmpp-server._tcp.dave.cridland.net. 86400 IN SRV 5 1 5269
> peirce-6.dave.cridland.net.
> _xmpp-server._tcp.dave.cridland.net. 86400 IN SRV 9 1 5269
> peirce-4.dave.cridland.net.
> 
> In layman's terms, that's "Try connecting to peirce-6, and if that
> fails, try peirce-4".
> 
> Predictably, these are IPv6 and IPv4 single-stack hostnames:
> 
> ;; ADDITIONAL SECTION:
> peirce-6.dave.cridland.net. 86400 IN    AAAA   
> 2001:470:1f09:882:2e0:81ff:fe29:d16a
> peirce-4.dave.cridland.net. 86400 IN    A    217.155.137.61
> 
> Actually the same host, as you can see:
> 
> peirce.dave.cridland.net. 86400    IN    A    217.155.137.61
> peirce.dave.cridland.net. 86400    IN    AAAA   
> 2001:470:1f09:882:2e0:81ff:fe29:d16a
> 
> So the question is, can anyone not "see" me?
> 
> An easy way to check is by discoing my server.
> 
> So far, I have found two server implementations that can no longer see me.
> 
> Dave.

I don't know that this is "broken" so much as "liberal in what you
accept". RFC 3920 was ambiguous on whether to fall back to A/AAAA
lookups if SRV failed, but leaned toward doing fallback even if SRV
failed. RFC 6120 is more strict in this regard.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6105 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20110414/78515a82/attachment.bin>


More information about the JDev mailing list