Hi, I have been testing OpenVPN 2.1.1 for a while and have came across a strange DNS problem. Other people seem to have seen the same problem (ex. http://www.astaro.org/astaro-gateway-products/vpn-site-site-remote-access/21387-new-sslvpn-client-dns-problems.html), and a work-around is available, but I have not seen any real fix for this or discussion on how to find the actual problem.
The problem is that with OpenVPN 2.1.1 (and all 2.1_rcX I have tested so far), Windows doesn't seem to use the connection specific DNS servers. All DNS information (as seen by ipconfig /all) is correct, and nslookup uses the correct server. All other applications however, does not. Eventually (after 5-30 minutes or so), Windows starts to use the correct DNS servers. Note, this is _not_ the problem http://openvpn.net/faq.html#dhcpcaveats, although it sounds like it. I have tested that work-around and it doesn't work in this case. The work-around that always seem to work is to do an "ipconfig /renew" in a route-up script. 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 machines with the same config never show the problem). Is this problem known, and is someone working on it? I can of course help debugging this, but I don't have the development environment needed to compile the Windows binaries. /Johan Ymerson