diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index 20a36f63..5fb04152 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -546,6 +546,7 @@
+
@@ -2027,7 +2028,17 @@
},
set: function (newValue) {
newTemplateSettings = this.templateSettings;
- newTemplateSettings.dns = newValue ? { servers: [], queryStrategy: "UseIP" } : null;
+ newTemplateSettings.dns = newValue ? { servers: [], queryStrategy: "UseIP", tag: "dns_inbound" } : null;
+ this.templateSettings = newTemplateSettings;
+ }
+ },
+ dnsTag: {
+ get: function () {
+ return this.enableDNS ? this.templateSettings.dns.tag : "";
+ },
+ set: function (newValue) {
+ newTemplateSettings = this.templateSettings;
+ newTemplateSettings.dns.tag = newValue;
this.templateSettings = newTemplateSettings;
}
},
diff --git a/web/html/xui/xray_reverse_modal.html b/web/html/xui/xray_reverse_modal.html
index 826286c9..bb1e4bdf 100644
--- a/web/html/xui/xray_reverse_modal.html
+++ b/web/html/xui/xray_reverse_modal.html
@@ -38,7 +38,6 @@
:options="reverseModal.inboundTags">
-