Fix Windows10 DNS Leak (trac#605)

This is where we can discuss what we would like to see added or changed in OpenVPN.
User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Fix Windows10 DNS Leak (trac#605)

Postby Traffic » Wed Sep 16, 2015 11:16 am

Due to the way Windows10 insists on using ALL configured DNS servers (see):
https://forums.openvpn.net/topic19634.html#p54826

Has anybody found a way to save the default DNS settings and replace them with OpenVPN pushed DNS servers:
https://community.openvpn.net/openvpn/ticket/605#ticket

It would be great if somebody could find a suitable solution.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: Fix Windows10 DNS Leak (trac#605)

Postby Traffic » Thu Sep 17, 2015 10:51 pm

Brevity demands this:
superuser: How can I over-ride Windows10 default DNS Servers

A little more searching found a promising method:
superuser: Change DNS with script

Adapt for Windows 10 using batch: netsh>

OpenVPN.Client: --up script
  • Save current DNS settings to file.
  • Delete current DNS settings on eth0/wlan0 etc (if possible ..)
  • Leave only DNS settings on tun0

OpenVPN.Client: --down script
  • Restore saved DNS setting from file

I do not have access to W10 to develop this ..

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: Fix Windows10 DNS Leak (trac#605)

Postby Traffic » Mon Sep 21, 2015 3:21 pm

Has anybody tried this on W10 ?
https://www.dnsleaktest.com/how-to-fix-a-dns-leak.html

Particulary "Solution B - Manually clearing the DNS" ?

ValdikSS
OpenVpn Newbie
Posts: 5
Joined: Thu Sep 24, 2015 10:00 am

Re: Fix Windows10 DNS Leak (trac#605)

Postby ValdikSS » Thu Sep 24, 2015 10:01 am

Traffic wrote:Has anybody tried this on W10 ?
https://www.dnsleaktest.com/how-to-fix-a-dns-leak.html

Particulary "Solution B - Manually clearing the DNS" ?

Manual solution doesn't work because it's a bit outdated but the script works fine.

Georg850
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 04, 2015 10:11 pm

Re: Fix Windows10 DNS Leak (trac#605)

Postby Georg850 » Sat Sep 26, 2015 8:06 am

Traffic wrote:Has anybody tried this on W10 ?
https://www.dnsleaktest.com/how-to-fix-a-dns-leak.html

Particulary "Solution B - Manually clearing the DNS" ?

Not working, after you did manual clearing, still leaking.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: Fix Windows10 DNS Leak (trac#605)

Postby Traffic » Tue Oct 06, 2015 11:36 am

At this time, if you use W10 and have a DNS leak we ask that you try this:
https://community.openvpn.net/openvpn/ticket/605#comment:16

Please let us know your experience.

Georg850
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 04, 2015 10:11 pm

Re: Fix Windows10 DNS Leak (trac#605)

Postby Georg850 » Mon Nov 02, 2015 5:15 pm

Traffic wrote:At this time, if you use W10 and have a DNS leak we ask that you try this:
https://community.openvpn.net/openvpn/ticket/605#comment:16

Please let us know your experience.

Work for me fine, just follow instructions from VladikSS.
This guy keep doing for our comminity big things.

BakerT
OpenVpn Newbie
Posts: 5
Joined: Wed May 14, 2014 9:12 am

Re: Fix Windows10 DNS Leak (trac#605)

Postby BakerT » Wed Nov 11, 2015 10:20 pm

Anyone get this fix working? Still having issues with DNS leaking on our windows clients connecting to our Access Server.
How do I get the fix working for OpenVPN Connect?

TiTex
OpenVPN Expert
Posts: 206
Joined: Tue Apr 12, 2011 6:22 am

Re: Fix Windows10 DNS Leak (trac#605)

Postby TiTex » Thu Nov 12, 2015 5:58 am

i didn't have a chance to test this to know it has any effect , but maybe somebody can let us know
if you change the order of the adapters , would it behave the same way ?

Image

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: Fix Windows10 DNS Leak (trac#605)

Postby Traffic » Thu Nov 12, 2015 11:33 am

TiTex wrote: didn't have a chance to test this to know
Did you take the time to read the entire trac ?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2442
Joined: Fri Jun 03, 2016 1:17 pm

Re: Fix Windows10 DNS Leak (trac#605)

Postby TinCanTech » Tue Apr 25, 2017 2:51 am

I hear there is a version 2 for this now ..


Return to “Wishlist”

Who is online

Users browsing this forum: No registered users and 3 guests