[jitsi-dev] Issue Report: DNS issue on LAN (1.1.4310.10045-x64)


#1

Hi Everyone,

I use Jitsi with a LAN XMPP server via OpenVPN.

When Win 7 awakes from sleep, before OpenVPN overrides the DNS settings,
Jitsi fails to resolve the name of my LAN XMPP server for obvious reason and isn't
able to connect even after OpenVPN is up because a public DNS server wouldn't be
able to resolve a local hostname.

I am a first time user and won't be taking the issue past this email, hopefully
this helps your project.

Thanks,
T.


#2

Hey T.

Hi Everyone,

I use Jitsi with a LAN XMPP server via OpenVPN.

When Win 7 awakes from sleep, before OpenVPN overrides the DNS settings,
Jitsi fails to resolve the name of my LAN XMPP server for obvious reason
and isn't
able to connect even after OpenVPN is up because a public DNS server
wouldn't be
able to resolve a local hostname.

So just to be clear: this only happens after standby? Do other
applications work?

Emil

···

On 06.11.12, 18:14, wrote:

I am a first time user and won't be taking the issue past this email,
hopefully this helps your project.

Thanks,
T.

--
https://jitsi.org


#3

(returning to the dev list so that everyone can follow)

Emil,

Yes and Yes. in fact MSN is also in Jitsi, and it connect instantly.
Local XMPP is reachable via ping, but Jitsi can't connect.
I changed "Start backup resolver" value to 30 seconds which solved the
issue, but this feels like a hack.

Aha! Well, that's actually exactly what you should do. Either that or
disable the secondary resolver. The thing is that as your VPN DNS server
does not immediately respond Jitsi tries to find an answer from a
secondary server, which says: that domain does not exist ... and Jitsi
stops.

So, you can either continue adding a delay, or you can add your internal
IP address to a public DNS.

Cheers,
Emil

···

On 07.11.12, 17:24, wrote:

T.

On 11/7/2012 4:58 PM, Emil Ivov wrote:

Hey T.

On 06.11.12, 18:14, wrote:

Hi Everyone,

I use Jitsi with a LAN XMPP server via OpenVPN.

When Win 7 awakes from sleep, before OpenVPN overrides the DNS settings,
Jitsi fails to resolve the name of my LAN XMPP server for obvious reason
and isn't
able to connect even after OpenVPN is up because a public DNS server
wouldn't be
able to resolve a local hostname.

So just to be clear: this only happens after standby? Do other
applications work?

Emil

I am a first time user and won't be taking the issue past this email,
hopefully this helps your project.

Thanks,
T.

--
https://jitsi.org


#4

Emil,

Still having issues.

UDP OpenVPN reacts to connectivity issues passively using ping within 60 seconds by default.
The 30 seconds Jitsi value doesn't do much because there could be no connectivity
but OpenVPN won't even attempt do re-connect for 60 seconds.

I disabled the plugin complete.

There are DNS issues even _without OpenVPN_ as of the Nov 9 version.
It takes 10 seconds to connect to my LAN XMPP server _with and without _DNS plugin.
When i replace the server hostname with the IP, it's instant.

T.

···

On 11/7/2012 6:10 PM, Emil Ivov wrote:

(returning to the dev list so that everyone can follow)

On 07.11.12, 17:24, wrote:

Emil,

Yes and Yes. in fact MSN is also in Jitsi, and it connect instantly.
Local XMPP is reachable via ping, but Jitsi can't connect.
I changed "Start backup resolver" value to 30 seconds which solved the
issue, but this feels like a hack.

Aha! Well, that's actually exactly what you should do. Either that or
disable the secondary resolver. The thing is that as your VPN DNS server
does not immediately respond Jitsi tries to find an answer from a
secondary server, which says: that domain does not exist ... and Jitsi
stops.

So, you can either continue adding a delay, or you can add your internal
IP address to a public DNS.

Cheers,
Emil

T.

On 11/7/2012 4:58 PM, Emil Ivov wrote:

Hey T.

On 06.11.12, 18:14, wrote:

Hi Everyone,

I use Jitsi with a LAN XMPP server via OpenVPN.

When Win 7 awakes from sleep, before OpenVPN overrides the DNS settings,
Jitsi fails to resolve the name of my LAN XMPP server for obvious reason
and isn't
able to connect even after OpenVPN is up because a public DNS server
wouldn't be
able to resolve a local hostname.

So just to be clear: this only happens after standby? Do other
applications work?

Emil

I am a first time user and won't be taking the issue past this email,
hopefully this helps your project.

Thanks,
T.