Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 7 Apr 2010 00:59:08 -0700 Message-ID: <201004070959.09215.hhund@...194...> In-Reply-To: References: From: "Heiko Hund" Subject: Re: [Openvpn-devel] DNS problems with openvpn 2.1 on Windows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: openvpn-devel@lists.sourceforge.net Re: [Openvpn-devel] DNS problems with openvpn 2.1 on Windows

Hi,

On Tuesday 06 April 2010 22:36:31 Johan Ymerson wrote:
> I have tested on 3 PC's with Windows XP, all 3 show= the same problem, at
> almost 100% of my connection attempts. OpenVPN 2.0.= 9 does not have this
> issue (ie. reverting back to 2.0.9 on the same mach= ines with the same
> config never show the problem).

We also tried 2.0.9 but were able to reproduce the bug wi= th it as well, so it
has nothing to do with the openvpn driver version involv= ed. I came to the
conclusion that it's rather some kind of race condition = in the Windows XP DNS
resolver. At least I haven't seen this problem on Vista = or 7 personally.
 
> Is this problem known, and is someone working on it= ?
> I can of course help debugging this, but I don't ha= ve the development
> environment needed to compile the Windows binaries.=

Not much to debug anyway. The DNS servers get passed corr= ectly via DHCP and
Windows actually takes notice of them as they show up in= `ipconfig /all`.
Problem is that XP resolver somehow forgets to repriorit= ize the DNS servers
list after an DHCP update sometimes and sticks with the = old preferred name
server until the scheduled reprioritization. At least th= at's my personal
conclusion. And it would explain why a /renew fixes it.<= /FONT>

We've contacted Microsoft tech support about this issue. = If anything like a
fix comes out of that I'll post an update here. If not w= e'll have to consider
a workaround of some kind, but let's wait with that disc= ussion until we're
sure it's not fixable the right way.

Regards
Heiko
--
Heiko Hund | Software Engineer | Phone +49-721-25516-237= | Fax -200
Astaro AG | An der RaumFabrik 33a | 76227 Karlsruhe | Ge= rmany

Executive Board: Markus Hennig, Jan Hichert, G=FCnter Jun= k, Dr. Frank Nellissen
Chairman of the Supervisory Board: Stanley J. Krasnow
Headquarter Location: Karlsruhe
Commercial Register: Mannheim HRB 108997