DoHProvider

DNS Providers

  • Cloudflare

  • Google

  • AdGuard

  • Quad9

  • AliDNS

  • DNSPod

  • 360

  • Quad101

  • Mullvad

  • Control D

  • Najalla

  • SheCan

Functions

Link copied to clipboard
fun OkHttpClient.Builder.doh360(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with 360 DNS

Link copied to clipboard
fun OkHttpClient.Builder.dohAdGuard(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with AdGuard DNS. AdGuard "Default" DNS works too but for the sake of making sure no site is blacklisted, we use "Unfiltered"

Link copied to clipboard
fun OkHttpClient.Builder.dohAliDNS(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with Ali DNS

Link copied to clipboard
fun OkHttpClient.Builder.dohCloudflare(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with Cloudflare DNS

Link copied to clipboard
fun OkHttpClient.Builder.dohControlD(): OkHttpClient.Builder

Control D unfiltered option Source : https://controld.com/free-dns/?

Link copied to clipboard
fun OkHttpClient.Builder.dohDNSPod(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with DNS Pod

Link copied to clipboard
fun OkHttpClient.Builder.dohGoogle(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with Google DNS

Link copied to clipboard
fun OkHttpClient.Builder.dohMullvad(): OkHttpClient.Builder

Mullvad DoH without ad blocking option Source : https://mullvad.net/en/help/dns-over-https-and-dns-over-tls/

Link copied to clipboard
fun OkHttpClient.Builder.dohNajalla(): OkHttpClient.Builder

Njalla Non logging and uncensored

Link copied to clipboard
fun OkHttpClient.Builder.dohQuad101(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with Quad101 DNS

Link copied to clipboard
fun OkHttpClient.Builder.dohQuad9(): OkHttpClient.Builder

Returns a new OkHttpClient.Builder with Quad9 DNS

Link copied to clipboard
fun OkHttpClient.Builder.dohSheCan(): OkHttpClient.Builder

Source: https://shecan.ir/