On Tue, Nov 6, 2012 at 9:26 PM, R. Mattes <[email protected]> wrote: > But still: service discovery is optional. XMPP clients shouldn't stop > working when no server record is found. BTW, even if I'm online and > a real DNS server is available I'm pretty shure it won't find a > xmpp SRV record for localhost
It doesn't stop working when no SRV record is found. But when a DNS server to query is not found… uh… not sure, maybe it should stop working (or, as you've noticed, *retry*); for example, to avoid a situation where accidental timeout from DNS could mean connecting to a wrong server (an unlikely but possibly quite confusing occasion). > And why does the twisted.names code attempt to query a DNS server > on 127.0.0.1? Using 127.0.0.1/53 as a fallback seems like a really bad > idea .... Not *really* but yes, seems like a bad idea. Though I feel like there was some relevant reason, but can't remember >.> _______________________________________________ Twisted-Jabber mailing list [email protected] https://mailman.ik.nu/mailman/listinfo/twisted-jabber
