mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-07-17 01:56:06 +00:00
feat(outbound): sync DNS outbound config with Xray core changes
Rename the DNS rule wire key qtype to qType (reading the legacy qtype on parse for back-compat), add the new rCode response-code field for the return action (omitted when zero), and rename the reject action to return. Align the DNS rule action set across the form dropdown, schema, and adapter to the core's valid values (direct/drop/return/hijack), dropping the never-valid rejectIPv4/rejectIPv6 entries.
This commit is contained in:
@@ -59,7 +59,7 @@ export const Address_Port_Strategy = Object.freeze({
|
||||
TXT_PORT_AND_ADDRESS: 'TxtPortAndAddress',
|
||||
});
|
||||
|
||||
export const DNSRuleActions = Object.freeze(['direct', 'drop', 'reject', 'hijack'] as const);
|
||||
export const DNSRuleActions = Object.freeze(['direct', 'drop', 'return', 'hijack'] as const);
|
||||
|
||||
export const TLS_VERSION_OPTION = Object.freeze({
|
||||
TLS10: '1.0',
|
||||
|
||||
Reference in New Issue
Block a user