From 7708bb9af2a30fe5b815ff6d538a75ab7bff2e8a Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 21 Feb 2024 14:51:46 +0330 Subject: [PATCH] [xray] fakedns support Co-Authored-By: Alireza Ahmadi --- web/html/xui/fakedns_modal.html | 57 ++++++++++++++++++++ web/html/xui/xray.html | 73 +++++++++++++++++++++++++- web/translation/translate.en_US.toml | 6 +++ web/translation/translate.es_ES.toml | 6 +++ web/translation/translate.fa_IR.toml | 6 +++ web/translation/translate.id_ID.toml | 6 +++ web/translation/translate.ru_RU.toml | 6 +++ web/translation/translate.vi_VN.toml | 6 +++ web/translation/translate.zh_Hans.toml | 6 +++ 9 files changed, 171 insertions(+), 1 deletion(-) create mode 100644 web/html/xui/fakedns_modal.html diff --git a/web/html/xui/fakedns_modal.html b/web/html/xui/fakedns_modal.html new file mode 100644 index 0000000000..c830f44d3d --- /dev/null +++ b/web/html/xui/fakedns_modal.html @@ -0,0 +1,57 @@ +{{define "fakednsModal"}} + + + + + + + + + + + +{{end}} diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 6f21d00512..614ee65bd0 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -523,7 +523,7 @@ - + + Fake DNS + {{ i18n "pages.xray.fakedns.add" }} + + + @@ -601,6 +626,8 @@ {{template "outModal"}} {{template "reverseModal"}} {{template "balancerModal"}} +{{template "dnsModal"}} +{{template "fakednsModal"}} {{template "warpModal"}}