Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-05-08 22:43:15 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-05-08 22:43:15 +0300
commita1c15e9578ec9fc0195f370b97baa598b1fac157 (patch)
tree6da3addf662a2d3df26968247fd7f599636e0f24 /web/html
parentbe9747dcbc26a8d34dfb0f110d2c4120b48b5db6 (diff)
[dns] skipFallback option
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/dns_modal.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/html/xui/dns_modal.html b/web/html/xui/dns_modal.html
index 0abde2f3..1ea93885 100644
--- a/web/html/xui/dns_modal.html
+++ b/web/html/xui/dns_modal.html
@@ -17,6 +17,9 @@
<a-select-option :value="l" :label="l" v-for="l in ['UseIP', 'UseIPv4', 'UseIPv6']"> [[ l ]] </a-select-option>
</a-select>
</a-form-item>
+ <a-form-item label='Skip Fallback' v-if="isAdvanced">
+ <a-switch v-model="dnsModal.dnsServer.skipFallback"></a-switch>
+ </a-form-item>
</a-form>
</a-modal>
<script>
@@ -30,6 +33,7 @@
address: "localhost",
domains: [],
queryStrategy: 'UseIP',
+ skipFallback: true,
},
ok() {
domains = dnsModal.dnsServer.domains.filter(d => d.length > 0);
@@ -56,6 +60,7 @@
address: dnsServer ?? "",
domains: [],
queryStrategy: 'UseIP',
+ skipFallback: true,
}
}
} else {
@@ -63,6 +68,7 @@
address: "localhost",
domains: [],
queryStrategy: 'UseIP',
+ skipFallback: true,
}
}
this.isEdit = isEdit;