mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-23 11:26:52 +00:00
DNS outbound: Set "reject" as the default value for nonIPQuery
This commit is contained in:
parent
3d0212c21d
commit
27445b30e9
2 changed files with 2 additions and 2 deletions
|
@ -995,7 +995,7 @@ Outbound.DNSSettings = class extends CommonClass {
|
||||||
network = 'udp',
|
network = 'udp',
|
||||||
address = '',
|
address = '',
|
||||||
port = 53,
|
port = 53,
|
||||||
nonIPQuery = 'drop',
|
nonIPQuery = 'reject',
|
||||||
blockTypes = []
|
blockTypes = []
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label='non-IP queries'>
|
<a-form-item label='non-IP queries'>
|
||||||
<a-select v-model="outbound.settings.nonIPQuery" :dropdown-class-name="themeSwitcher.currentTheme">
|
<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-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item v-if="outbound.settings.nonIPQuery === 'skip'" label='Block Types' >
|
<a-form-item v-if="outbound.settings.nonIPQuery === 'skip'" label='Block Types' >
|
||||||
|
|
Loading…
Reference in a new issue