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
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-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;