feat: add sing-box TUN dns_mode setting (#10336)

This commit is contained in:
Denis Elkhov
2026-11-07 09:44:37 +03:00
committed by GitHub
parent c01224c37d
commit 5211b9ce0e
21 changed files with 182 additions and 20 deletions
@@ -137,6 +137,7 @@ public class TunModeItem
public bool EnableIPv6Address { get; set; }
public string IcmpRouting { get; set; }
public bool EnableLegacyProtect { get; set; } = true;
public string? DnsMode { get; set; }
public List<string>? RouteExcludeAddress { get; set; }
public string IPv4Address { get; set; }
public string IPv6Address { get; set; }
@@ -114,6 +114,7 @@ public class Inbound4Sbox
public bool? auto_route { get; set; }
public bool? strict_route { get; set; }
public string? stack { get; set; }
public string? dns_mode { get; set; }
public List<User4Sbox> users { get; set; }
public List<string>? route_exclude_address { get; set; }
}