diff --git a/AGHTechDoc.md b/AGHTechDoc.md
index 5e9fa0d5..5bae787a 100644
--- a/AGHTechDoc.md
+++ b/AGHTechDoc.md
@@ -830,6 +830,36 @@ Request:
"private_key_path":"..." // if set, private_key must be empty
}
+Response:
+
+ 200 OK
+
+### API: Validate TLS configuration
+
+Request:
+
+ POST /control/tls/validate
+
+ {
+ "enabled":true,
+ "port_https":443,
+ "port_dns_over_tls":853,
+ "port_dns_over_quic":784,
+ "allow_unencrypted_doh":false,
+ "certificate_chain":"...",
+ "private_key":"...",
+ "certificate_path":"...",
+ "private_key_path":"...",
+ "valid_cert":true,
+ "valid_chain":false,
+ "not_before":"2019-03-19T08:23:45Z",
+ "not_after":"2029-03-16T08:23:45Z",
+ "dns_names":null,
+ "valid_key":true,
+ "valid_pair":true
+ }
+
+
Response:
200 OK
@@ -1948,6 +1978,29 @@ Check if host name is blocked by SB/PC service:
sha256(sub.host.com)[0..1] -> hashes[2],...
...
+## API: Get DNS over HTTPS .mobileconfig
+
+Request:
+
+ GET /apple/doh.mobileconfig
+
+Response:
+
+ 200 OK
+
+ DOH plist file
+
+## API: Get DNS over TLS .mobileconfig
+
+Request:
+
+ GET /apple/dot.mobileconfig
+
+Response:
+
+ 200 OK
+
+ DOT plist file
## ipset
diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json
index 678dd39f..8f2eb5c9 100644
--- a/client/src/__locales/en.json
+++ b/client/src/__locales/en.json
@@ -249,6 +249,8 @@
"blocking_ipv6": "Blocking IPv6",
"dns_over_https": "DNS-over-HTTPS",
"dns_over_tls": "DNS-over-TLS",
+ "download_mobileconfig_doh": "Download .mobileconfig for DNS-over-HTTPS",
+ "download_mobileconfig_dot": "Download .mobileconfig for DNS-over-TLS",
"plain_dns": "Plain DNS",
"form_enter_rate_limit": "Enter rate limit",
"rate_limit": "Rate limit",
@@ -415,7 +417,8 @@
"dns_privacy": "DNS Privacy",
"setup_dns_privacy_1": "<0>DNS-over-TLS:0> Use <1>{{address}}1> string.",
"setup_dns_privacy_2": "<0>DNS-over-HTTPS:0> Use <1>{{address}}1> string.",
- "setup_dns_privacy_3": "<0>Please note that encrypted DNS protocols are supported only on Android 9. So you need to install additional software for other operating systems.0><0>Here's a list of software you can use.0>",
+ "setup_dns_privacy_3": "<0>Here's a list of software you can use.0>",
+ "setup_dns_privacy_4": "On an iOS 14 or MacOS Big Sur device you can download special '.mobileconfig' file that adds
text
,
+ ],
+ },
+ {
+ label: 'setup_dns_privacy_4',
+ components: {
+ highlight:
,
+ },
+ renderComponent: renderMobileconfigInfo,
+ },
{
label: 'setup_dns_privacy_ios_1',
components: [
@@ -51,16 +101,6 @@ const dnsPrivacyList = [{
],
},
- {
- label: 'setup_dns_privacy_ios_2',
- components: [
- {
- key: 0,
- href: 'https://adguard.com/adguard-ios/overview.html',
- },
- text
,
- ],
- },
],
},
{
@@ -116,26 +156,15 @@ const dnsPrivacyList = [{
},
];
-const renderDnsPrivacyList = ({ title, list }) =>