From 3d19f91bede4aee8ee44a4b0a31c4c7b91405785 Mon Sep 17 00:00:00 2001 From: ArtemBaskal Date: Tue, 3 Nov 2020 17:32:56 +0300 Subject: [PATCH] + client: 2241 Add DNS-over-QUIC string --- AGHTechDoc.md | 2 +- client/src/__locales/en.json | 3 ++- client/src/helpers/constants.js | 1 + openapi/openapi.yaml | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AGHTechDoc.md b/AGHTechDoc.md index 5bae787a..45dee068 100644 --- a/AGHTechDoc.md +++ b/AGHTechDoc.md @@ -1587,7 +1587,7 @@ Response: "upstream":"...", // Upstream URL starting with tcp://, tls://, https://, or with an IP address "answer_dnssec": true, "client":"127.0.0.1", - "client_proto": "" (plain) | "doh" | "dot", + "client_proto": "" (plain) | "doh" | "dot" | "doq", "elapsedMs":"0.098403", "filterId":1, "question":{ diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index 5f37ac36..388691b0 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -249,6 +249,7 @@ "blocking_ipv6": "Blocking IPv6", "dns_over_https": "DNS-over-HTTPS", "dns_over_tls": "DNS-over-TLS", + "dns_over_quic": "DNS-over-QUIC", "download_mobileconfig_doh": "Download .mobileconfig for DNS-over-HTTPS", "download_mobileconfig_dot": "Download .mobileconfig for DNS-over-TLS", "plain_dns": "Plain DNS", @@ -587,4 +588,4 @@ "adg_will_drop_dns_queries": "AdGuard Home will be dropping all DNS queries from this client.", "client_not_in_allowed_clients": "The client is not allowed because it is not in the \"Allowed clients\" list.", "experimental": "Experimental" -} \ No newline at end of file +} diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index 989a258b..7bce8387 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -475,6 +475,7 @@ export const BLOCK_ACTIONS = { export const SCHEME_TO_PROTOCOL_MAP = { doh: 'dns_over_https', dot: 'dns_over_tls', + doq: 'dns_over_quic', '': 'plain_dns', }; diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 6ad140e2..d9c9040c 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -1499,6 +1499,7 @@ components: enum: - dot - doh + - doq - "" elapsedMs: type: string