From f8d20c83032af983836ea27ae46eb0ca3dedd104 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 20 Feb 2024 14:05:53 +0100 Subject: [PATCH] [xray] fakedns support --- web/html/xui/fakedns_modal.html | 57 ++++++++++++++++++++ web/html/xui/xray.html | 73 ++++++++++++++++++++++++++ web/translation/translate.en_US.toml | 6 +++ web/translation/translate.fa_IR.toml | 6 +++ web/translation/translate.ru_RU.toml | 6 +++ web/translation/translate.vi_VN.toml | 6 +++ web/translation/translate.zh_Hans.toml | 6 +++ 7 files changed, 160 insertions(+) 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 00000000..c830f44d --- /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 8e40f832..9c488383 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -523,6 +523,7 @@ + DNS {{ i18n "pages.xray.dns.add" }} [[ dns.domains.join(",") ]] + Fake DNS + {{ i18n "pages.xray.fakedns.add" }} + + + @@ -582,6 +610,7 @@ {{template "reverseModal"}} {{template "balancerModal"}} {{template "dnsModal"}} +{{template "fakednsModal"}} {{template "warpModal"}}