mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-25 23:05:56 -05:00
Switch CensurfriDNS to anycast domain
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
2ee99fe3ef
commit
11d228c7c3
@ -138,7 +138,7 @@ index c5cb1f5b7cf8..bcd253836663 100644
|
|||||||
+ /**
|
+ /**
|
||||||
+ * @hide
|
+ * @hide
|
||||||
+ */
|
+ */
|
||||||
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "unicast.censurfridns.dk";
|
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "anycast.censurfridns.dk";
|
||||||
/**
|
/**
|
||||||
* The default Private DNS mode.
|
* The default Private DNS mode.
|
||||||
*
|
*
|
||||||
|
@ -138,7 +138,7 @@ index 111a8c48a46c..12102a140947 100644
|
|||||||
+ /**
|
+ /**
|
||||||
+ * @hide
|
+ * @hide
|
||||||
+ */
|
+ */
|
||||||
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "unicast.censurfridns.dk";
|
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "anycast.censurfridns.dk";
|
||||||
/**
|
/**
|
||||||
* The default Private DNS mode.
|
* The default Private DNS mode.
|
||||||
*
|
*
|
||||||
|
@ -138,7 +138,7 @@ index ed03f5198d6f..7df32c10b16b 100644
|
|||||||
+ /**
|
+ /**
|
||||||
+ * @hide
|
+ * @hide
|
||||||
+ */
|
+ */
|
||||||
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "unicast.censurfridns.dk";
|
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "anycast.censurfridns.dk";
|
||||||
/**
|
/**
|
||||||
* The default Private DNS mode.
|
* The default Private DNS mode.
|
||||||
*
|
*
|
||||||
|
@ -171,7 +171,7 @@ index 9c8d08fb1..00da8bf9d 100644
|
|||||||
+ /**
|
+ /**
|
||||||
+ * @hide
|
+ * @hide
|
||||||
+ */
|
+ */
|
||||||
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "unicast.censurfridns.dk";
|
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "anycast.censurfridns.dk";
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
/** @hide */
|
/** @hide */
|
||||||
|
@ -75,7 +75,7 @@ index 6bde4192..f0ece387 100644
|
|||||||
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
||||||
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
||||||
+ } else if ("uncensoreddns".equals(currentPrivateDnsMode)) {
|
+ } else if ("uncensoreddns".equals(currentPrivateDnsMode)) {
|
||||||
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "unicast.censurfridns.dk");
|
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "anycast.censurfridns.dk");
|
||||||
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
|
||||||
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
|
||||||
+ }
|
+ }
|
||||||
|
@ -133,7 +133,7 @@ index e78fa63658..809b07744a 100644
|
|||||||
+ <string name="private_dns_hostname_switch" translatable="false">dns.switch.ch</string>
|
+ <string name="private_dns_hostname_switch" translatable="false">dns.switch.ch</string>
|
||||||
+
|
+
|
||||||
+ <string name="private_dns_mode_uncensoreddns" translatable="false">UncensoredDNS (DK)</string>
|
+ <string name="private_dns_mode_uncensoreddns" translatable="false">UncensoredDNS (DK)</string>
|
||||||
+ <string name="private_dns_hostname_uncensoreddns" translatable="false">unicast.censurfridns.dk</string>
|
+ <string name="private_dns_hostname_uncensoreddns" translatable="false">anycast.censurfridns.dk</string>
|
||||||
+
|
+
|
||||||
<!-- Advanced keyboard settings -->
|
<!-- Advanced keyboard settings -->
|
||||||
<string name="keyboard_extras_title">Extras</string>
|
<string name="keyboard_extras_title">Extras</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user