From 8fa6a39e098c2d55f037d02c7d03ccdc8f4d57a8 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 20 Mar 2017 07:28:24 +0100 Subject: [PATCH] Use local DNS server, even if not routing LAN --- app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java b/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java index eb0e3739..c27aa3e5 100644 --- a/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java +++ b/app/src/main/java/eu/faircode/netguard/ServiceSinkhole.java @@ -1014,7 +1014,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS // Remove local DNS servers when not routing LAN boolean lan = prefs.getBoolean("lan", false); - if (lan) { + if (false && lan) { List listLocal = new ArrayList<>(); try { Enumeration nis = NetworkInterface.getNetworkInterfaces();