Skip to content

ruchernchong/cloudflare-mobile-config

Repository files navigation

iOS/iPadOS & macOS Encrypted DNS Profile

Update (18 Feb 2021)

AdGuard for iOS has been updated with native DNS support. You are recommended to install the AdGuard update and use the feature.

As such, this project will go into read-only mode with immediate effect and the configuration is still available for download for macOS usage.

Disclaimer

BY AGREEING TO USE THE FOLLOWING CONFIGURATION, YOU ARE AWARE OF THE RISKS, DANGERS, AND THAT THIS SETTING SHALL NOT BEAR RESPONSIBILITY FOR ANY DAMAGES DONE TO YOUR DEVICES.

Background

Apple adds support for encrypted DNS (DoH and DoT)

More info: https://developer.apple.com/videos/play/wwdc2020/10047/

The two main or most popular encrypted DNS protocols are:

  1. DoH (DNS-over-HTTPS)
  2. DoT (DNS-over-TLS)

Motivation

Currently, for iOS users, a VPN profile is needed to run such encrypted DNS over the mobile network (3G/4G/LTE/5G). With the support from Apple using the profiles, it is now possible to run them natively without any VPN profile.

Requirements

  1. iOS 14 and later
  2. iPadOS 14 and later
  3. macOS Big Sur and later

Usage

Download the mobile config profile using the Safari browser on the respective platforms and install the profiles. Do note that the profile is unsigned and the settings page will display it as a warning.

Outcome

After the profile has been installed, you may verify if the encrypted DNS is working at https://1.1.1.1/help.

You should expect the following:

Debug Information

Connected to 1.1.1.1 Yes
Using DNS over TLS (DoT) Yes
AS Name Cloudflare

Connectivity to Resolver IP Addresses

1.1.1.1 Yes
1.0.0.1 Yes

Known issues

As of iOS 14.2 RC, the DNS over TLS is breaking Safari in-app browser. Should you face with pages not loading properly in any of the in-app browsers, the temporary workaround is to remove the profile.

Credits

Releases

No releases published

Packages

No packages published