Adjust singbox DNS server and rule position (#5229)

pull/5264/head
Lsyx-Good 2024-06-20 16:08:08 +08:00 committed by GitHub
parent 1ff88d29be
commit 123c49c22d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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