mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-18 19:31:37 -05:00
Update Mullvad DNS endpoint
switch from adblock. to base. which includes malware blocking too https://mullvad.net/en/help/dns-over-https-and-dns-over-tls#specifications Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
bfa65c85a3
commit
66cdf9aaf9
@ -118,7 +118,7 @@ index c5cb1f5b7cf8..bcd253836663 100644
|
||||
+ /**
|
||||
+ * @hide
|
||||
+ */
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "adblock.doh.mullvad.net";
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "base.dns.mullvad.net";
|
||||
+ /**
|
||||
+ * @hide
|
||||
+ */
|
||||
|
@ -118,7 +118,7 @@ index 111a8c48a46c..962c4215f7b6 100644
|
||||
+ /**
|
||||
+ * @hide
|
||||
+ */
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "adblock.doh.mullvad.net";
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "base.dns.mullvad.net";
|
||||
+ /**
|
||||
+ * @hide
|
||||
+ */
|
||||
|
@ -118,7 +118,7 @@ index ed03f5198d6f..dfdbbe085c0f 100644
|
||||
+ /**
|
||||
+ * @hide
|
||||
+ */
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "adblock.doh.mullvad.net";
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "base.dns.mullvad.net";
|
||||
+ /**
|
||||
+ * @hide
|
||||
+ */
|
||||
|
@ -146,7 +146,7 @@ index 9c8d08fb1..27263d2a4 100644
|
||||
+ /**
|
||||
+ * @hide
|
||||
+ */
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "adblock.doh.mullvad.net";
|
||||
+ public static final String PRIVATE_DNS_SPECIFIER_MULLVAD = "base.dns.mullvad.net";
|
||||
+
|
||||
+ /**
|
||||
+ * @hide
|
||||
|
@ -55,7 +55,7 @@ index 829a5e50..f16f2c7a 100644
|
||||
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
||||
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
||||
+ } else if ("mullvad".equals(currentPrivateDnsMode)) {
|
||||
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "adblock.dns.mullvad.net");
|
||||
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "base.dns.mullvad.net");
|
||||
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
||||
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
||||
+ } else if ("quadnine".equals(currentPrivateDnsMode)) {
|
||||
|
@ -128,7 +128,7 @@ index 698965172f..444f2f9131 100644
|
||||
+ <string name="private_dns_hostname_google" translatable="false">dns.google</string>
|
||||
+
|
||||
+ <string name="private_dns_mode_mullvad" translatable="false">Mullvad (SE)</string>
|
||||
+ <string name="private_dns_hostname_mullvad" translatable="false">adblock.dns.mullvad.net</string>
|
||||
+ <string name="private_dns_hostname_mullvad" translatable="false">base.dns.mullvad.net</string>
|
||||
+
|
||||
+ <string name="private_dns_mode_quadnine" translatable="false">Quad9 (CH)</string>
|
||||
+ <string name="private_dns_hostname_quadnine" translatable="false">dns.quad9.net</string>
|
||||
|
@ -78,8 +78,8 @@ index 0f3c09dc..3c593369 100644
|
||||
+ false},
|
||||
+ {"Mullvad-AdBlock",
|
||||
+ {"2a07:e340::3", "194.242.2.3"},
|
||||
+ "adblock.dns.mullvad.net",
|
||||
+ "https://adblock.dns.mullvad.net/dns-query",
|
||||
+ "base.dns.mullvad.net",
|
||||
+ "https://base.dns.mullvad.net/dns-query",
|
||||
+ false},
|
||||
+ {"QuadNine",
|
||||
+ {"2620:fe::9", "2620:fe::fe", "9.9.9.9", "149.112.112.112"},
|
||||
|
@ -55,7 +55,7 @@ index 2a77cec7..83322355 100644
|
||||
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
||||
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
||||
+ } else if ("mullvad".equals(currentPrivateDnsMode)) {
|
||||
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "adblock.dns.mullvad.net");
|
||||
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "base.dns.mullvad.net");
|
||||
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
||||
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
||||
+ } else if ("quadnine".equals(currentPrivateDnsMode)) {
|
||||
|
@ -128,7 +128,7 @@ index aa89f73f47c..f0dd5226d1c 100644
|
||||
+ <string name="private_dns_hostname_google" translatable="false">dns.google</string>
|
||||
+
|
||||
+ <string name="private_dns_mode_mullvad" translatable="false">Mullvad (SE)</string>
|
||||
+ <string name="private_dns_hostname_mullvad" translatable="false">adblock.dns.mullvad.net</string>
|
||||
+ <string name="private_dns_hostname_mullvad" translatable="false">base.dns.mullvad.net</string>
|
||||
+
|
||||
+ <string name="private_dns_mode_quadnine" translatable="false">Quad9 (CH)</string>
|
||||
+ <string name="private_dns_hostname_quadnine" translatable="false">dns.quad9.net</string>
|
||||
|
Loading…
Reference in New Issue
Block a user