Browse Source

Adjust singbox DNS server and rule position (#5229)

pull/5264/head
Lsyx-Good 5 months ago committed by GitHub
parent
commit
123c49c22d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs

4
v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs

@ -841,13 +841,13 @@ namespace v2rayN.Handler.CoreConfig
if (lstDomain != null && lstDomain.Count > 0)
{
var tag = "local_local";
dns4Sbox.servers.Insert(0, new()
dns4Sbox.servers.Add(new()
{
tag = tag,
address = "223.5.5.5",
detour = Global.DirectTag,
});
dns4Sbox.rules.Insert(0, new()
dns4Sbox.rules.Add(new()
{
server = tag,
domain = lstDomain

Loading…
Cancel
Save