Fix Windows10 DNS Leak (trac#605)
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Fix Windows10 DNS Leak (trac#605)
Due to the way Windows10 insists on using ALL configured DNS servers (see):
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.
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.
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Fix Windows10 DNS Leak (trac#605)
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
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
- Restore saved DNS setting from file
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Fix Windows10 DNS Leak (trac#605)
Has anybody tried this on W10 ?
https://www.dnsleaktest.com/how-to-fix-a-dns-leak.html
Particulary "Solution B - Manually clearing the DNS" ?
https://www.dnsleaktest.com/how-to-fix-a-dns-leak.html
Particulary "Solution B - Manually clearing the DNS" ?
-
- OpenVpn Newbie
- Posts: 7
- Joined: Thu Sep 24, 2015 10:00 am
Re: Fix Windows10 DNS Leak (trac#605)
Manual solution doesn't work because it's a bit outdated but the script works fine.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" ?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Aug 04, 2015 10:11 pm
Re: Fix Windows10 DNS Leak (trac#605)
Not working, after you did manual clearing, still leaking.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" ?
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Fix Windows10 DNS Leak (trac#605)
At this time, if you use W10 and have a DNS leak we ask that you try this:
https://community.openvpn.net/openvpn/t ... comment:16
Please let us know your experience.
https://community.openvpn.net/openvpn/t ... comment:16
Please let us know your experience.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Aug 04, 2015 10:11 pm
Re: Fix Windows10 DNS Leak (trac#605)
Work for me fine, just follow instructions from VladikSS.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/t ... comment:16
Please let us know your experience.
This guy keep doing for our comminity big things.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed May 14, 2014 9:12 am
Re: Fix Windows10 DNS Leak (trac#605)
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?
How do I get the fix working for OpenVPN Connect?
-
- OpenVPN Super User
- Posts: 310
- Joined: Tue Apr 12, 2011 6:22 am
Re: Fix Windows10 DNS Leak (trac#605)
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 ?
if you change the order of the adapters , would it behave the same way ?
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Fix Windows10 DNS Leak (trac#605)
Did you take the time to read the entire trac ?TiTex wrote: didn't have a chance to test this to know
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Fix Windows10 DNS Leak (trac#605)
I hear there is a version 2 for this now ..