Fix: Bypass regional blocks using Google DNS (DoH)
- Updated StreamUrlResolver to use OkHttp with Google DoH - Updated PlayerActivity to use Google DoH (8.8.8.8) - Bumped version to 10.0.3
This commit is contained in:
@@ -203,10 +203,10 @@ public class PlayerActivity extends AppCompatActivity {
|
||||
|
||||
DnsOverHttps dohDns = new DnsOverHttps.Builder()
|
||||
.client(bootstrap)
|
||||
.url(HttpUrl.get("https://dns.adguard-dns.com/dns-query"))
|
||||
.url(HttpUrl.get("https://dns.google/dns-query"))
|
||||
.bootstrapDnsHosts(
|
||||
InetAddress.getByName("94.140.14.14"),
|
||||
InetAddress.getByName("94.140.15.15"))
|
||||
InetAddress.getByName("8.8.8.8"),
|
||||
InetAddress.getByName("8.8.4.4"))
|
||||
.build();
|
||||
|
||||
okHttpClient = bootstrap.newBuilder()
|
||||
|
||||
Reference in New Issue
Block a user