mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 05:08:49 +00:00
Adjust singbox DNS server and rule position (#5229)
This commit is contained in:
parent
1ff88d29be
commit
123c49c22d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue