diff --git a/web/html/modals/dns_modal.html b/web/html/modals/dns_modal.html
index e6266c06..484bd2f8 100644
--- a/web/html/modals/dns_modal.html
+++ b/web/html/modals/dns_modal.html
@@ -6,6 +6,16 @@
+
+
+
+
+
+ [[ l ]]
+
+
+
@@ -15,15 +25,6 @@
-
-
- [[ l ]]
-
-
-
-
-
@@ -33,31 +34,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/html/modals/dns_presets_modal.html b/web/html/modals/dns_presets_modal.html
new file mode 100644
index 00000000..010b973a
--- /dev/null
+++ b/web/html/modals/dns_presets_modal.html
@@ -0,0 +1,110 @@
+{{define "modals/dnsPresetsModal"}}
+
+
+
+
+
+
+ [[ dns.name ]]
+ [[ dns.family ? '{{ i18n "pages.xray.dns.dnsPresetFamily" }}' : 'DNS' ]]
+
+
+
+ {{ i18n "install" }}
+
+
+
+
+
+
+
+
+
+{{end}}
\ No newline at end of file
diff --git a/web/html/settings/xray/basics.html b/web/html/settings/xray/basics.html
index 374cb7dd..71aa0d7c 100644
--- a/web/html/settings/xray/basics.html
+++ b/web/html/settings/xray/basics.html
@@ -135,7 +135,7 @@
-
+
@@ -144,22 +144,12 @@
-
+
{{ i18n "pages.xray.Torrent"}}
- {{ i18n "pages.xray.TorrentDesc"}}
-
- {{ i18n "pages.xray.Family"}}
- {{ i18n "pages.xray.FamilyDesc"}}
-
-
-
-
-
-
diff --git a/web/html/settings/xray/dns.html b/web/html/settings/xray/dns.html
index 11558536..ba768cb8 100644
--- a/web/html/settings/xray/dns.html
+++ b/web/html/settings/xray/dns.html
@@ -29,7 +29,7 @@
-
+
[[ l ]]
@@ -56,6 +56,14 @@
+
+
+ {{ i18n "pages.xray.dns.useSystemHosts" }}
+ {{ i18n "pages.xray.dns.useSystemHostsDesc" }}
+
+
+
+
@@ -102,9 +110,12 @@
-
- {{ i18n "pages.xray.dns.add" }}
-
+
+
+ {{ i18n "pages.xray.dns.add" }}
+
+
+
diff --git a/web/html/xray.html b/web/html/xray.html
index e051ce15..eb99b794 100644
--- a/web/html/xray.html
+++ b/web/html/xray.html
@@ -128,6 +128,7 @@
{{template "modals/reverseModal"}}
{{template "modals/balancerModal"}}
{{template "modals/dnsModal"}}
+{{template "modals/dnsPresetsModal"}}
{{template "modals/fakednsModal"}}
{{template "modals/warpModal"}}