I've set Jitsi up on 40 PCs so far without (mostly) issues. But for 3 PCs we are having issues where Jitsi will not connect to the server.
I've attached 3 captures using wireshark for DNS traffic when loading up Jitsi (I flushed DNS cache on local pc before each capture). The issue is with "OtherPC"
MyPC2-BackupResolverEnabled.pcapng
My PC (165.245.158.170) queries our internal DNS server (165.245.147.151) for the Host (A) record for backup-resolver.jitsi.net and receives response (8.8.8.8 & 8.8.4.4)
My PC (165.245.158.170) queries our internal DNS server (165.245.147.151) for the SRV record for ssdcservices.com and connects to the resultant openfire server (165.245.147.163)
Result: Successfully connects to our openfire server hosted on 165.245.147.163
OtherPC2-BackupResolverEnabled.pcapng
Other PC (165.245.158.209) queries our internal DNS server (165.245.147.151) for the Host (A) record for backup-resolver.jitsi.net and receives response (8.8.8.8 & 8.8.4.4)
Other PC (165.245.158.209) queries an IP address that does not exist on our network (10.0.1.1) for SRV record for ssdcservices.com and does not get a response (because 10.0.1.1 does not exist)
Other PC (165.245.158.209) queries the Jitsi backup resolver DNS (8.8.4.4) for the SRV record for ssdcservices.com and gets "no such name" response
Other PC (165.245.158.209) queries 10.1.1 and 8.8.4.4 for the Host (A) record for ssdcservices.com and gets a result (207.243.17.83)
Other PC (165.245.158.209) Jitsi tries to connect to 207.243.17.83 and fails the connection (because there is not an XMPP server running on this server)
Other PC (165.245.158.209) queries our internal DNS server (165.245.147.151) for the SRV record for ssdcservices.com gets the resultant openfire server (165.245.147.163) but does not try to connect.
Result: Never connects to our openfire server hosted on 165.245.147.163
OtherPC2-BackupResolverDisabled.pcapng
Other PC (165.245.158.209) queries an IP address that does not exist on our network (10.0.1.1) for SRV record for ssdcservices.com and does not get a response (because 10.0.1.1 does not exist)
Other PC (165.245.158.209) queries our internal DNS server (165.245.147.151) for the SRV record for ssdcservices.com and connects to the resultant openfire server (165.245.147.163)
Result: Successfully connects to our openfire server hosted on 165.245.147.163
Okay, I've done some more testing.... I did not flush the dns cache on the local client pc before running this wireshark capture. I merely set the Advanced --> DNS --> Start backup resolver after --> 20,000 ms (20seconds).
Result? I get connected while keeping Jitsi parallel dns resolving enabled, but it takes a REALLY long time to connect to the openfire server. It is like this:
Gets FQDN of openfire server ===wait 10 seconds===>> lookup IPv4 address ===wait 10 seconds===>> lookup IPv6 address ===>> instantly connect to IPv4 address of openfire
OtherPC2-BackupResolverEnabled20secTimeout.pcapng
Other PC (165.245.158.209) queries an IP address that does not exist on our network (10.0.1.1) for SRV record for ssdcservices.com and does not get a response (because 10.0.1.1 does not exist)
Other PC (165.245.158.209) queries our internal DNS server (165.245.147.151) for the SRV record for ssdcservices.com and gets FQDN of openfire server as response (ssdcappp01.ssdcdsi.com)
10 seconds later, Other PC (165.245.158.209) queries our internal DNS server (165.245.147.151) for the Host (A) record of the FQDN of openfire server (ssdcappp01.ssdcdsi.com) and gets response (165.245.147.163)
10 seconds later, Other PC (165.245.158.209) queries our internal DNS server (165.245.147.151) for the Host (AAA) record of the FQDN of openfire server (ssdcappp01.ssdcdsi.com) and gets response (IPv6 address) and then successfully connects to our openfire IPv4 address (165.245.147.163)!
Result: Successfully connects to our openfire server hosted on 165.245.147.163
It is very strange the exact 10 second wait between DNS queries. Our internal DNS server is responding to the queries under 1000ms. What is most strange is my PC is trying to query 10.0.1.1 for the SRV record. I ran a wireshark capture for 10 minutes and surfed the web and did other activities and there was NO TRAFFIC between "OtherPC" and 10.0.1.1. Only when I opened up Jitsi did it try to query it. Again, we don't even had this 10.0.1.1 subnet on our network.
Conclusion: Our workaround will be to disable parallel DNS resolving in Jitsi as we do not need it anyway.
Aaron Dixon | IT Specialist | SSDC Services
OtherPC-2014-03-29@17.37.26-logs.zip (37 KB)
MyPC-2014-03-29@17.31.59-logs.zip (33.3 KB)
OtherPC-20secondtimeout-2014-03-29@18.52.17-logs.zip (13.4 KB)
OtherPC2-BackupResolverDisabled.pcapng (4.93 KB)
OtherPC2-BackupResolverEnabled20secTimeout.pcapng (4.38 KB)
OtherPC2-BackupResolverEnabled.pcapng (8.3 KB)
MyPC2-BackupResolverEnabled.pcapng (6.13 KB)
···
Office: 248-277-9304 | Cell: 248-935-7353 | aaron.dixon@ssdcservices.com<mailto:aaron.dixon@ssdcservices.com>