mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
parent
22589a9c30
commit
8a7d6a328a
1 changed files with 3 additions and 4 deletions
|
@ -128,14 +128,13 @@ fun OkHttpClient.Builder.dohQuad101() = dns(
|
||||||
/*
|
/*
|
||||||
* Mullvad DoH
|
* Mullvad DoH
|
||||||
* without ad blocking option
|
* without ad blocking option
|
||||||
* Source : https://mullvad.net/en/help/dns-over-https-and-dns-over-tls/
|
* Source: https://mullvad.net/en/help/dns-over-https-and-dns-over-tls
|
||||||
*/
|
*/
|
||||||
fun OkHttpClient.Builder.dohMullvad() = dns(
|
fun OkHttpClient.Builder.dohMullvad() = dns(
|
||||||
DnsOverHttps.Builder().client(build())
|
DnsOverHttps.Builder().client(build())
|
||||||
.url("https://doh.mullvad.net/dns-query".toHttpUrl())
|
.url(" https://dns.mullvad.net/dns-query".toHttpUrl())
|
||||||
.bootstrapDnsHosts(
|
.bootstrapDnsHosts(
|
||||||
InetAddress.getByName("194.242.2.2"),
|
InetAddress.getByName("194.242.2.2"),
|
||||||
InetAddress.getByName("193.19.108.2"),
|
|
||||||
InetAddress.getByName("2a07:e340::2"),
|
InetAddress.getByName("2a07:e340::2"),
|
||||||
)
|
)
|
||||||
.build(),
|
.build(),
|
||||||
|
@ -144,7 +143,7 @@ fun OkHttpClient.Builder.dohMullvad() = dns(
|
||||||
/*
|
/*
|
||||||
* Control D
|
* Control D
|
||||||
* unfiltered option
|
* unfiltered option
|
||||||
* Source : https://controld.com/free-dns/?
|
* Source: https://controld.com/free-dns/?
|
||||||
*/
|
*/
|
||||||
fun OkHttpClient.Builder.dohControlD() = dns(
|
fun OkHttpClient.Builder.dohControlD() = dns(
|
||||||
DnsOverHttps.Builder().client(build())
|
DnsOverHttps.Builder().client(build())
|
||||||
|
|
Loading…
Reference in a new issue