Discussion:
Slow DNS lookup causing slow web browsing when connected to VPN on Windows 10 (solved)
Daniel Lenski
2018-07-03 22:18:38 UTC
Permalink
Subject: Resume e-mail Search Search New folder Add e-mail account Premium Features Help Settings About us Slow DNS lookup causing slow web browsing when connected to VPN on Windows 10 (solved)
Something went slightly crazy with your subject line :-).
In patch form…

diff --git a/vpnc-script-win.js b/vpnc-script-win.js
index a3a0974..6950452 100644
--- a/vpnc-script-win.js
+++ b/vpnc-script-win.js
@@ -115,6 +115,8 @@ case "connect":

if (env("INTERNAL_IP4_DNS")) {
var dns = env("INTERNAL_IP4_DNS").split(/ /);
+ run("netsh interface ip delete dns \"" +
+ env("TUNDEV") + " all");
for (var i = 0; i < dns.length; i++) {
run("netsh interface ip add dns \"" +
env("TUNDEV") + "\" " + dns[i]


Perhaps this ought to be tweaked so that the DNS servers are deleted
unconditionally, before setting up the tunnel device, whether or not
INTERNAL_IP4_DNS is set…?

Dan

Loading...