diff --git a/web/html/xui/dns_modal.html b/web/html/xui/dns_modal.html
new file mode 100644
index 00000000..72b583a6
--- /dev/null
+++ b/web/html/xui/dns_modal.html
@@ -0,0 +1,88 @@
+{{define "dnsModal"}}
+
+
+
+
+
+
+ +
+
+
+ -
+
+
+
+
+
+
+ [[ l ]]
+
+
+
+
+
+
+{{end}}
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index ae961cd4..d8906908 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -458,6 +458,61 @@
+
+
+
+
+
+
+
+
+
+
+
+ [[ l ]]
+
+
+
+
+
+ {{ i18n "pages.xray.dns.add" }}
+
+
+ [[ index+1 ]]
+
+ e.preventDefault()" type="more" style="font-size: 16px; text-decoration: bold;">
+
+
+
+ {{ i18n "edit" }}
+
+
+
+ {{ i18n "delete"}}
+
+
+
+
+
+
+ [[ dns.address ]]
+ [[ dns ]]
+
+
+ [[ dns.domains.join(",") ]]
+
+
+
+
@@ -480,6 +535,7 @@
{{template "ruleModal"}}
{{template "outModal"}}
{{template "reverseModal"}}
+{{template "dnsModal"}}
{{template "warpModal"}}
diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml
index 9d60fa45..f7a66eae 100644
--- a/web/translation/translate.en_US.toml
+++ b/web/translation/translate.en_US.toml
@@ -419,6 +419,15 @@
"psk" = "PreShared Key"
"domainStrategy" = "Domain Strategy"
+[pages.xray.dns]
+"enable" = "Enable DNS"
+"enableDesc" = "Enable built-in DNS server"
+"strategy" = "Query Strategy"
+"strategyDesc" = "Overall strategy to resolve domain names"
+"add" = "Add Server"
+"edit" = "Edit Server"
+"domains" = "Domains"
+
[tgbot]
"noResult" = "❗ No result!"
"wentWrong" = "❌ Something went wrong!"
diff --git a/web/translation/translate.fa_IR.toml b/web/translation/translate.fa_IR.toml
index cf8fee14..40746283 100644
--- a/web/translation/translate.fa_IR.toml
+++ b/web/translation/translate.fa_IR.toml
@@ -418,6 +418,15 @@
"psk" = "کلید مشترک"
"domainStrategy" = "استراتژی حل دامنه"
+[pages.xray.dns]
+"enable" = "فعال کردن حل دامنه"
+"enableDesc" = "سرور حل دامنه داخلی را فعال کنید"
+"strategy" = "استراتژی پرسوجو"
+"strategyDesc" = "استراتژی کلی برای حل نام دامنه"
+"add" = "افزودن سرور"
+"edit" = "ویرایش سرور"
+"domains" = "دامنهها"
+
[tgbot]
"noResult" = "❗نتیجهای یافت نشد"
"wentWrong" = "❌ مشکلی رخ دادهاست"
diff --git a/web/translation/translate.ru_RU.toml b/web/translation/translate.ru_RU.toml
index 5e72f603..25d65e7a 100644
--- a/web/translation/translate.ru_RU.toml
+++ b/web/translation/translate.ru_RU.toml
@@ -419,6 +419,15 @@
"psk" = "Общий ключ"
"domainStrategy" = "Стратегия домена"
+[pages.xray.dns]
+"enable" = "Включить DNS"
+"enableDesc" = "Включить встроенный DNS-сервер"
+"strategy" = "Стратегия запроса"
+"strategyDesc" = "Общая стратегия разрешения доменных имен"
+"add" = "Добавить сервер"
+"edit" = "Редактировать сервер"
+"domains" = "Домены"
+
[tgbot]
"noResult" = "❗ Нет результатов!"
"wentWrong" = "❌ Что-то пошло не так!"
diff --git a/web/translation/translate.vi_VN.toml b/web/translation/translate.vi_VN.toml
index 9bb8aaa7..94f18b77 100644
--- a/web/translation/translate.vi_VN.toml
+++ b/web/translation/translate.vi_VN.toml
@@ -419,6 +419,15 @@
"psk" = "Khóa chia sẻ"
"domainStrategy" = "Chiến lược tên miền"
+[pages.xray.dns]
+"enable" = "Kích hoạt DNS"
+"enableDesc" = "Kích hoạt máy chủ DNS tích hợp"
+"strategy" = "Chiến lược truy vấn"
+"strategyDesc" = "Chiến lược tổng thể để phân giải tên miền"
+"add" = "Thêm máy chủ"
+"edit" = "Chỉnh sửa máy chủ"
+"domains" = "Tên miền"
+
[tgbot]
"noResult" = "❗ Không có kết quả!"
"wentWrong" = "❌ Đã xảy ra lỗi!"
diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml
index 97662059..9d298706 100644
--- a/web/translation/translate.zh_Hans.toml
+++ b/web/translation/translate.zh_Hans.toml
@@ -419,6 +419,15 @@
"psk" = "共享密钥"
"domainStrategy" = "域策略"
+[pages.xray.dns]
+"enable" = "启用 DNS"
+"enableDesc" = "启用内置 DNS 服务器"
+"strategy" = "查询策略"
+"strategyDesc" = "解析域名的总体策略"
+"add" = "添加服务器"
+"edit" = "编辑服务器"
+"domains" = "域"
+
[tgbot]
"noResult" = "❗ 没有结果!"
"wentWrong" = "❌ 出了点问题!"