Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
iOS, iPadOS and tvOS 14 support MDM profile to set encrypted DNS requests (DNS-over-HTTPS and DNS-over-TLS) on cellular and Wi-Fi connection. To install, open this page from your device and click ‘Raw’ on the one of your choice in the GitHub page. Then continue installation in Settings app. Browse https://1.1.1.1/help after installing to check it

How to

iOS, iPadOS and tvOS 14 support MDM profile to set encrypted DNS requests (DNS-over-HTTPS and DNS-over-TLS) on cellular and Wi-Fi connection.

Install

To install, open this page from your device and click Raw on the one of your choice in the GitHub page. Then continue installation in Settings app.

Check install

Browse https://1.1.1.1/help after installing to check it.

Customization

If you want to switch after installation, go to Settings > VPN and Network > DNS

Automatic makes your device use DNS of your ISP.

Uninstall

Go to Settings > General > Profiles and remove the corresponding profile.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>DNSSettings</key>
<dict>
<key>DNSProtocol</key>
<string>HTTPS</string>
<key>ServerURL</key>
<string>https://cloudflare-dns.com/dns-query</string>
</dict>
<key>PayloadDisplayName</key>
<string>cloudflareDoH</string>
<key>PayloadIdentifier</key>
<string>906A8BF7-A2C3-4F2B-92B3-22B5CFE6788F.com.apple.dnsSettings.managed.3A64927D-6A10-491F-BE71-04CADE5CE21A</string>
<key>PayloadOrganization</key>
<string>pirafrank</string>
<key>PayloadType</key>
<string>com.apple.dnsSettings.managed</string>
<key>PayloadUUID</key>
<string>3A64927D-6A10-491F-BE71-04CADE5CE21A</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>cloudflareDoH</string>
<key>PayloadIdentifier</key>
<string>906A8BF7-A2C3-4F2B-92B3-22B5CFE6788F</string>
<key>PayloadOrganization</key>
<string>pirafrank</string>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>906A8BF7-A2C3-4F2B-92B3-22B5CFE6788F</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>DNSSettings</key>
<dict>
<key>DNSProtocol</key>
<string>TLS</string>
<key>ServerAddresses</key>
<string>1.1.1.1</string>
<key>ServerName</key>
<string>1dot1dot1dot1.cloudflare-dns.com</string>
</dict>
<key>PayloadDisplayName</key>
<string>cloudflareDoT</string>
<key>PayloadIdentifier</key>
<string>8AE22387-40B3-4A4E-A7B9-9E792F6B0253.com.apple.dnsSettings.managed.1813E6ED-F996-44E9-9FAF-30923536E52C</string>
<key>PayloadOrganization</key>
<string>pirafrank</string>
<key>PayloadType</key>
<string>com.apple.dnsSettings.managed</string>
<key>PayloadUUID</key>
<string>1813E6ED-F996-44E9-9FAF-30923536E52C</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>cloudflareDoT</string>
<key>PayloadIdentifier</key>
<string>8AE22387-40B3-4A4E-A7B9-9E792F6B0253</string>
<key>PayloadOrganization</key>
<string>pirafrank</string>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>8AE22387-40B3-4A4E-A7B9-9E792F6B0253</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.