Set xray default tun dns (#9474)

This commit is contained in:
DHR60
2026-06-05 01:58:00 +00:00
committed by GitHub
parent b6cfce069a
commit da65faa49f
2 changed files with 4 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ public class Inboundsettings4Ray
public string? autoOutboundsInterface { get; set; }
// public List<string>? dns { get; set; }
public List<string>? dns { get; set; }
}
public class UsersItem4Ray

View File

@@ -8,6 +8,9 @@
"172.18.0.1/30",
"fdfe:dcba:9876::1/126"
],
"dns": [
"172.18.0.1"
],
"autoSystemRoutingTable": [
"0.0.0.0/0",
"::/0"