summaryrefslogtreecommitdiff
path: root/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-10-25 00:53:02 +0200
committerArne Schwabe <arne@rfc2549.org>2021-10-25 00:54:00 +0200
commit3348484912550a4d72a082ad21f9871bc2159afb (patch)
treef3b48dc7e6fa31d180b2ba55d033236bfc925a99 /main/src/main/java/de/blinkt/openvpn/VpnProfile.java
parent7fb58f6609802a03dc82169531badbad98d4c33d (diff)
Leave second DNS empty when importing config with only one DNS (closes #1410)
When importing a configuration with only one DNS server, the second DNS server what never overwritten, resulting in having the Google DNS as backup server. Also change Google DNS to Quad9 by default.
Diffstat (limited to 'main/src/main/java/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/VpnProfile.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
index af65873d..4a5b2b4c 100644
--- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
+++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
@@ -89,8 +89,8 @@ public class VpnProfile implements Serializable, Cloneable {
private static final int AUTH_RETRY_NONE_KEEP = 1;
private static final int AUTH_RETRY_INTERACT = 3;
private static final String EXTRA_RSA_PADDING_TYPE = "de.blinkt.openvpn.api.RSA_PADDING_TYPE";
- public static String DEFAULT_DNS1 = "8.8.8.8";
- public static String DEFAULT_DNS2 = "8.8.4.4";
+ public static String DEFAULT_DNS1 = "9.9.9.9";
+ public static String DEFAULT_DNS2 = "2620:fe::fe";
// variable named wrong and should haven beeen transient
// but needs to keep wrong name to guarante loading of old
// profiles