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
diff options
context:
space:
mode:
authorShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-06-18 19:24:18 +0300
committerGitHub <noreply@github.com>2025-06-18 19:24:18 +0300
commitcb22b4ad47816742e7eaa9b9f46f11530b0aae8e (patch)
tree486f3d1c1af5b4bd22c5bd48c164f1db168f88cd /web/html/settings/xray/dns.html
parent6a2e0071cfb27d290f3e3aca9eda184f2ac7d15e (diff)
chore: add new dns features from v25.6.8
* chore: add new dns params * chore: add `DNS Presets` modal * chore: edit file names
Diffstat (limited to 'web/html/settings/xray/dns.html')
-rw-r--r--web/html/settings/xray/dns.html19
1 files changed, 15 insertions, 4 deletions
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 @@
<template #control>
<a-select v-model="dnsStrategy" :style="{ width: '100%' }"
:dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="l" :label="l" v-for="l in ['UseIP', 'UseIPv4', 'UseIPv6']">
+ <a-select-option :value="l" :label="l" v-for="l in ['UseSystem', 'UseIP', 'UseIPv4', 'UseIPv6']">
<span>[[ l ]]</span>
</a-select-option>
</a-select>
@@ -56,6 +56,14 @@
<a-switch v-model="dnsDisableFallbackIfMatch"></a-switch>
</template>
</a-setting-list-item>
+
+ <a-setting-list-item paddings="small">
+ <template #title>{{ i18n "pages.xray.dns.useSystemHosts" }}</template>
+ <template #description>{{ i18n "pages.xray.dns.useSystemHostsDesc" }}</template>
+ <template #control>
+ <a-switch v-model="dnsUseSystemHosts"></a-switch>
+ </template>
+ </a-setting-list-item>
</template>
</a-collapse-panel>
<template v-if="enableDNS">
@@ -102,9 +110,12 @@
</template>
<template v-else>
<a-empty description='{{ i18n "emptyDnsDesc" }}' :style="{ margin: '10px' }">
- <a-button type="primary" icon="plus" @click="addDNSServer()" :style="{ marginTop: '10px' }">
- <span>{{ i18n "pages.xray.dns.add" }}</span>
- </a-button>
+ <a-button-group>
+ <a-button type="primary" icon="plus" @click="addDNSServer()">
+ <span>{{ i18n "pages.xray.dns.add" }}</span>
+ </a-button>
+ <a-button type="primary" icon="menu" @click="openDNSPresets()"></a-button>
+ </a-button-group>
</a-empty>
</template>
</a-collapse-panel>