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:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-08-17 13:22:33 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-08-17 13:22:33 +0300
commit27445b30e9675d17f7da4ca00bd7911bc0e8571d (patch)
treedfbfce8c29380b5e5672770f4f19c8cdbd197ee8
parent3d0212c21dead086c993e3c9885836325b0b1c06 (diff)
DNS outbound: Set "reject" as the default value for nonIPQuery
-rw-r--r--web/assets/js/model/outbound.js2
-rw-r--r--web/html/form/outbound.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index ce110a73..ee78795f 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -995,7 +995,7 @@ Outbound.DNSSettings = class extends CommonClass {
network = 'udp',
address = '',
port = 53,
- nonIPQuery = 'drop',
+ nonIPQuery = 'reject',
blockTypes = []
) {
super();
diff --git a/web/html/form/outbound.html b/web/html/form/outbound.html
index 0b75ba27..c7a786b7 100644
--- a/web/html/form/outbound.html
+++ b/web/html/form/outbound.html
@@ -105,7 +105,7 @@
</a-form-item>
<a-form-item label='non-IP queries'>
<a-select v-model="outbound.settings.nonIPQuery" :dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option v-for="s in ['drop','skip']" :value="s">[[ s ]]</a-select-option>
+ <a-select-option v-for="s in ['reject','drop','skip']" :value="s">[[ s ]]</a-select-option>
</a-select>
</a-form-item>
<a-form-item v-if="outbound.settings.nonIPQuery === 'skip'" label='Block Types' >