Browse Source

DNS outbound: Set "reject" as the default value for nonIPQuery

mhsanaei 3 days ago
parent
commit
27445b30e9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      web/assets/js/model/outbound.js
  2. 1 1
      web/html/form/outbound.html

+ 1 - 1
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();

+ 1 - 1
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' >