Switch CensurfriDNS to anycast domain

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-06-05 15:47:21 -04:00
parent 2ee99fe3ef
commit 11d228c7c3
No known key found for this signature in database
GPG Key ID: B286E9F57A07424B
6 changed files with 6 additions and 6 deletions

View File

@ -138,7 +138,7 @@ index c5cb1f5b7cf8..bcd253836663 100644
+ /**
+ * @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.
*

View File

@ -138,7 +138,7 @@ index 111a8c48a46c..12102a140947 100644
+ /**
+ * @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.
*

View File

@ -138,7 +138,7 @@ index ed03f5198d6f..7df32c10b16b 100644
+ /**
+ * @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.
*

View File

@ -171,7 +171,7 @@ index 9c8d08fb1..00da8bf9d 100644
+ /**
+ * @hide
+ */
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "unicast.censurfridns.dk";
+ public static final String PRIVATE_DNS_SPECIFIER_UNCENSOREDDNS = "anycast.censurfridns.dk";
+
+
/** @hide */

View File

@ -75,7 +75,7 @@ index 6bde4192..f0ece387 100644
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
+ } else if ("uncensoreddns".equals(currentPrivateDnsMode)) {
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "unicast.censurfridns.dk");
+ ConnectivitySettingsManager.setPrivateDnsHostname(mContext, "anycast.censurfridns.dk");
+ ConnectivitySettingsManager.setPrivateDnsMode(mContext,
+ ConnectivitySettingsManager.PRIVATE_DNS_MODE_PROVIDER_HOSTNAME);
+ }

View File

@ -133,7 +133,7 @@ index e78fa63658..809b07744a 100644
+ <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_hostname_uncensoreddns" translatable="false">unicast.censurfridns.dk</string>
+ <string name="private_dns_hostname_uncensoreddns" translatable="false">anycast.censurfridns.dk</string>
+
<!-- Advanced keyboard settings -->
<string name="keyboard_extras_title">Extras</string>