+3
Daily
+14
Weekly
4,947
stars
438
forks
66
watchers
78
prs
116
issues
0
releases
README
English | العربية | Deutsch | Español | Français | Bahasa Indonesia | 日本語 | Português | Русский | Türkçe | Українська | 简体中文 | 繁體中文
encrypted-dns-configs
Configuration profiles for DNS over HTTPS and DNS over TLS. Check out the article for more info: paulmillr.com/posts/encrypted-dns/. To add a new provider, or edit an existing one: see CONTRIBUTING.md.
Usage
Download an HTTPS profile from the table below, then install it.
iPhone, iPad
1. Open the link in Safari and tap Allow.
2. Within 8 minutes, open Settings Profile Downloaded (or General VPN & Device Management) and tap Install.
- If installation is refused, Stolen Device Protection may require a familiar location.
Mac
1. Make sure the file ends in .mobileconfig, not .mobileconfig.txt, and double-click it.
2. Open System Settings General Device Management (macOS 13–14: Privacy & Security Profiles), double-click the profile and click Install.
Switching profiles
Several profiles can be installed; one is active. Choose it, or "Automatic" for the network's unencrypted DNS:
- iPhone, iPad: Settings General VPN, DNS & Device Management DNS
- Mac: System Settings Network VPN & Filters (macOS 13–14: Filters)
- After updating a profile, remove any older copy.
Checking it works
- Open your provider's test page, e.g. 1.1.1.1/help for Cloudflare.
Limitations
- Prefer HTTPS: DNS over TLS uses port 853, which is easy to block.
- These skip encrypted DNS: Firefox in some regions, the App Store, Chrome with "Use secure DNS" on, VPNs, iCloud Private Relay, Little Snitch, LuLu, Personal Hotspot devices, CLI tools like dig, and Wi-Fi sign-in pages.
- Profiles without ServerAddresses look up the resolver's hostname over unencrypted DNS first.
Providers
Tags show what each profile blocks. mixed content blocks sites that mix adult and general content; unspecified means the provider lists no categories. Filtering changes the hostname=IP answer for blocked hosts and can differ by country.
All profiles, including DNS over TLS and unsigned versions: ALL-PROFILES.md.
| Provider | Unfiltered | Filtered | Notes |
| ---------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------Discussions
#207Improve Region Info1 comments · 2026-07-23#206Wikimedia DNS over TLS config for iOS 263 comments · 2026-06-25#197DNS to block appldnld.apple.com and mesu.apple.com access to stop iOS update nags0 comments · 2026-02-20#181Why is Control D Not Listed?2 comments · 2025-09-17#162OpenDNS certificate not working1 comments · 2024-12-29#143Encrypted DNS and iOS 170 comments · 2023-11-13#129Localized `README` file request1 comments · 2023-04-26#124Is plaintext bootstrapping over UDP port 53 required?5 comments · 2023-02-27