mirror of
https://github.com/alireza0/x-ui.git
synced 2026-08-27 03:43:28 +00:00
[dns] skipFallback option #1019
This commit is contained in:
parent
7cc6c19843
commit
d3481043d4
1 changed files with 6 additions and 0 deletions
|
|
@ -24,6 +24,9 @@
|
|||
</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>
|
||||
|
|
@ -37,6 +40,7 @@
|
|||
address: "localhost",
|
||||
domains: [],
|
||||
queryStrategy: 'UseIP',
|
||||
skipFallback: true,
|
||||
},
|
||||
ok() {
|
||||
domains = dnsModal.dnsServer.domains.filter(d => d.length>0);
|
||||
|
|
@ -57,6 +61,7 @@
|
|||
address: dnsServer?? "",
|
||||
domains: [],
|
||||
queryStrategy: 'UseIP',
|
||||
skipFallback: true,
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
@ -64,6 +69,7 @@
|
|||
address: "localhost",
|
||||
domains: [],
|
||||
queryStrategy: 'UseIP',
|
||||
skipFallback: true,
|
||||
}
|
||||
}
|
||||
this.isEdit = isEdit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue