diff --git a/README.cmn-CN.md b/README.cmn-CN.md index 1e34d59..d0db3a1 100644 --- a/README.cmn-CN.md +++ b/README.cmn-CN.md @@ -2,33 +2,37 @@ # 加密 DNS 配置 -[DNS over HTTPS](https://zh.wikipedia.org/wiki/DNS_over_HTTPS) 和 [DNS over TLS](https://zh.wikipedia.org/wiki/DNS_over_TLS) 的配置描述文件。查看这篇文章以获取更多信息:[paulmillr.com/posts/encrypted-dns/](https://paulmillr.com/posts/encrypted-dns/) 以及有关[提交新描述文件](#提交新描述文件)的信息。 +[DNS over HTTPS](https://zh.wikipedia.org/wiki/DNS_over_HTTPS) 和 [DNS over TLS](https://zh.wikipedia.org/wiki/DNS_over_TLS) 的配置描述文件。查看这篇文章以获取更多信息:[paulmillr.com/posts/encrypted-dns/](https://paulmillr.com/posts/encrypted-dns/)。要添加一个新的供应商,或者修改已有的供应商:见 [#参与贡献](#参与贡献)。 -### 注意事项 +## 使用方法 -根据[谷歌这篇文章](https://security.googleblog.com/2022/07/dns-over-http3-in-android.html)的介绍,DoH 似乎比 DoT 的性能更优。 +从下表中安装 / 下载描述文件(`.mobileconfig` 文件),然后: -从 iOS 和 iPadOS 15.5 开始,为了简化咖啡厅、宾馆、机场等公共场所无线网络的身份认证,苹果将这些无线网络的[强制登录门户](https://zh.wikipedia.org/wiki/%E5%BC%BA%E5%88%B6%E9%97%A8%E6%88%B7)加入到了加密 DNS 排除规则中。这是个好消息,但还有一些其他问题我们无法修复,只有等苹果来解决: +iPhone 和 iPad: -- 无法启用加密 DNS:[Little Snitch & Lulu](https://github.com/paulmillr/encrypted-dns/issues/13)、[VPN](https://github.com/paulmillr/encrypted-dns/issues/18) -- 部分流量绕过加密 DNS:[终端和 App Store](https://github.com/paulmillr/encrypted-dns/issues/22)、[Chrome 浏览器](https://github.com/paulmillr/encrypted-dns/issues/19) +1. 使用 Safari 打开文件(其他浏览器可能会只下载文件而不提示安装) +2. 点击“允许”按钮,描述文件随即下载。 +3. 打开 **系统设置 => 通用 => VPN与设备管理**,选择下载的描述文件并点击“安装”按钮。 -如果你需要更进一步的隐私保护,请查看[使用 Tor 网络的加密 DNS](https://github.com/alecmuffett/dohot)。 +Mac: + +1. 确保下载的文件具有正确的扩展名:NAME.mobileconfig,而非 NAME.mobileconfig.txt。 +2. 选择苹果菜单 > “系统设置”,在侧边栏中点击“通用”,然后点击“设备管理”(macOS 13 和 14:“隐私与安全性” > “描述文件”)。 + 你可能需要向下滚动。安装过程中你可能会被要求提供密码或者其他信息。 +3. 在“已下载”部分,双击描述文件。检查描述文件的内容,然后点击“继续”、“安装”或“注册”来安装描述文件。如果你的 Mac 上已经安装了一个旧版本的描述文件,新版本中的设置将覆盖旧版本。 ## 供应商 -“`审查=是`”表示描述文件不会发送某些主机“`主机名=IP`”关系的真实信息。 +“审查”(也称为“过滤”)意味着该描述文件对于某些主机不会发送关于“`主机名=IP`”关系的真实信息。 | 名称 | 区域 | 审查 | 备注 | 安装 | 安装 (未签名) | | ------------------------------------------------------------------------------------ | ----- | ---- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- | -| [360 安全 DNS][360-default] | 🇨🇳 | 是 | 由 360 数字安全集团运营 | [HTTPS][360-default-https-signed] | [HTTPS][360-default-https] | +| [360 安全 DNS][360-default] | 🇨🇳 | 是 | 由 360 数字安全集团运营 | | [HTTPS][360-default-https] | | [AdGuard DNS 默认][adguard-default] | 🇷🇺 | 是 | 由 AdGuard 运营,拦截广告、跟踪器和钓鱼网站 | [HTTPS][adguard-default-https-signed], [TLS][adguard-default-tls-signed] | [HTTPS][adguard-default-https], [TLS][adguard-default-tls] | | [AdGuard DNS 家庭保护][adguard-family] | 🇷🇺 | 是 | 由 AdGuard 运营,除默认规则外,额外拦截恶意软件和成人内容 | [HTTPS][adguard-family-https-signed], [TLS][adguard-family-tls-signed] | [HTTPS][adguard-family-https], [TLS][adguard-family-tls] | | [AdGuard DNS 无过滤][adguard-nofilter] | 🇷🇺 | 否 | 由 AdGuard 运营,无过滤 | [HTTPS][adguard-nofilter-https-signed], [TLS][adguard-nofilter-tls-signed] | [HTTPS][adguard-nofilter-https], [TLS][adguard-nofilter-tls] | -| [Alekberg 加密 DNS][alekberg-default] | 🇳🇱 | 否 | 由个人提供 | [HTTPS][alekberg-default-https-signed] | [HTTPS][alekberg-default-https] | +| [Alekberg 加密 DNS][alekberg-default] | 🇳🇱 | 否 | 由个人提供 | | [HTTPS][alekberg-default-https] | | [阿里云公共 DNS][alibaba-default] | 🇨🇳 | 否 | 由阿里云计算运营 | [HTTPS][alibaba-default-https-signed], [TLS][alibaba-default-tls-signed] | [HTTPS][alibaba-default-https], [TLS][alibaba-default-tls] | -| [BlahDNS CDN 过滤][blahdns-cdn-adblock] | 🇺🇸 | 是 | 由个人提供,拦截广告、跟踪器和恶意软件 | [HTTPS][blahdns-cdn-adblock-https-signed] | [HTTPS][blahdns-cdn-adblock-https] | -| [BlahDNS CDN 无过滤][blahdns-cdn-unfiltered] | 🇺🇸 | 否 | 由个人提供,无过滤 | [HTTPS][blahdns-cdn-unfiltered-https-signed] | [HTTPS][blahdns-cdn-unfiltered-https] | | [BlahDNS 德国][blahdns-germany] | 🇩🇪 | 是 | 由个人提供,拦截广告、跟踪器和恶意软件 | [HTTPS][blahdns-germany-https-signed] | [HTTPS][blahdns-germany-https] | | [BlahDNS 新加坡][blahdns-singapore] | 🇸🇬 | 是 | 由个人提供,拦截广告、跟踪器和恶意软件 | [HTTPS][blahdns-singapore-https-signed] | [HTTPS][blahdns-singapore-https] | | [Canadian Shield 私人][canadianshield-private] | 🇨🇦 | 否 | 由加拿大互联网注册管理局 (CIRA) 运营 | [HTTPS][canadianshield-private-https-signed], [TLS][canadianshield-private-tls-signed] | [HTTPS][canadianshield-private-https], [TLS][canadianshield-private-tls] | @@ -46,7 +50,7 @@ | [DNS4EU Protective with child protection][dns4eu-protective-child] | 🇨🇿 | 是 | Operated by a consortium lead by Whalebone. Blocks malware and explicit content. | [HTTPS][dns4eu-protective-child-https-signed], [TLS][dns4eu-protective-child-tls-signed] | [HTTPS][dns4eu-protective-child-https], [TLS][dns4eu-protective-child-tls] | | [DNS4EU Protective with child protection & ad-blocking][dns4eu-protective-child-ads] | 🇨🇿 | 是 | Operated by a consortium lead by Whalebone. Blocks Malware, Ads and explicit content | [HTTPS][dns4eu-protective-child-ads-https-signed], [TLS][dns4eu-protective-child-ads-tls-signed] | [HTTPS][dns4eu-protective-child-ads-https], [TLS][dns4eu-protective-child-ads-tls] | | [DNSPod 公共 DNS][dnspod-default] | 🇨🇳 | 否 | 由腾讯公司 DNSPod 运营 | [HTTPS][dnspod-default-https-signed], [TLS][dnspod-default-tls-signed] | [HTTPS][dnspod-default-https], [TLS][dnspod-default-tls] | -| [FDN][fdn-default] | 🇫🇷 | 否 | 由法国数据网络运营 | [HTTPS][fdn-default-https-signed], [TLS][fdn-default-tls-signed] | [HTTPS][fdn-default-https], [TLS][fdn-default-tls] | +| [FDN][fdn-default] | 🇫🇷 | 否 | 由法国数据网络运营 | | [HTTPS][fdn-default-https], [TLS][fdn-default-tls] | | [FFMUC-DNS][ffmuc-dns-default] | 🇩🇪 | 否 | FFMUC free DNS servers provided by Freifunk München. | [HTTPS][ffmuc-dns-default-https-signed], [TLS][ffmuc-dns-default-tls-signed] | [HTTPS][ffmuc-dns-default-https], [TLS][ffmuc-dns-default-tls] | | [Google 公共 DNS][google-default] | 🇺🇸 | 否 | 由谷歌公司运营 | [HTTPS][google-default-https-signed], [TLS][google-default-tls-signed] | [HTTPS][google-default-https], [TLS][google-default-tls] | | [keweonDNS][keweondns-default] | 🇩🇪 | 否 | 由 Aviontex 运营,拦截广告和跟踪器 | [HTTPS][keweondns-default-https-signed], [TLS][keweondns-default-tls-signed] | [HTTPS][keweondns-default-https], [TLS][keweondns-default-tls] | @@ -59,22 +63,53 @@ | [Quad9 无过滤][quad9-nofilter] | 🇨🇭 | 否 | 由 Quad9 基金会运营 | [HTTPS][quad9-nofilter-https-signed], [TLS][quad9-nofilter-tls-signed] | [HTTPS][quad9-nofilter-https], [TLS][quad9-nofilter-tls] | | [Tiarap][tiarapp-default] | 🇸🇬 🇺🇸 | 是 | 由 Tiarap 公司运营,拦截广告、跟踪器、钓鱼和恶意软件 | [HTTPS][tiarapp-default-https-signed], [TLS][tiarapp-default-tls-signed] | [HTTPS][tiarapp-default-https], [TLS][tiarapp-default-tls] | | [ADNull DNS][adnull-default] | 🇺🇦 | 是 | Public DNS operated by ADNull. Blocks ads & tracking. Paid plans offer personalized DNS with advanced ad and phishing blocking. | [HTTPS][adnull-default-https-signed] | [HTTPS][adnull-default-https] | +| [Wikimedia DNS][wikimedia-default] | 🇺🇸 | 否 | Operated by the Wikimedia Foundation. Beta service, no availability guarantees | | [HTTPS][wikimedia-default-https], [TLS][wikimedia-default-tls] | -## 安装 +## 已知问题 -要使设置在 **iOS**、**iPadOS** 和 **macOS** 中所有的应用程序上生效,你需要安装配置描述文件。此文件将指引操作系统使用 DoH 或 DoT。注意:只在系统无线局域网设置中设置 DNS 服务器 IP 是不够的——你需要安装描述文件。 +1. 某些应用和协议会忽略加密 DNS: + - 特定地区的 Firefox,所有地区的 App Store。[更多信息](https://github.com/paulmillr/encrypted-dns/issues/22) + - iCloud 专用代理,VPN 客户端 + - Little Snitch,LuLu + - DNS 相关的命令行工具:`host`,`dig`,`nslookup` 等。 +2. 咖啡馆、酒店、机场的 [Wi-Fi 强制门户](https://zh.wikipedia.org/wiki/强制门户) 被苹果从加密 DNS 规则中排除;为了简化认证流程——这是合理的 +3. TLS DNS 更容易被供应商屏蔽,因为它使用非标准的 853 端口。 + [更多信息](https://security.googleblog.com/2022/07/dns-over-http3-in-android.html) +4. 基于 TOR 的加密 DNS 可能在隐私方面更好,但我们目前尚无此功能。 -iOS / iPadOS:使用 Safari 浏览器(其他浏览器只会下载该文件,不会弹出安装提示)打开 GitHub 上的 mobileconfig 文件,然后点击“允许”按钮,描述文件将完成下载。打开 **系统设置 => 通用 => VPN、DNS 与设备管理**,选择已下载的描述文件并点击“安装”按钮。 +## 参与贡献 -macOS [(官方文档)](https://support.apple.com/zh-cn/guide/mac-help/mh35561/): +- **添加 / 编辑一个描述文件:** 编辑 `src` 目录下的 json 文件。 +- **验证解析器的 IP / 主机名:** 比较 mobileconfig 文件与它们的原始网站(在文本编辑器中打开文件)。 +- 访问 [developer.apple.com](https://developer.apple.com/documentation/devicemanagement/dnssettings) 查看更多文档。 +- **按需激活:** 你可以选择排除一些不想使用加密 DNS 的受信任 Wi-Fi 网络。为此,在描述文件的 `PayloadContent` 字典下的 [OnDemandRules](https://github.com/paulmillr/encrypted-dns/blob/master/profiles/template-on-demand-default-https.mobileconfig#L22-L38) 字段中添加你的 SSID。 -1. 下载并保存描述文件,将其重命名为 `NAME.mobileconfig`,而不是 txt 之类的扩展名。 -2. 选取苹果菜单 >“系统设置”,点按边栏中的“隐私和安全性” ,然后点按右侧的“描述文件”。(你可能需要向下滚动。) - 安装期间,系统可能会要求你提供密码或其他信息。 -3. 在“已下载”部分中,连按描述文件。 -4. 检查描述文件内容,然后点按“继续”、“安装”或“注册”以安装描述文件。 +### 脚本 - 如果 Mac 上已安装了较早版本的描述文件,其设置将替换为更新版本中的设置。 +- `npm run build` - 重新构建描述文件、已签名描述文件和 README +- `npm run sign` - 使用 ECC SSL 证书重新签名所有描述文件(更新 `signature` 字段)。 + - 签名通过 [key-producer](https://github.com/paulmillr/micro-key-producer) 完成 + - 可以使用 Let's Encrypt 免费证书,但[会在45天内过期](https://letsencrypt.org/2026/02/24/rate-limits-45-day-certs)。 + - `certs` 子目录下需要包含以下文件: + + ``` + `privkey.pem` : 你的证书的私钥。 + `fullchain.pem`: 大多数服务器软件中使用的证书文件。 + `chain.pem` : 在 Nginx >=1.3.7 中用于 OCSP Stapling。 + `cert.pem` + ``` + +- `npm run new` - 通过命令行交互创建新的描述文件。也可以带参数运行。 + - `scripts/new.test.ts` 包含命令行快照测试和 PTY 交互流程测试。 + - PTY 测试默认运行;设置 `NEW_TEST_PTY=0` 可跳过。 +- `src/scripts/sign-single.ts --ca cert.pem --priv_key key.pem [--chain chain.pem] path.mobileconfig` - 签名单个 mobileconfig +- `src/scripts/sign-single-openssl.ts --ca cert.pem --priv_key key.pem [--chain chain.pem] path.mobileconfig` 使用 OpenSSL 签名单个 `.mobileconfig`。 + - 使用 `-nosmimecap` 以匹配本地 CMS 签名策略。 +- `src/scripts/detach.ts signed.mobileconfig` - 从已签名的描述文件中分离出 CMS 签名并将 PEM 打印到标准输出. +- `npm run test` - 对于 `sign-single.ts` 和 `sign-single-openssl.sh` 进行一致性检查。 + - 通过 OpenSSL 生成临时的测试根/签名者证书。 + - 使用 `scripts/sign.ts` 和 `scripts/sign_openssl.sh` 签名同一描述文件。 + - 验证分离出的内容与嵌入式证书集的一致性。 [360-default]: https://sdns.360.net/dnsPublic.html [360-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/360-default-https.mobileconfig @@ -92,10 +127,6 @@ macOS [(官方文档)](https://support.apple.com/zh-cn/guide/mac-help/mh3556 [alibaba-default]: https://www.alidns.com/ [alibaba-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/alibaba-default-https.mobileconfig [alibaba-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/alibaba-default-tls.mobileconfig -[blahdns-cdn-adblock]: https://blahdns.com/ -[blahdns-cdn-adblock-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-cdn-adblock-https.mobileconfig -[blahdns-cdn-unfiltered]: https://blahdns.com/ -[blahdns-cdn-unfiltered-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-cdn-unfiltered-https.mobileconfig [blahdns-germany]: https://blahdns.com/ [blahdns-germany-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-germany-https.mobileconfig [blahdns-singapore]: https://blahdns.com/ @@ -177,18 +208,17 @@ macOS [(官方文档)](https://support.apple.com/zh-cn/guide/mac-help/mh3556 [tiarapp-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/tiarapp-default-tls.mobileconfig [adnull-default]: https://adnull.com [adnull-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/adnull-default-https.mobileconfig -[360-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/360-default-https.mobileconfig +[wikimedia-default]: https://meta.wikimedia.org/wiki/Wikimedia_DNS +[wikimedia-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/wikimedia-default-https.mobileconfig +[wikimedia-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/wikimedia-default-tls.mobileconfig [adguard-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-default-https.mobileconfig [adguard-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-default-tls.mobileconfig [adguard-family-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-family-https.mobileconfig [adguard-family-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-family-tls.mobileconfig [adguard-nofilter-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-nofilter-https.mobileconfig [adguard-nofilter-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-nofilter-tls.mobileconfig -[alekberg-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alekberg-default-https.mobileconfig [alibaba-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alibaba-default-https.mobileconfig [alibaba-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alibaba-default-tls.mobileconfig -[blahdns-cdn-adblock-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-cdn-adblock-https.mobileconfig -[blahdns-cdn-unfiltered-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-cdn-unfiltered-https.mobileconfig [blahdns-germany-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-germany-https.mobileconfig [blahdns-singapore-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-singapore-https.mobileconfig [canadianshield-private-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/canadianshield-private-https.mobileconfig @@ -219,8 +249,6 @@ macOS [(官方文档)](https://support.apple.com/zh-cn/guide/mac-help/mh3556 [dns4eu-protective-child-ads-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dns4eu-protective-child-ads-tls.mobileconfig [dnspod-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dnspod-default-https.mobileconfig [dnspod-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dnspod-default-tls.mobileconfig -[fdn-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/fdn-default-https.mobileconfig -[fdn-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/fdn-default-tls.mobileconfig [ffmuc-dns-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/ffmuc-dns-default-https.mobileconfig [ffmuc-dns-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/ffmuc-dns-default-tls.mobileconfig [google-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/google-default-https.mobileconfig @@ -240,3 +268,4 @@ macOS [(官方文档)](https://support.apple.com/zh-cn/guide/mac-help/mh3556 [tiarapp-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/tiarapp-default-https.mobileconfig [tiarapp-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/tiarapp-default-tls.mobileconfig [adnull-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adnull-default-https.mobileconfig + diff --git a/README.cmn-TW.md b/README.cmn-TW.md index f81dafa..e62fdbd 100644 --- a/README.cmn-TW.md +++ b/README.cmn-TW.md @@ -21,14 +21,12 @@ | 名稱 | 區域 | 審查 | 備註 | 安裝連結 | | | ------------------------------------------------------------------------------------ | ----- | ---- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- | -| [360 安全 DNS][360-default] | 🇨🇳 | 是 | 由 360 數位安全集團營運 | [HTTPS][360-default-https-signed] | [HTTPS][360-default-https] | +| [360 安全 DNS][360-default] | 🇨🇳 | 是 | 由 360 數位安全集團營運 | | [HTTPS][360-default-https] | | [AdGuard DNS 預設][adguard-default] | 🇷🇺 | 是 | 由 AdGuard 營運,阻擋廣告、追蹤器和釣魚網站 | [HTTPS][adguard-default-https-signed], [TLS][adguard-default-tls-signed] | [HTTPS][adguard-default-https], [TLS][adguard-default-tls] | | [AdGuard DNS 家庭保護][adguard-family] | 🇷🇺 | 是 | 由 AdGuard 營運,除預設規則外,額外阻擋惡意軟體和成人內容 | [HTTPS][adguard-family-https-signed], [TLS][adguard-family-tls-signed] | [HTTPS][adguard-family-https], [TLS][adguard-family-tls] | | [AdGuard DNS 無過濾][adguard-nofilter] | 🇷🇺 | 否 | 由 AdGuard 營運,無過濾 | [HTTPS][adguard-nofilter-https-signed], [TLS][adguard-nofilter-tls-signed] | [HTTPS][adguard-nofilter-https], [TLS][adguard-nofilter-tls] | -| [Alekberg 加密 DNS][alekberg-default] | 🇳🇱 | 否 | 由個人提供 | [HTTPS][alekberg-default-https-signed] | [HTTPS][alekberg-default-https] | +| [Alekberg 加密 DNS][alekberg-default] | 🇳🇱 | 否 | 由個人提供 | | [HTTPS][alekberg-default-https] | | [阿里雲公共 DNS][alibaba-default] | 🇨🇳 | 否 | 由阿里雲計算營運 | [HTTPS][alibaba-default-https-signed], [TLS][alibaba-default-tls-signed] | [HTTPS][alibaba-default-https], [TLS][alibaba-default-tls] | -| [BlahDNS CDN 過濾][blahdns-cdn-adblock] | 🇺🇸 | 是 | 由個人提供,阻擋廣告、追蹤器和惡意軟體 | [HTTPS][blahdns-cdn-adblock-https-signed] | [HTTPS][blahdns-cdn-adblock-https] | -| [BlahDNS CDN 無過濾][blahdns-cdn-unfiltered] | 🇺🇸 | 否 | 由個人提供,無過濾 | [HTTPS][blahdns-cdn-unfiltered-https-signed] | [HTTPS][blahdns-cdn-unfiltered-https] | | [BlahDNS 德國][blahdns-germany] | 🇩🇪 | 是 | 由個人提供,阻擋廣告、追蹤器和惡意軟體 | [HTTPS][blahdns-germany-https-signed] | [HTTPS][blahdns-germany-https] | | [BlahDNS 新加坡][blahdns-singapore] | 🇸🇬 | 是 | 由個人提供,阻擋廣告、追蹤器和惡意軟體 | [HTTPS][blahdns-singapore-https-signed] | [HTTPS][blahdns-singapore-https] | | [Canadian Shield 私人][canadianshield-private] | 🇨🇦 | 否 | 由加拿大網際網路註冊管理局 (CIRA) 營運 | [HTTPS][canadianshield-private-https-signed], [TLS][canadianshield-private-tls-signed] | [HTTPS][canadianshield-private-https], [TLS][canadianshield-private-tls] | @@ -46,7 +44,7 @@ | [DNS4EU Protective with child protection][dns4eu-protective-child] | 🇨🇿 | 是 | Operated by a consortium lead by Whalebone. Blocks malware and explicit content. | [HTTPS][dns4eu-protective-child-https-signed], [TLS][dns4eu-protective-child-tls-signed] | [HTTPS][dns4eu-protective-child-https], [TLS][dns4eu-protective-child-tls] | | [DNS4EU Protective with child protection & ad-blocking][dns4eu-protective-child-ads] | 🇨🇿 | 是 | Operated by a consortium lead by Whalebone. Blocks Malware, Ads and explicit content | [HTTPS][dns4eu-protective-child-ads-https-signed], [TLS][dns4eu-protective-child-ads-tls-signed] | [HTTPS][dns4eu-protective-child-ads-https], [TLS][dns4eu-protective-child-ads-tls] | | [DNSPod 公共 DNS][dnspod-default] | 🇨🇳 | 否 | 由騰訊公司 DNSPod 營運 | [HTTPS][dnspod-default-https-signed], [TLS][dnspod-default-tls-signed] | [HTTPS][dnspod-default-https], [TLS][dnspod-default-tls] | -| [FDN][fdn-default] | 🇫🇷 | 否 | 由法國資料網路營運 | [HTTPS][fdn-default-https-signed], [TLS][fdn-default-tls-signed] | [HTTPS][fdn-default-https], [TLS][fdn-default-tls] | +| [FDN][fdn-default] | 🇫🇷 | 否 | 由法國資料網路營運 | | [HTTPS][fdn-default-https], [TLS][fdn-default-tls] | | [FFMUC-DNS][ffmuc-dns-default] | 🇩🇪 | 否 | FFMUC free DNS servers provided by Freifunk München. | [HTTPS][ffmuc-dns-default-https-signed], [TLS][ffmuc-dns-default-tls-signed] | [HTTPS][ffmuc-dns-default-https], [TLS][ffmuc-dns-default-tls] | | [Google 公共 DNS][google-default] | 🇺🇸 | 否 | 由谷歌公司營運 | [HTTPS][google-default-https-signed], [TLS][google-default-tls-signed] | [HTTPS][google-default-https], [TLS][google-default-tls] | | [keweonDNS][keweondns-default] | 🇩🇪 | 否 | 由 Aviontex 營運,阻擋廣告和追蹤器 | [HTTPS][keweondns-default-https-signed], [TLS][keweondns-default-tls-signed] | [HTTPS][keweondns-default-https], [TLS][keweondns-default-tls] | @@ -59,6 +57,7 @@ | [Quad9 無過濾][quad9-nofilter] | 🇨🇭 | 否 | 由 Quad9 基金會營運 | [HTTPS][quad9-nofilter-https-signed], [TLS][quad9-nofilter-tls-signed] | [HTTPS][quad9-nofilter-https], [TLS][quad9-nofilter-tls] | | [Tiarap][tiarapp-default] | 🇸🇬 🇺🇸 | 是 | 由 Tiarap 公司營運,阻擋廣告、追蹤器、釣魚和惡意軟體 | [HTTPS][tiarapp-default-https-signed], [TLS][tiarapp-default-tls-signed] | [HTTPS][tiarapp-default-https], [TLS][tiarapp-default-tls] | | [ADNull DNS][adnull-default] | 🇺🇦 | 是 | Public DNS operated by ADNull. Blocks ads & tracking. Paid plans offer personalized DNS with advanced ad and phishing blocking. | [HTTPS][adnull-default-https-signed] | [HTTPS][adnull-default-https] | +| [Wikimedia DNS][wikimedia-default] | 🇺🇸 | 否 | Operated by the Wikimedia Foundation. Beta service, no availability guarantees | | [HTTPS][wikimedia-default-https], [TLS][wikimedia-default-tls] | ## 安裝 @@ -92,10 +91,6 @@ macOS [(官方文檔)](https://support.apple.com/zh-tw/guide/mac-help/mh3556 [alibaba-default]: https://www.alidns.com/ [alibaba-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/alibaba-default-https.mobileconfig [alibaba-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/alibaba-default-tls.mobileconfig -[blahdns-cdn-adblock]: https://blahdns.com/ -[blahdns-cdn-adblock-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-cdn-adblock-https.mobileconfig -[blahdns-cdn-unfiltered]: https://blahdns.com/ -[blahdns-cdn-unfiltered-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-cdn-unfiltered-https.mobileconfig [blahdns-germany]: https://blahdns.com/ [blahdns-germany-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-germany-https.mobileconfig [blahdns-singapore]: https://blahdns.com/ @@ -177,18 +172,17 @@ macOS [(官方文檔)](https://support.apple.com/zh-tw/guide/mac-help/mh3556 [tiarapp-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/tiarapp-default-tls.mobileconfig [adnull-default]: https://adnull.com [adnull-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/adnull-default-https.mobileconfig -[360-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/360-default-https.mobileconfig +[wikimedia-default]: https://meta.wikimedia.org/wiki/Wikimedia_DNS +[wikimedia-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/wikimedia-default-https.mobileconfig +[wikimedia-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/wikimedia-default-tls.mobileconfig [adguard-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-default-https.mobileconfig [adguard-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-default-tls.mobileconfig [adguard-family-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-family-https.mobileconfig [adguard-family-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-family-tls.mobileconfig [adguard-nofilter-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-nofilter-https.mobileconfig [adguard-nofilter-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-nofilter-tls.mobileconfig -[alekberg-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alekberg-default-https.mobileconfig [alibaba-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alibaba-default-https.mobileconfig [alibaba-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alibaba-default-tls.mobileconfig -[blahdns-cdn-adblock-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-cdn-adblock-https.mobileconfig -[blahdns-cdn-unfiltered-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-cdn-unfiltered-https.mobileconfig [blahdns-germany-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-germany-https.mobileconfig [blahdns-singapore-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-singapore-https.mobileconfig [canadianshield-private-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/canadianshield-private-https.mobileconfig @@ -219,8 +213,6 @@ macOS [(官方文檔)](https://support.apple.com/zh-tw/guide/mac-help/mh3556 [dns4eu-protective-child-ads-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dns4eu-protective-child-ads-tls.mobileconfig [dnspod-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dnspod-default-https.mobileconfig [dnspod-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dnspod-default-tls.mobileconfig -[fdn-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/fdn-default-https.mobileconfig -[fdn-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/fdn-default-tls.mobileconfig [ffmuc-dns-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/ffmuc-dns-default-https.mobileconfig [ffmuc-dns-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/ffmuc-dns-default-tls.mobileconfig [google-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/google-default-https.mobileconfig diff --git a/README.md b/README.md index a589b96..66b5b1a 100644 --- a/README.md +++ b/README.md @@ -8,33 +8,39 @@ Configuration profiles for [DNS over HTTPS](https://en.wikipedia.org/wiki/DNS_ov Install / download profile (`.mobileconfig` file) from a table below. After that: -iPhones, iPads: +iPhones, iPads ([official docs](https://support.apple.com/102400)): 1. Open the file by using Safari (other browsers will just download the file and won't ask for installation) 2. Tap on "Allow" button. The profile should download. -3. Go to **System Settings => General => VPN, DNS & Device Management**, select downloaded profile and tap the "Install" button. +3. Open **Settings**, tap "Profile Downloaded" at the top (or go to **General => VPN & Device Management**), select downloaded profile and tap the "Install" button. + A downloaded profile is discarded if it is not installed within 8 minutes. With Stolen Device Protection enabled, installation can be refused away from familiar locations. -Mac: +Mac ([official docs](https://support.apple.com/guide/mac-help/mh35561/mac)): 1. Ensure the downloaded file has proper extension: NAME.mobileconfig, not NAME.mobileconfig.txt. -2. Choose Apple menu > System Settings, click Privacy and Security in the sidebar, then click Profiles on the right. - You may need to scroll down. You may be asked to supply your password or other information during installation. +2. Double-click the file, then choose Apple menu > System Settings, click General in the sidebar, then click Device Management. + On macOS 13 and 14 it is Privacy & Security > Profiles instead. You may need to scroll down. You may be asked to supply your password or other information during installation. 3. In the Downloaded section, double-click the profile. Review the profile contents then click Continue, Install or Enroll to install the profile. If an earlier version of a profile is already installed on your Mac, the settings in the updated version replace the previous ones. +Several profiles can be installed at once; only one is active at a time. To switch between them or turn encrypted DNS off temporarily, without uninstalling: + +- iPhones, iPads: **Settings => General => VPN, DNS & Device Management => DNS**. "Automatic" means the network's own (unencrypted) DNS. +- Mac: **System Settings => Network => VPN & Filters** ("Filters" on macOS 13 and 14). + +To verify that it works, open a test page of your provider, e.g. [1.1.1.1/help](https://1.1.1.1/help) for Cloudflare, [on.quad9.net](https://on.quad9.net) for Quad9, [adguard.com/test.html](https://adguard.com/en/test.html) for AdGuard. + ## Providers Censorship (also known as "filtering") means the profile will not send true information about `hostname=IP` relation for some hosts. | Name | Region | Censorship | Notes | Install | Install (unsigned) | | ------------------------------------------------------------------------------------ | ------ | ---------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- | -| [360 Security DNS][360-default] | 🇨🇳 | Yes | Operated by 360 Digital Security Group | [HTTPS][360-default-https-signed] | [HTTPS][360-default-https] | +| [360 Security DNS][360-default] | 🇨🇳 | Yes | Operated by 360 Digital Security Group | | [HTTPS][360-default-https] | | [AdGuard DNS Default][adguard-default] | 🇷🇺 | Yes | Operated by AdGuard Software Ltd. Blocks ads, tracking & phishing | [HTTPS][adguard-default-https-signed], [TLS][adguard-default-tls-signed] | [HTTPS][adguard-default-https], [TLS][adguard-default-tls] | | [AdGuard DNS Family Protection][adguard-family] | 🇷🇺 | Yes | Operated by AdGuard Software Ltd. Blocks `Default` + malware & adult content | [HTTPS][adguard-family-https-signed], [TLS][adguard-family-tls-signed] | [HTTPS][adguard-family-https], [TLS][adguard-family-tls] | | [AdGuard DNS Non-filtering][adguard-nofilter] | 🇷🇺 | No | Operated by AdGuard Software Ltd. Non-filtering | [HTTPS][adguard-nofilter-https-signed], [TLS][adguard-nofilter-tls-signed] | [HTTPS][adguard-nofilter-https], [TLS][adguard-nofilter-tls] | -| [Alekberg Encrypted DNS][alekberg-default] | 🇳🇱 | No | Independent | [HTTPS][alekberg-default-https-signed] | [HTTPS][alekberg-default-https] | +| [Alekberg Encrypted DNS][alekberg-default] | 🇳🇱 | No | Independent | | [HTTPS][alekberg-default-https] | | [Aliyun Public DNS][alibaba-default] | 🇨🇳 | No | Operated by Alibaba Cloud Ltd. | [HTTPS][alibaba-default-https-signed], [TLS][alibaba-default-tls-signed] | [HTTPS][alibaba-default-https], [TLS][alibaba-default-tls] | -| [BlahDNS CDN Filtered][blahdns-cdn-adblock] | 🇺🇸 | Yes | Independent. Blocks ads, tracking & malware | [HTTPS][blahdns-cdn-adblock-https-signed] | [HTTPS][blahdns-cdn-adblock-https] | -| [BlahDNS CDN Unfiltered][blahdns-cdn-unfiltered] | 🇺🇸 | No | Independent. Non-filtering | [HTTPS][blahdns-cdn-unfiltered-https-signed] | [HTTPS][blahdns-cdn-unfiltered-https] | | [BlahDNS Germany][blahdns-germany] | 🇩🇪 | Yes | Independent. Blocks ads, tracking & malware | [HTTPS][blahdns-germany-https-signed] | [HTTPS][blahdns-germany-https] | | [BlahDNS Singapore][blahdns-singapore] | 🇸🇬 | Yes | Independent. Blocks ads, tracking & malware | [HTTPS][blahdns-singapore-https-signed] | [HTTPS][blahdns-singapore-https] | | [Canadian Shield Private][canadianshield-private] | 🇨🇦 | No | Operated by the Canadian Internet Registration Authority (CIRA) | [HTTPS][canadianshield-private-https-signed], [TLS][canadianshield-private-tls-signed] | [HTTPS][canadianshield-private-https], [TLS][canadianshield-private-tls] | @@ -52,7 +58,7 @@ Censorship (also known as "filtering") means the profile will not send true info | [DNS4EU Protective with child protection][dns4eu-protective-child] | 🇨🇿 | Yes | Operated by a consortium lead by Whalebone. Blocks malware and explicit content. | [HTTPS][dns4eu-protective-child-https-signed], [TLS][dns4eu-protective-child-tls-signed] | [HTTPS][dns4eu-protective-child-https], [TLS][dns4eu-protective-child-tls] | | [DNS4EU Protective with child protection & ad-blocking][dns4eu-protective-child-ads] | 🇨🇿 | Yes | Operated by a consortium lead by Whalebone. Blocks Malware, Ads and explicit content | [HTTPS][dns4eu-protective-child-ads-https-signed], [TLS][dns4eu-protective-child-ads-tls-signed] | [HTTPS][dns4eu-protective-child-ads-https], [TLS][dns4eu-protective-child-ads-tls] | | [DNSPod Public DNS][dnspod-default] | 🇨🇳 | No | Operated by DNSPod Inc., a Tencent Cloud Company | [HTTPS][dnspod-default-https-signed], [TLS][dnspod-default-tls-signed] | [HTTPS][dnspod-default-https], [TLS][dnspod-default-tls] | -| [FDN][fdn-default] | 🇫🇷 | No | Operated by French Data Network | [HTTPS][fdn-default-https-signed], [TLS][fdn-default-tls-signed] | [HTTPS][fdn-default-https], [TLS][fdn-default-tls] | +| [FDN][fdn-default] | 🇫🇷 | No | Operated by French Data Network | | [HTTPS][fdn-default-https], [TLS][fdn-default-tls] | | [FFMUC-DNS][ffmuc-dns-default] | 🇩🇪 | No | FFMUC free DNS servers provided by Freifunk München. | [HTTPS][ffmuc-dns-default-https-signed], [TLS][ffmuc-dns-default-tls-signed] | [HTTPS][ffmuc-dns-default-https], [TLS][ffmuc-dns-default-tls] | | [Google Public DNS][google-default] | 🇺🇸 | No | Operated by Google LLC | [HTTPS][google-default-https-signed], [TLS][google-default-tls-signed] | [HTTPS][google-default-https], [TLS][google-default-tls] | | [keweonDNS][keweondns-default] | 🇩🇪 | No | Operated by Aviontex. Blocks ads & tracking | [HTTPS][keweondns-default-https-signed], [TLS][keweondns-default-tls-signed] | [HTTPS][keweondns-default-https], [TLS][keweondns-default-tls] | @@ -65,29 +71,35 @@ Censorship (also known as "filtering") means the profile will not send true info | [Quad9 Unfiltered][quad9-nofilter] | 🇨🇭 | No | Operated by Quad9 Foundation. | [HTTPS][quad9-nofilter-https-signed], [TLS][quad9-nofilter-tls-signed] | [HTTPS][quad9-nofilter-https], [TLS][quad9-nofilter-tls] | | [Tiarap][tiarapp-default] | 🇸🇬 🇺🇸 | Yes | Operated by Tiarap Inc. Blocks ads, tracking, phising & malware | [HTTPS][tiarapp-default-https-signed], [TLS][tiarapp-default-tls-signed] | [HTTPS][tiarapp-default-https], [TLS][tiarapp-default-tls] | | [ADNull DNS][adnull-default] | 🇺🇦 | Yes | Public DNS operated by ADNull. Blocks ads & tracking. Paid plans offer personalized DNS with advanced ad and phishing blocking. | [HTTPS][adnull-default-https-signed] | [HTTPS][adnull-default-https] | +| [Wikimedia DNS][wikimedia-default] | 🇺🇸 | No | Operated by the Wikimedia Foundation. Beta service, no availability guarantees | | [HTTPS][wikimedia-default-https], [TLS][wikimedia-default-tls] | ## Known issues 1. Some apps and protocols will ignore encrypted-dns: - Firefox in specific regions, App Store in all regions. [More info](https://github.com/paulmillr/encrypted-dns/issues/22) - - iCloud Private Relay, VPN clients - - Little Snitch, LuLu + - Chrome and other Chromium-based browsers, when their own "Use secure DNS" setting is enabled. [More info](https://github.com/paulmillr/encrypted-dns/issues/19) + - iCloud Private Relay, VPN clients: while a VPN is connected, DNS of the VPN is used. [More info](https://github.com/paulmillr/encrypted-dns/issues/18) + - Little Snitch, LuLu. [More info](https://github.com/paulmillr/encrypted-dns/issues/13) + - Devices connected to your Personal Hotspot. [More info](https://github.com/paulmillr/encrypted-dns/issues/88) - DNS-related CLI tools: `host`, `dig`, `nslookup` etc. 2. [Wi-Fi captive portals](https://en.wikipedia.org/wiki/Captive_portal) in cafes, hotels, airports are exempted by Apple from eDNS rules; to simplify authentication - this is ok 3. TLS DNS is easier for providers to block, because it uses non-standard port 853. [More info](https://security.googleblog.com/2022/07/dns-over-http3-in-android.html) 4. e-dns over TOR could be better privacy-wise, but we don't have this for now. +5. A custom port in `ServerURL` is ignored: DNS over HTTPS always goes to port 443. [More info](https://github.com/paulmillr/encrypted-dns/discussions/58) +6. Profiles without `ServerAddresses` look up the hostname of the resolver through the unencrypted DNS of the network first. ## Contributing - **To add / edit a profile:** edit json files in `src` directory. - **To verify resolver IPs / hostnames:** compare mobileconfig files to their original websites (open files in a text editor). - Check out [developer.apple.com](https://developer.apple.com/documentation/devicemanagement/dnssettings) for more docs. -- **On demand activation:** You can optionally exclude some trusted Wi-Fi networks where you don't want to use encrypted DNS. To do so, add your SSIDs in the [OnDemandRules](https://github.com/paulmillr/encrypted-dns/blob/master/profiles/template-on-demand.mobileconfig#L22-L38) section inside the `PayloadContent` dictionary of a profile. +- **On demand activation:** You can optionally exclude some trusted Wi-Fi networks where you don't want to use encrypted DNS. To do so, add your SSIDs in the [OnDemandRules](https://github.com/paulmillr/encrypted-dns/blob/master/profiles/template-on-demand-default-https.mobileconfig#L22-L38) section inside the `PayloadContent` dictionary of a profile. ### Scripts - `npm run build` - re-build profiles, signed profiles, READMEs +- `npm run check` - queries every server address of every profile over DoH / DoT and reports dead endpoints and certificate mismatches. Run it before sending a provider change. `npm run check -- quad9` checks one provider. - `npm run sign` - re-sign all profiles (updates `signature` field) using an ECC SSL certificate. - Signing is done using [key-producer](https://github.com/paulmillr/micro-key-producer) - Let's Encrypt free certificates are OK, but [expire in 45 days](https://letsencrypt.org/2026/02/24/rate-limits-45-day-certs). @@ -103,7 +115,7 @@ Censorship (also known as "filtering") means the profile will not send true info - `npm run new` - interactively creates new profile from CLI options. Can also be ran with flags. - `scripts/new.test.ts` includes CLI snapshot tests and a PTY interactive flow test. - PTY test runs by default; set `NEW_TEST_PTY=0` to opt out. -- `src/scripts/sign-single.ts --ca cert.pem --priv_key key.pem [--chain chain.pem] path.mobileconfig` - sings single mobileconfig +- `src/scripts/sign-single.ts --ca cert.pem --priv_key key.pem [--chain chain.pem] path.mobileconfig` - signs single mobileconfig - `src/scripts/sign-single-openssl.ts --ca cert.pem --priv_key key.pem [--chain chain.pem] path.mobileconfig` Sign one `.mobileconfig` using OpenSSL. - Uses `-nosmimecap` to match local CMS signing policy. - `src/scripts/detach.ts signed.mobileconfig` - detach CMS signature from signed profile and print PEM to stdout. @@ -128,10 +140,6 @@ Censorship (also known as "filtering") means the profile will not send true info [alibaba-default]: https://www.alidns.com/ [alibaba-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/alibaba-default-https.mobileconfig [alibaba-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/alibaba-default-tls.mobileconfig -[blahdns-cdn-adblock]: https://blahdns.com/ -[blahdns-cdn-adblock-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-cdn-adblock-https.mobileconfig -[blahdns-cdn-unfiltered]: https://blahdns.com/ -[blahdns-cdn-unfiltered-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-cdn-unfiltered-https.mobileconfig [blahdns-germany]: https://blahdns.com/ [blahdns-germany-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/blahdns-germany-https.mobileconfig [blahdns-singapore]: https://blahdns.com/ @@ -213,18 +221,17 @@ Censorship (also known as "filtering") means the profile will not send true info [tiarapp-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/tiarapp-default-tls.mobileconfig [adnull-default]: https://adnull.com [adnull-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/adnull-default-https.mobileconfig -[360-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/360-default-https.mobileconfig +[wikimedia-default]: https://meta.wikimedia.org/wiki/Wikimedia_DNS +[wikimedia-default-https]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/wikimedia-default-https.mobileconfig +[wikimedia-default-tls]: https://github.com/paulmillr/encrypted-dns/raw/master/profiles/wikimedia-default-tls.mobileconfig [adguard-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-default-https.mobileconfig [adguard-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-default-tls.mobileconfig [adguard-family-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-family-https.mobileconfig [adguard-family-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-family-tls.mobileconfig [adguard-nofilter-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-nofilter-https.mobileconfig [adguard-nofilter-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/adguard-nofilter-tls.mobileconfig -[alekberg-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alekberg-default-https.mobileconfig [alibaba-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alibaba-default-https.mobileconfig [alibaba-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/alibaba-default-tls.mobileconfig -[blahdns-cdn-adblock-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-cdn-adblock-https.mobileconfig -[blahdns-cdn-unfiltered-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-cdn-unfiltered-https.mobileconfig [blahdns-germany-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-germany-https.mobileconfig [blahdns-singapore-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/blahdns-singapore-https.mobileconfig [canadianshield-private-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/canadianshield-private-https.mobileconfig @@ -255,8 +262,6 @@ Censorship (also known as "filtering") means the profile will not send true info [dns4eu-protective-child-ads-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dns4eu-protective-child-ads-tls.mobileconfig [dnspod-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dnspod-default-https.mobileconfig [dnspod-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/dnspod-default-tls.mobileconfig -[fdn-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/fdn-default-https.mobileconfig -[fdn-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/fdn-default-tls.mobileconfig [ffmuc-dns-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/ffmuc-dns-default-https.mobileconfig [ffmuc-dns-default-tls-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/ffmuc-dns-default-tls.mobileconfig [google-default-https-signed]: https://github.com/paulmillr/encrypted-dns/raw/master/signed/google-default-https.mobileconfig diff --git a/package.json b/package.json index d5215ae..96ed9f2 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "build": "npm run build:clean && node src/scripts/build.ts", "sign": "node src/scripts/sign.ts", "new": "node src/scripts/new.ts", + "check": "node src/scripts/check-endpoints.ts", "test": "node --experimental-strip-types --test src/scripts/new.test.ts src/scripts/sign-single.test.ts", "format": "prettier --write \"src/*.json\" src/scripts/*.ts" }, diff --git a/profiles/360-default-https.mobileconfig b/profiles/360-default-https.mobileconfig index eee8e10..df617e6 100644 --- a/profiles/360-default-https.mobileconfig +++ b/profiles/360-default-https.mobileconfig @@ -9,11 +9,6 @@ DNSProtocol HTTPS - ServerAddresses - - 101.198.198.198 - 101.198.199.200 - ServerURL https://doh.360.cn/dns-query @@ -41,7 +36,7 @@ Filtering: yes PayloadDisplayName 360 Security DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.360-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/adguard-default-https.mobileconfig b/profiles/adguard-default-https.mobileconfig index cc70a9a..c703d11 100644 --- a/profiles/adguard-default-https.mobileconfig +++ b/profiles/adguard-default-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName AdGuard DNS Default Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.adguard-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/adguard-default-tls.mobileconfig b/profiles/adguard-default-tls.mobileconfig index 651a414..52312ca 100644 --- a/profiles/adguard-default-tls.mobileconfig +++ b/profiles/adguard-default-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName AdGuard DNS Default Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.adguard-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/adguard-family-https.mobileconfig b/profiles/adguard-family-https.mobileconfig index dc79164..cf4ad34 100644 --- a/profiles/adguard-family-https.mobileconfig +++ b/profiles/adguard-family-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName AdGuard DNS Family Protection Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.adguard-family-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/adguard-family-tls.mobileconfig b/profiles/adguard-family-tls.mobileconfig index 5de4136..11f53f1 100644 --- a/profiles/adguard-family-tls.mobileconfig +++ b/profiles/adguard-family-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName AdGuard DNS Family Protection Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.adguard-family-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/adguard-nofilter-https.mobileconfig b/profiles/adguard-nofilter-https.mobileconfig index b6430e6..579cc8e 100644 --- a/profiles/adguard-nofilter-https.mobileconfig +++ b/profiles/adguard-nofilter-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName AdGuard DNS Non-filtering Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.adguard-nofilter-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/adguard-nofilter-tls.mobileconfig b/profiles/adguard-nofilter-tls.mobileconfig index 6bff81f..9459e2e 100644 --- a/profiles/adguard-nofilter-tls.mobileconfig +++ b/profiles/adguard-nofilter-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName AdGuard DNS Non-filtering Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.adguard-nofilter-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/adnull-default-https.mobileconfig b/profiles/adnull-default-https.mobileconfig index ea392ea..7a58aad 100644 --- a/profiles/adnull-default-https.mobileconfig +++ b/profiles/adnull-default-https.mobileconfig @@ -41,7 +41,7 @@ Filtering: yes PayloadDisplayName ADNull DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.adnull-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/alekberg-default-https.mobileconfig b/profiles/alekberg-default-https.mobileconfig index fdee825..34676ee 100644 --- a/profiles/alekberg-default-https.mobileconfig +++ b/profiles/alekberg-default-https.mobileconfig @@ -11,8 +11,7 @@ HTTPS ServerAddresses - 89.38.131.38 - 2a0c:b9c0:f:451d::1 + 77.112.215.66 ServerURL https://dnsnl.alekberg.net/dns-query @@ -46,7 +45,7 @@ Filtering: no PayloadDisplayName Alekberg Encrypted DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.alekberg-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/alibaba-default-https.mobileconfig b/profiles/alibaba-default-https.mobileconfig index a8c1492..396e3fe 100644 --- a/profiles/alibaba-default-https.mobileconfig +++ b/profiles/alibaba-default-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Aliyun Public DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.alibaba-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/alibaba-default-tls.mobileconfig b/profiles/alibaba-default-tls.mobileconfig index 7b16710..13ec75a 100644 --- a/profiles/alibaba-default-tls.mobileconfig +++ b/profiles/alibaba-default-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Aliyun Public DNS Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.alibaba-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/blahdns-germany-https.mobileconfig b/profiles/blahdns-germany-https.mobileconfig index 104e69a..b45e2bd 100644 --- a/profiles/blahdns-germany-https.mobileconfig +++ b/profiles/blahdns-germany-https.mobileconfig @@ -47,7 +47,7 @@ https://blahdns.com PayloadDisplayName BlahDNS Germany Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.blahdns-germany-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/blahdns-singapore-https.mobileconfig b/profiles/blahdns-singapore-https.mobileconfig index 9be3d28..578e4f4 100644 --- a/profiles/blahdns-singapore-https.mobileconfig +++ b/profiles/blahdns-singapore-https.mobileconfig @@ -47,7 +47,7 @@ https://blahdns.com PayloadDisplayName BlahDNS Singapore Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.blahdns-singapore-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/canadianshield-family-https.mobileconfig b/profiles/canadianshield-family-https.mobileconfig index a4528d8..7fda2e8 100644 --- a/profiles/canadianshield-family-https.mobileconfig +++ b/profiles/canadianshield-family-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Canadian Shield Family Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.canadianshield-family-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/canadianshield-family-tls.mobileconfig b/profiles/canadianshield-family-tls.mobileconfig index da362cb..28cc01a 100644 --- a/profiles/canadianshield-family-tls.mobileconfig +++ b/profiles/canadianshield-family-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Canadian Shield Family Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.canadianshield-family-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/canadianshield-private-https.mobileconfig b/profiles/canadianshield-private-https.mobileconfig index 91f9b4d..bc7e29b 100644 --- a/profiles/canadianshield-private-https.mobileconfig +++ b/profiles/canadianshield-private-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Canadian Shield Private Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.canadianshield-private-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/canadianshield-private-tls.mobileconfig b/profiles/canadianshield-private-tls.mobileconfig index 950283a..d719fcd 100644 --- a/profiles/canadianshield-private-tls.mobileconfig +++ b/profiles/canadianshield-private-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Canadian Shield Private Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.canadianshield-private-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/canadianshield-protected-https.mobileconfig b/profiles/canadianshield-protected-https.mobileconfig index fc20658..39411e8 100644 --- a/profiles/canadianshield-protected-https.mobileconfig +++ b/profiles/canadianshield-protected-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Canadian Shield Protected Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.canadianshield-protected-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/canadianshield-protected-tls.mobileconfig b/profiles/canadianshield-protected-tls.mobileconfig index 1052340..6ce55e5 100644 --- a/profiles/canadianshield-protected-tls.mobileconfig +++ b/profiles/canadianshield-protected-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Canadian Shield Protected Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.canadianshield-protected-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cleanbrowsing-adult-https.mobileconfig b/profiles/cleanbrowsing-adult-https.mobileconfig index c2c49ad..f1d2cae 100644 --- a/profiles/cleanbrowsing-adult-https.mobileconfig +++ b/profiles/cleanbrowsing-adult-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cleanbrowsing Adult Filter Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cleanbrowsing-adult-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cleanbrowsing-adult-tls.mobileconfig b/profiles/cleanbrowsing-adult-tls.mobileconfig index fefb542..392ea51 100644 --- a/profiles/cleanbrowsing-adult-tls.mobileconfig +++ b/profiles/cleanbrowsing-adult-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cleanbrowsing Adult Filter Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cleanbrowsing-adult-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cleanbrowsing-family-https.mobileconfig b/profiles/cleanbrowsing-family-https.mobileconfig index 44e66bf..b74c340 100644 --- a/profiles/cleanbrowsing-family-https.mobileconfig +++ b/profiles/cleanbrowsing-family-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cleanbrowsing Family Filter Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cleanbrowsing-family-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cleanbrowsing-family-tls.mobileconfig b/profiles/cleanbrowsing-family-tls.mobileconfig index 0bf6159..dd94018 100644 --- a/profiles/cleanbrowsing-family-tls.mobileconfig +++ b/profiles/cleanbrowsing-family-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cleanbrowsing Family Filter Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cleanbrowsing-family-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cleanbrowsing-security-https.mobileconfig b/profiles/cleanbrowsing-security-https.mobileconfig index 495dacb..6a64e72 100644 --- a/profiles/cleanbrowsing-security-https.mobileconfig +++ b/profiles/cleanbrowsing-security-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cleanbrowsing Security Filter Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cleanbrowsing-security-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cleanbrowsing-security-tls.mobileconfig b/profiles/cleanbrowsing-security-tls.mobileconfig index 5aa3daa..cf8adbc 100644 --- a/profiles/cleanbrowsing-security-tls.mobileconfig +++ b/profiles/cleanbrowsing-security-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cleanbrowsing Security Filter Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cleanbrowsing-security-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cloudflare-default-https.mobileconfig b/profiles/cloudflare-default-https.mobileconfig index bbe0345..b8bd940 100644 --- a/profiles/cloudflare-default-https.mobileconfig +++ b/profiles/cloudflare-default-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Cloudflare 1.1.1.1 Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cloudflare-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cloudflare-default-tls.mobileconfig b/profiles/cloudflare-default-tls.mobileconfig index d82fb53..a7748e1 100644 --- a/profiles/cloudflare-default-tls.mobileconfig +++ b/profiles/cloudflare-default-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Cloudflare 1.1.1.1 Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cloudflare-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cloudflare-family-https.mobileconfig b/profiles/cloudflare-family-https.mobileconfig index 222d6cd..1d7b8ca 100644 --- a/profiles/cloudflare-family-https.mobileconfig +++ b/profiles/cloudflare-family-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cloudflare 1.1.1.1 Family Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cloudflare-family-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/cloudflare-malware-https.mobileconfig b/profiles/cloudflare-malware-https.mobileconfig index 8b0d7cb..282009a 100644 --- a/profiles/cloudflare-malware-https.mobileconfig +++ b/profiles/cloudflare-malware-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Cloudflare 1.1.1.1 Security Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.cloudflare-malware-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-default-https.mobileconfig b/profiles/dns4eu-default-https.mobileconfig index 0d2db1e..1866085 100644 --- a/profiles/dns4eu-default-https.mobileconfig +++ b/profiles/dns4eu-default-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName DNS4EU Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-default-tls.mobileconfig b/profiles/dns4eu-default-tls.mobileconfig index 1ecc84d..a32d45d 100644 --- a/profiles/dns4eu-default-tls.mobileconfig +++ b/profiles/dns4eu-default-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName DNS4EU Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-malware-https.mobileconfig b/profiles/dns4eu-malware-https.mobileconfig index f92df32..552ca1f 100644 --- a/profiles/dns4eu-malware-https.mobileconfig +++ b/profiles/dns4eu-malware-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-malware-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-malware-tls.mobileconfig b/profiles/dns4eu-malware-tls.mobileconfig index 9ee16d4..a2fc88a 100644 --- a/profiles/dns4eu-malware-tls.mobileconfig +++ b/profiles/dns4eu-malware-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-malware-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-protective-ads-https.mobileconfig b/profiles/dns4eu-protective-ads-https.mobileconfig index 1cede54..475be0b 100644 --- a/profiles/dns4eu-protective-ads-https.mobileconfig +++ b/profiles/dns4eu-protective-ads-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective ad-blocking Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-protective-ads-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-protective-ads-tls.mobileconfig b/profiles/dns4eu-protective-ads-tls.mobileconfig index 2633555..bf804d5 100644 --- a/profiles/dns4eu-protective-ads-tls.mobileconfig +++ b/profiles/dns4eu-protective-ads-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective ad-blocking Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-protective-ads-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-protective-child-ads-https.mobileconfig b/profiles/dns4eu-protective-child-ads-https.mobileconfig index ca12a69..8557781 100644 --- a/profiles/dns4eu-protective-child-ads-https.mobileconfig +++ b/profiles/dns4eu-protective-child-ads-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective with child protection & ad-blocking Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-protective-child-ads-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-protective-child-ads-tls.mobileconfig b/profiles/dns4eu-protective-child-ads-tls.mobileconfig index 1d21f79..c33afe1 100644 --- a/profiles/dns4eu-protective-child-ads-tls.mobileconfig +++ b/profiles/dns4eu-protective-child-ads-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective with child protection & ad-blocking Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-protective-child-ads-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-protective-child-https.mobileconfig b/profiles/dns4eu-protective-child-https.mobileconfig index 7d856d9..6575816 100644 --- a/profiles/dns4eu-protective-child-https.mobileconfig +++ b/profiles/dns4eu-protective-child-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective with child protection Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-protective-child-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dns4eu-protective-child-tls.mobileconfig b/profiles/dns4eu-protective-child-tls.mobileconfig index 43028f5..d4c913c 100644 --- a/profiles/dns4eu-protective-child-tls.mobileconfig +++ b/profiles/dns4eu-protective-child-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName DNS4EU Protective with child protection Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dns4eu-protective-child-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dnspod-default-https.mobileconfig b/profiles/dnspod-default-https.mobileconfig index 3e2fcbb..43e9620 100644 --- a/profiles/dnspod-default-https.mobileconfig +++ b/profiles/dnspod-default-https.mobileconfig @@ -41,7 +41,7 @@ Filtering: no PayloadDisplayName DNSPod Public DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dnspod-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/dnspod-default-tls.mobileconfig b/profiles/dnspod-default-tls.mobileconfig index 49582fa..1f25e9a 100644 --- a/profiles/dnspod-default-tls.mobileconfig +++ b/profiles/dnspod-default-tls.mobileconfig @@ -41,7 +41,7 @@ Filtering: no PayloadDisplayName DNSPod Public DNS Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.dnspod-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/fdn-default-https.mobileconfig b/profiles/fdn-default-https.mobileconfig index e9f7419..39da2df 100644 --- a/profiles/fdn-default-https.mobileconfig +++ b/profiles/fdn-default-https.mobileconfig @@ -12,9 +12,7 @@ ServerAddresses 2001:910:800::12 - 2001:910:800::40 80.67.169.12 - 80.67.169.40 ServerURL https://ns0.fdn.fr/dns-query @@ -43,7 +41,7 @@ Filtering: no PayloadDisplayName FDN Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.fdn-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/fdn-default-tls.mobileconfig b/profiles/fdn-default-tls.mobileconfig index ce4dd06..06de49d 100644 --- a/profiles/fdn-default-tls.mobileconfig +++ b/profiles/fdn-default-tls.mobileconfig @@ -12,12 +12,10 @@ ServerAddresses 2001:910:800::12 - 2001:910:800::40 80.67.169.12 - 80.67.169.40 ServerName - dns.fdn + ns0.fdn.fr PayloadDescription Configures device to use FDN Encrypted DNS over TLS @@ -43,7 +41,7 @@ Filtering: no PayloadDisplayName FDN Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.fdn-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/ffmuc-dns-default-https.mobileconfig b/profiles/ffmuc-dns-default-https.mobileconfig index 393e819..722d148 100644 --- a/profiles/ffmuc-dns-default-https.mobileconfig +++ b/profiles/ffmuc-dns-default-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName FFMUC-DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.ffmuc-dns-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/ffmuc-dns-default-tls.mobileconfig b/profiles/ffmuc-dns-default-tls.mobileconfig index 2b90ca3..70de629 100644 --- a/profiles/ffmuc-dns-default-tls.mobileconfig +++ b/profiles/ffmuc-dns-default-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName FFMUC-DNS Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.ffmuc-dns-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/google-default-https.mobileconfig b/profiles/google-default-https.mobileconfig index 5f69bfe..5bbe8e5 100644 --- a/profiles/google-default-https.mobileconfig +++ b/profiles/google-default-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Google Public DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.google-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/google-default-tls.mobileconfig b/profiles/google-default-tls.mobileconfig index ed06245..72186ff 100644 --- a/profiles/google-default-tls.mobileconfig +++ b/profiles/google-default-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Google Public DNS Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.google-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/keweondns-default-https.mobileconfig b/profiles/keweondns-default-https.mobileconfig index 24c8b7b..b4042f1 100644 --- a/profiles/keweondns-default-https.mobileconfig +++ b/profiles/keweondns-default-https.mobileconfig @@ -36,7 +36,7 @@ Filtering: no PayloadDisplayName keweonDNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.keweondns-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/keweondns-default-tls.mobileconfig b/profiles/keweondns-default-tls.mobileconfig index 1fc4ada..978bcdc 100644 --- a/profiles/keweondns-default-tls.mobileconfig +++ b/profiles/keweondns-default-tls.mobileconfig @@ -36,7 +36,7 @@ Filtering: no PayloadDisplayName keweonDNS Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.keweondns-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/mullvad-adblock-https.mobileconfig b/profiles/mullvad-adblock-https.mobileconfig index 9d06e71..49283f8 100644 --- a/profiles/mullvad-adblock-https.mobileconfig +++ b/profiles/mullvad-adblock-https.mobileconfig @@ -41,7 +41,7 @@ Filtering: yes PayloadDisplayName Mullvad DNS Adblock Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.mullvad-adblock-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/mullvad-default-https.mobileconfig b/profiles/mullvad-default-https.mobileconfig index 143fc4e..f319826 100644 --- a/profiles/mullvad-default-https.mobileconfig +++ b/profiles/mullvad-default-https.mobileconfig @@ -41,7 +41,7 @@ Filtering: yes PayloadDisplayName Mullvad DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.mullvad-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/opendns-default-https.mobileconfig b/profiles/opendns-default-https.mobileconfig index 3abd25e..f60ca05 100644 --- a/profiles/opendns-default-https.mobileconfig +++ b/profiles/opendns-default-https.mobileconfig @@ -36,7 +36,7 @@ Filtering: no PayloadDisplayName OpenDNS Standard Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.opendns-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/opendns-family-https.mobileconfig b/profiles/opendns-family-https.mobileconfig index 5905980..f0b1838 100644 --- a/profiles/opendns-family-https.mobileconfig +++ b/profiles/opendns-family-https.mobileconfig @@ -36,7 +36,7 @@ Filtering: yes PayloadDisplayName OpenDNS FamilyShield Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.opendns-family-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/quad9-ECS-https.mobileconfig b/profiles/quad9-ECS-https.mobileconfig index 464f282..a2fa066 100644 --- a/profiles/quad9-ECS-https.mobileconfig +++ b/profiles/quad9-ECS-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Quad9 w/ ECS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.quad9-ECS-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/quad9-ECS-tls.mobileconfig b/profiles/quad9-ECS-tls.mobileconfig index f384ac4..3e18502 100644 --- a/profiles/quad9-ECS-tls.mobileconfig +++ b/profiles/quad9-ECS-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Quad9 w/ ECS Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.quad9-ECS-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/quad9-default-https.mobileconfig b/profiles/quad9-default-https.mobileconfig index 1eaa949..5e9cbbb 100644 --- a/profiles/quad9-default-https.mobileconfig +++ b/profiles/quad9-default-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Quad9 Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.quad9-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/quad9-default-tls.mobileconfig b/profiles/quad9-default-tls.mobileconfig index 065221d..f424a35 100644 --- a/profiles/quad9-default-tls.mobileconfig +++ b/profiles/quad9-default-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: yes PayloadDisplayName Quad9 Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.quad9-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/quad9-nofilter-https.mobileconfig b/profiles/quad9-nofilter-https.mobileconfig index 7292965..8bb0e1f 100644 --- a/profiles/quad9-nofilter-https.mobileconfig +++ b/profiles/quad9-nofilter-https.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Quad9 Unfiltered Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.quad9-nofilter-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/quad9-nofilter-tls.mobileconfig b/profiles/quad9-nofilter-tls.mobileconfig index 539b124..4e04671 100644 --- a/profiles/quad9-nofilter-tls.mobileconfig +++ b/profiles/quad9-nofilter-tls.mobileconfig @@ -43,7 +43,7 @@ Filtering: no PayloadDisplayName Quad9 Unfiltered Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.quad9-nofilter-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/template-on-demand-default-https.mobileconfig b/profiles/template-on-demand-default-https.mobileconfig index 41fabab..93e3a72 100644 --- a/profiles/template-on-demand-default-https.mobileconfig +++ b/profiles/template-on-demand-default-https.mobileconfig @@ -60,7 +60,7 @@ Filtering: no PayloadDisplayName Example Encrypted DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.template-on-demand-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/tiarapp-default-https.mobileconfig b/profiles/tiarapp-default-https.mobileconfig index 377b91b..bac412c 100644 --- a/profiles/tiarapp-default-https.mobileconfig +++ b/profiles/tiarapp-default-https.mobileconfig @@ -36,7 +36,7 @@ Filtering: yes PayloadDisplayName Tiarap Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.tiarapp-default-https PayloadRemovalDisallowed PayloadScope diff --git a/profiles/tiarapp-default-tls.mobileconfig b/profiles/tiarapp-default-tls.mobileconfig index f0f7319..90305e3 100644 --- a/profiles/tiarapp-default-tls.mobileconfig +++ b/profiles/tiarapp-default-tls.mobileconfig @@ -36,7 +36,7 @@ Filtering: yes PayloadDisplayName Tiarap Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.tiarapp-default-tls PayloadRemovalDisallowed PayloadScope diff --git a/profiles/blahdns-cdn-unfiltered-https.mobileconfig b/profiles/wikimedia-default-https.mobileconfig similarity index 57% rename from profiles/blahdns-cdn-unfiltered-https.mobileconfig rename to profiles/wikimedia-default-https.mobileconfig index 05b6157..a441a83 100644 --- a/profiles/blahdns-cdn-unfiltered-https.mobileconfig +++ b/profiles/wikimedia-default-https.mobileconfig @@ -9,19 +9,24 @@ DNSProtocol HTTPS + ServerAddresses + + 2001:67c:930::1 + 185.71.138.138 + ServerURL - https://doh1.blahdns.com/uncensor + https://wikimedia-dns.org/dns-query PayloadDescription - Configures device to use BlahDNS CDN Unfiltered Encrypted DNS over HTTPS + Configures device to use Wikimedia DNS Encrypted DNS over HTTPS PayloadDisplayName - BlahDNS CDN Unfiltered Encrypted DNS over HTTPS + Wikimedia DNS Encrypted DNS over HTTPS PayloadIdentifier - com.apple.dnsSettings.managed.68a187fb-09ed-583d-90e8-86768d65ec77 + com.apple.dnsSettings.managed.d5181f9a-3a09-5c90-af64-3a1065c9d8d8 PayloadType com.apple.dnsSettings.managed PayloadUUID - 68A187FB-09ED-583D-90E8-86768D65EC77 + D5181F9A-3A09-5C90-AF64-3A1065C9D8D8 PayloadVersion 1 ProhibitDisablement @@ -29,20 +34,14 @@ PayloadDescription - Configures device to use BlahDNS CDN Unfiltered over HTTPS -Independent. Non-filtering. + Configures device to use Wikimedia DNS over HTTPS +Operated by the Wikimedia Foundation. Beta service, no availability guarantees. Server location: 🇺🇸. Filtering: no - ConsentText - - default - Privacy policy: -https://blahdns.com - PayloadDisplayName - BlahDNS CDN Unfiltered Encrypted DNS over HTTPS + Wikimedia DNS Encrypted DNS over HTTPS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.wikimedia-default-https PayloadRemovalDisallowed PayloadScope @@ -50,7 +49,7 @@ https://blahdns.com PayloadType Configuration PayloadUUID - 9B014330-556D-5F81-8279-71E5CB9F418B + 78ADA02A-59DB-5932-B8A6-B9ADC08810E4 PayloadVersion 1 diff --git a/profiles/blahdns-cdn-adblock-https.mobileconfig b/profiles/wikimedia-default-tls.mobileconfig similarity index 53% rename from profiles/blahdns-cdn-adblock-https.mobileconfig rename to profiles/wikimedia-default-tls.mobileconfig index 43d326f..2e1cb64 100644 --- a/profiles/blahdns-cdn-adblock-https.mobileconfig +++ b/profiles/wikimedia-default-tls.mobileconfig @@ -8,20 +8,25 @@ DNSSettings DNSProtocol - HTTPS - ServerURL - https://doh1.blahdns.com/dns-query + TLS + ServerAddresses + + 2001:67c:930::1 + 185.71.138.138 + + ServerName + wikimedia-dns.org PayloadDescription - Configures device to use BlahDNS CDN Filtered Encrypted DNS over HTTPS + Configures device to use Wikimedia DNS Encrypted DNS over TLS PayloadDisplayName - BlahDNS CDN Filtered Encrypted DNS over HTTPS + Wikimedia DNS Encrypted DNS over TLS PayloadIdentifier - com.apple.dnsSettings.managed.81f9f40a-545c-5c09-bc7a-55957bda3333 + com.apple.dnsSettings.managed.4c243d7c-b305-5b8b-8071-37a3baca3510 PayloadType com.apple.dnsSettings.managed PayloadUUID - 81F9F40A-545C-5C09-BC7A-55957BDA3333 + 4C243D7C-B305-5B8B-8071-37A3BACA3510 PayloadVersion 1 ProhibitDisablement @@ -29,20 +34,14 @@ PayloadDescription - Configures device to use BlahDNS CDN Filtered over HTTPS -Independent. Blocks ads, tracking & malware. + Configures device to use Wikimedia DNS over TLS +Operated by the Wikimedia Foundation. Beta service, no availability guarantees. Server location: 🇺🇸. -Filtering: yes - ConsentText - - default - Privacy policy: -https://blahdns.com - +Filtering: no PayloadDisplayName - BlahDNS CDN Filtered Encrypted DNS over HTTPS + Wikimedia DNS Encrypted DNS over TLS PayloadIdentifier - com.paulmillr.apple-dns + com.paulmillr.apple-dns.wikimedia-default-tls PayloadRemovalDisallowed PayloadScope @@ -50,7 +49,7 @@ https://blahdns.com PayloadType Configuration PayloadUUID - 24AA3B1E-1B40-59AA-AC78-7CD6B5F9F294 + EE381B26-A0A8-50A6-B005-70804EE44AF0 PayloadVersion 1 diff --git a/signed/360-default-https.mobileconfig b/signed/360-default-https.mobileconfig deleted file mode 100644 index b496bd9..0000000 Binary files a/signed/360-default-https.mobileconfig and /dev/null differ diff --git a/signed/alekberg-default-https.mobileconfig b/signed/alekberg-default-https.mobileconfig deleted file mode 100644 index 94a6dfc..0000000 Binary files a/signed/alekberg-default-https.mobileconfig and /dev/null differ diff --git a/signed/blahdns-cdn-adblock-https.mobileconfig b/signed/blahdns-cdn-adblock-https.mobileconfig deleted file mode 100644 index b23cde1..0000000 Binary files a/signed/blahdns-cdn-adblock-https.mobileconfig and /dev/null differ diff --git a/signed/blahdns-cdn-unfiltered-https.mobileconfig b/signed/blahdns-cdn-unfiltered-https.mobileconfig deleted file mode 100644 index b2c6ea6..0000000 Binary files a/signed/blahdns-cdn-unfiltered-https.mobileconfig and /dev/null differ diff --git a/signed/fdn-default-https.mobileconfig b/signed/fdn-default-https.mobileconfig deleted file mode 100644 index 11bfd93..0000000 Binary files a/signed/fdn-default-https.mobileconfig and /dev/null differ diff --git a/signed/fdn-default-tls.mobileconfig b/signed/fdn-default-tls.mobileconfig deleted file mode 100644 index 6041869..0000000 Binary files a/signed/fdn-default-tls.mobileconfig and /dev/null differ diff --git a/src/00-360.json b/src/00-360.json index 64e8fd8..e7ee47c 100644 --- a/src/00-360.json +++ b/src/00-360.json @@ -14,13 +14,8 @@ "censorship": true, "variants": { "default": { - "ServerAddresses": [ - "101.198.198.198", - "101.198.199.200" - ], "https": { - "ServerURLOrName": "https://doh.360.cn/dns-query", - "signature": "3045022100f90ba7ca7d511a93a55e81515b272275eb03ca520e2c42e948031bd32730f61c0220483d1c92c7903a498fdfddebbc6e6341911272f5067df7b779aadd6bf5639253" + "ServerURLOrName": "https://doh.360.cn/dns-query" } } } diff --git a/src/02-alekberg.json b/src/02-alekberg.json index 2abc053..971acbe 100644 --- a/src/02-alekberg.json +++ b/src/02-alekberg.json @@ -16,12 +16,10 @@ "variants": { "default": { "ServerAddresses": [ - "89.38.131.38", - "2a0c:b9c0:f:451d::1" + "77.112.215.66" ], "https": { - "ServerURLOrName": "https://dnsnl.alekberg.net/dns-query", - "signature": "304502206466696de198399e80d81f7ba11f28038931dbfda4e9fa4f03172f19e1c3eeec022100cee37c88cfe1eef1c849edb5f55375bbf6d4078c15819eb04b5e32b138e0f7ed" + "ServerURLOrName": "https://dnsnl.alekberg.net/dns-query" } } } diff --git a/src/04-blahdns.json b/src/04-blahdns.json index ec24b27..e213f8c 100644 --- a/src/04-blahdns.json +++ b/src/04-blahdns.json @@ -12,39 +12,6 @@ "censorship": true, "consent": "Privacy policy:\nhttps://blahdns.com", "variants": { - "cdn-adblock": { - "https": { - "ServerURLOrName": "https://doh1.blahdns.com/dns-query", - "signature": "304402206f1222b24c5409783988d698f04cd85138fc14e484cb9d560cf954050fe711c302202c7fe966d9e92a5bd987206fd14abf08d45f53c9691681a759cdbd67ada873f5" - }, - "names": { - "en": "CDN Filtered", - "cmn-CN": "CDN 过滤", - "cmn-TW": "CDN 過濾" - }, - "notes": { - "en": "Blocks ads, tracking & malware", - "cmn-CN": "拦截广告、跟踪器和恶意软件", - "cmn-TW": "阻擋廣告、追蹤器和惡意軟體" - } - }, - "cdn-unfiltered": { - "names": { - "en": "CDN Unfiltered", - "cmn-CN": "CDN 无过滤", - "cmn-TW": "CDN 無過濾" - }, - "notes": { - "en": "Non-filtering", - "cmn-CN": "无过滤", - "cmn-TW": "無過濾" - }, - "censorship": false, - "https": { - "ServerURLOrName": "https://doh1.blahdns.com/uncensor", - "signature": "3045022068aa06d5be5a66f070b1099d35af220ec58e21fcea1ed4f30620cf59fa707003022100db91ad5b944e13ef6269780395d3b1a5f9f58bfa93c280bbbc54fc0c92aeb30c" - } - }, "germany": { "region": "DE", "names": { diff --git a/src/10-fdn.json b/src/10-fdn.json index b17cb5f..e796af4 100644 --- a/src/10-fdn.json +++ b/src/10-fdn.json @@ -14,17 +14,13 @@ "default": { "ServerAddresses": [ "2001:910:800::12", - "2001:910:800::40", - "80.67.169.12", - "80.67.169.40" + "80.67.169.12" ], "https": { - "ServerURLOrName": "https://ns0.fdn.fr/dns-query", - "signature": "3045022100a1a6d757234a8f9ff6f1fe4a3abc91fdf530c78d0db7d35c5bff67fd5e2365c4022062c0f0d771db807fc7816f894c8ccdf9ac9b603ed241bdb66a93ffb1bce1468a" + "ServerURLOrName": "https://ns0.fdn.fr/dns-query" }, "tls": { - "ServerURLOrName": "dns.fdn", - "signature": "3046022100c441f4a38172a52318b035c60fc245acb955a65b45a016a7021dd400e30455330221008b061e2ece16b93f3b5205947e5b2415c0d8412cb6e03bd50d47514bbeb6702c" + "ServerURLOrName": "ns0.fdn.fr" } } } diff --git a/src/20-wikimedia.json b/src/20-wikimedia.json new file mode 100644 index 0000000..ee65caf --- /dev/null +++ b/src/20-wikimedia.json @@ -0,0 +1,25 @@ +{ + "names": { + "en": "Wikimedia DNS" + }, + "notes": { + "en": "Operated by the Wikimedia Foundation. Beta service, no availability guarantees" + }, + "website": "https://meta.wikimedia.org/wiki/Wikimedia_DNS", + "region": "US", + "censorship": false, + "variants": { + "default": { + "ServerAddresses": [ + "2001:67c:930::1", + "185.71.138.138" + ], + "https": { + "ServerURLOrName": "https://wikimedia-dns.org/dns-query" + }, + "tls": { + "ServerURLOrName": "wikimedia-dns.org" + } + } + } +} diff --git a/src/languages/01-en.md b/src/languages/01-en.md index 4ef1a4f..a944f10 100644 --- a/src/languages/01-en.md +++ b/src/languages/01-en.md @@ -8,19 +8,27 @@ Configuration profiles for [DNS over HTTPS](https://en.wikipedia.org/wiki/DNS_ov Install / download profile (`.mobileconfig` file) from a table below. After that: -iPhones, iPads: +iPhones, iPads ([official docs](https://support.apple.com/102400)): 1. Open the file by using Safari (other browsers will just download the file and won't ask for installation) 2. Tap on "Allow" button. The profile should download. -3. Go to **System Settings => General => VPN, DNS & Device Management**, select downloaded profile and tap the "Install" button. +3. Open **Settings**, tap "Profile Downloaded" at the top (or go to **General => VPN & Device Management**), select downloaded profile and tap the "Install" button. + A downloaded profile is discarded if it is not installed within 8 minutes. With Stolen Device Protection enabled, installation can be refused away from familiar locations. -Mac: +Mac ([official docs](https://support.apple.com/guide/mac-help/mh35561/mac)): 1. Ensure the downloaded file has proper extension: NAME.mobileconfig, not NAME.mobileconfig.txt. -2. Choose Apple menu > System Settings, click Privacy and Security in the sidebar, then click Profiles on the right. - You may need to scroll down. You may be asked to supply your password or other information during installation. +2. Double-click the file, then choose Apple menu > System Settings, click General in the sidebar, then click Device Management. + On macOS 13 and 14 it is Privacy & Security > Profiles instead. You may need to scroll down. You may be asked to supply your password or other information during installation. 3. In the Downloaded section, double-click the profile. Review the profile contents then click Continue, Install or Enroll to install the profile. If an earlier version of a profile is already installed on your Mac, the settings in the updated version replace the previous ones. +Several profiles can be installed at once; only one is active at a time. To switch between them or turn encrypted DNS off temporarily, without uninstalling: + +- iPhones, iPads: **Settings => General => VPN, DNS & Device Management => DNS**. "Automatic" means the network's own (unencrypted) DNS. +- Mac: **System Settings => Network => VPN & Filters** ("Filters" on macOS 13 and 14). + +To verify that it works, open a test page of your provider, e.g. [1.1.1.1/help](https://1.1.1.1/help) for Cloudflare, [on.quad9.net](https://on.quad9.net) for Quad9, [adguard.com/test.html](https://adguard.com/en/test.html) for AdGuard. + ## Providers Censorship (also known as "filtering") means the profile will not send true information about `hostname=IP` relation for some hosts. @@ -31,13 +39,17 @@ Censorship (also known as "filtering") means the profile will not send true info 1. Some apps and protocols will ignore encrypted-dns: - Firefox in specific regions, App Store in all regions. [More info](https://github.com/paulmillr/encrypted-dns/issues/22) - - iCloud Private Relay, VPN clients - - Little Snitch, LuLu + - Chrome and other Chromium-based browsers, when their own "Use secure DNS" setting is enabled. [More info](https://github.com/paulmillr/encrypted-dns/issues/19) + - iCloud Private Relay, VPN clients: while a VPN is connected, DNS of the VPN is used. [More info](https://github.com/paulmillr/encrypted-dns/issues/18) + - Little Snitch, LuLu. [More info](https://github.com/paulmillr/encrypted-dns/issues/13) + - Devices connected to your Personal Hotspot. [More info](https://github.com/paulmillr/encrypted-dns/issues/88) - DNS-related CLI tools: `host`, `dig`, `nslookup` etc. 2. [Wi-Fi captive portals](https://en.wikipedia.org/wiki/Captive_portal) in cafes, hotels, airports are exempted by Apple from eDNS rules; to simplify authentication - this is ok 3. TLS DNS is easier for providers to block, because it uses non-standard port 853. [More info](https://security.googleblog.com/2022/07/dns-over-http3-in-android.html) 4. e-dns over TOR could be better privacy-wise, but we don't have this for now. +5. A custom port in `ServerURL` is ignored: DNS over HTTPS always goes to port 443. [More info](https://github.com/paulmillr/encrypted-dns/discussions/58) +6. Profiles without `ServerAddresses` look up the hostname of the resolver through the unencrypted DNS of the network first. ## Contributing @@ -49,6 +61,7 @@ Censorship (also known as "filtering") means the profile will not send true info ### Scripts - `npm run build` - re-build profiles, signed profiles, READMEs +- `npm run check` - queries every server address of every profile over DoH / DoT and reports dead endpoints and certificate mismatches. Run it before sending a provider change. `npm run check -- quad9` checks one provider. - `npm run sign` - re-sign all profiles (updates `signature` field) using an ECC SSL certificate. - Signing is done using [key-producer](https://github.com/paulmillr/micro-key-producer) - Let's Encrypt free certificates are OK, but [expire in 45 days](https://letsencrypt.org/2026/02/24/rate-limits-45-day-certs). diff --git a/src/languages/02-cmn-CN.md b/src/languages/02-cmn-CN.md index 2202665..390e686 100644 --- a/src/languages/02-cmn-CN.md +++ b/src/languages/02-cmn-CN.md @@ -17,7 +17,7 @@ iPhone 和 iPad: Mac: 1. 确保下载的文件具有正确的扩展名:NAME.mobileconfig,而非 NAME.mobileconfig.txt。 -2. 选择苹果菜单 > “系统设置”,在侧边栏中点击“隐私与安全性”,然后点击右侧的“描述文件”。 +2. 选择苹果菜单 > “系统设置”,在侧边栏中点击“通用”,然后点击“设备管理”(macOS 13 和 14:“隐私与安全性” > “描述文件”)。 你可能需要向下滚动。安装过程中你可能会被要求提供密码或者其他信息。 3. 在“已下载”部分,双击描述文件。检查描述文件的内容,然后点击“继续”、“安装”或“注册”来安装描述文件。如果你的 Mac 上已经安装了一个旧版本的描述文件,新版本中的设置将覆盖旧版本。 @@ -30,7 +30,7 @@ Mac: ## 已知问题 1. 某些应用和协议会忽略加密 DNS: - - 特定地区的 Firefox,所有地区的 App Store。[更多信息](https://github.com/paulmill/encrypted-dns/issues/22) + - 特定地区的 Firefox,所有地区的 App Store。[更多信息](https://github.com/paulmillr/encrypted-dns/issues/22) - iCloud 专用代理,VPN 客户端 - Little Snitch,LuLu - DNS 相关的命令行工具:`host`,`dig`,`nslookup` 等。 diff --git a/src/scripts/build.ts b/src/scripts/build.ts index 582ea9a..9ed5ce8 100644 --- a/src/scripts/build.ts +++ b/src/scripts/build.ts @@ -296,7 +296,8 @@ const genProfile = (name: string, profile: Profile): string => { const payloadUUID = uuidV5(`${ROOT_IDENTIFIER}::payload::0::${rel}`); const payloadId = `com.apple.dnsSettings.managed.${payloadUUID.toLowerCase()}`; const topUUID = uuidV5(`${ROOT_IDENTIFIER}::root::${rel}`); - const topId = ROOT_IDENTIFIER; + // Unique per profile: the OS replaces an installed profile that has the same top-level identifier. + const topId = `${ROOT_IDENTIFIER}.${key}`; const serverKey = p.ServerURLOrName.startsWith('https://') ? 'ServerURL' : 'ServerName'; const dns: Record = { DNSProtocol: proto }; if (p.ServerAddresses && p.ServerAddresses.length) dns.ServerAddresses = p.ServerAddresses; diff --git a/src/scripts/check-endpoints.ts b/src/scripts/check-endpoints.ts new file mode 100644 index 0000000..dd466c6 --- /dev/null +++ b/src/scripts/check-endpoints.ts @@ -0,0 +1,124 @@ +#!/usr/bin/env node +// Live check: every ServerAddress of every profile must answer a DNS query for its +// ServerURL (DoH, HTTP/2 POST) or ServerName (DoT), with a certificate valid for that name. +// Usage: node src/scripts/check-endpoints.ts [provider-slug-substring] +import fs from 'node:fs'; +import http2 from 'node:http2'; +import net from 'node:net'; +import path from 'node:path'; +import tls from 'node:tls'; + +const SRC = path.join(import.meta.dirname, '..'); +const TIMEOUT = 10_000; +// example.com. IN A, recursion desired +const QUERY = Buffer.concat([ + Buffer.from([0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0]), + Buffer.from('\x07example\x03com\x00', 'latin1'), + Buffer.from([0, 1, 0, 1]), +]); +const check = (b: Buffer) => { + if (b.length < 12 || !(b[2] & 0x80)) throw new Error('not a DNS response'); + if (b[3] & 0x0f) throw new Error(`rcode ${b[3] & 0x0f}`); + if (!b.readUInt16BE(6)) throw new Error('empty answer'); +}; + +const dot = (name: string, ip?: string) => + new Promise((resolve, reject) => { + const s = tls.connect({ host: ip || name, port: 853, servername: name }); + let buf = Buffer.alloc(0); + s.on('error', reject); + s.on('close', () => reject(new Error('closed without answer'))); + s.on('secureConnect', () => { + const len = Buffer.alloc(2); + len.writeUInt16BE(QUERY.length); + s.write(Buffer.concat([len, QUERY])); + }); + s.on('data', (d) => { + buf = Buffer.concat([buf, d]); + if (buf.length < 2 || buf.length < 2 + buf.readUInt16BE(0)) return; + try { + check(buf.subarray(2)); + resolve(); + } catch (e) { + reject(e); + } + s.destroy(); + }); + }); + +const doh = (url: string, ip?: string) => + new Promise((resolve, reject) => { + const u = new URL(url); + const socket = tls.connect({ + host: ip || u.hostname, + port: 443, // Apple ignores a custom port in ServerURL + servername: u.hostname, + ALPNProtocols: ['h2'], + }); + socket.on('error', reject); // keeps the real cause (cert / route), not a generic stream cancel + const c = http2.connect(u.origin, { createConnection: () => socket }); + c.on('error', reject); + const r = c.request({ + ':method': 'POST', + ':path': u.pathname + u.search, + 'content-type': 'application/dns-message', + 'content-length': QUERY.length, + accept: 'application/dns-message', + }); + const chunks: Buffer[] = []; + let status = 0; + r.on('error', reject); + r.on('response', (h) => (status = Number(h[':status']))); + r.on('data', (d) => chunks.push(d)); + r.on('end', () => { + c.destroy(); + try { + if (status !== 200) throw new Error(`HTTP ${status}`); + check(Buffer.concat(chunks)); + resolve(); + } catch (e) { + reject(e); + } + }); + r.end(QUERY); + }); + +const withTimeout = (p: Promise) => + Promise.race([ + p, + new Promise((_, reject) => setTimeout(() => reject(new Error('timeout')), TIMEOUT)), + ]); + +const filter = process.argv[2] || ''; +const jobs: Promise[] = []; +for (const file of fs.readdirSync(SRC).filter((f) => f.endsWith('.json') && f.includes(filter))) { + const provider = JSON.parse(fs.readFileSync(path.join(SRC, file), 'utf8')); + if (provider.hidden) continue; + for (const [variantName, variant] of Object.entries(provider.variants)) { + for (const proto of ['https', 'tls'] as const) { + const endpoint = variant[proto]; + if (!endpoint) continue; + const ips: (string | undefined)[] = endpoint.ServerAddresses || variant.ServerAddresses || []; + // No ServerAddresses: the OS bootstraps the hostname through the network's own DNS. + for (const ip of ips.length ? ips : [undefined]) { + const label = `${file} ${variantName} ${proto} ${endpoint.ServerURLOrName} @ ${ip || 'system DNS'}`; + const run = proto === 'https' ? doh : dot; + jobs.push( + withTimeout(run(endpoint.ServerURLOrName, ip)).then( + () => `ok ${label}`, + (e) => + // An IPv6 address on a network without IPv6 says nothing about the resolver. + ip && net.isIPv6(ip) && ['ENETUNREACH', 'EHOSTUNREACH'].includes(e.code) + ? `skip ${label}: no IPv6 route` + : `FAIL ${label}: ${e.code || e.message}` + ) + ); + } + } + } +} +const results = (await Promise.all(jobs)).sort(); +console.log(results.join('\n')); +const failed = results.filter((r) => r.startsWith('FAIL')).length; +console.log(`\n${results.length} endpoints, ${failed} failed`); +process.exit(failed ? 1 : 0); diff --git a/src/scripts/new.test.ts b/src/scripts/new.test.ts index 8bf91af..86d911e 100644 --- a/src/scripts/new.test.ts +++ b/src/scripts/new.test.ts @@ -120,7 +120,7 @@ const EXPECT_ARGS = ` \tPayloadDisplayName \tArgs DNS Encrypted DNS over HTTPS \tPayloadIdentifier -\tcom.paulmillr.apple-dns +\tcom.paulmillr.apple-dns.args \tPayloadRemovalDisallowed \t \tPayloadScope @@ -174,7 +174,7 @@ const EXPECT_INTERACTIVE = ` \tPayloadDisplayName \tInteractive DNS Encrypted DNS over HTTPS \tPayloadIdentifier -\tcom.paulmillr.apple-dns +\tcom.paulmillr.apple-dns.interactive \tPayloadRemovalDisallowed \t \tPayloadScope