Adjust singbox DNS server and rule position (#5229)

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

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