mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-03 05:38:51 +00:00
Add def dns for normal
This commit is contained in:
parent
768d5cce27
commit
bfc8bf91ee
2 changed files with 2 additions and 2 deletions
|
@ -650,7 +650,7 @@ namespace v2rayN.Handler
|
||||||
var normalDNS = item?.normalDNS;
|
var normalDNS = item?.normalDNS;
|
||||||
if (string.IsNullOrWhiteSpace(normalDNS))
|
if (string.IsNullOrWhiteSpace(normalDNS))
|
||||||
{
|
{
|
||||||
return 0;
|
normalDNS = "{\"servers\":[{\"address\":\"tls://8.8.8.8\"}]}";
|
||||||
}
|
}
|
||||||
|
|
||||||
var obj = Utils.ParseJson(normalDNS);
|
var obj = Utils.ParseJson(normalDNS);
|
||||||
|
|
|
@ -689,7 +689,7 @@ namespace v2rayN.Handler
|
||||||
var domainStrategy4Freedom = item?.domainStrategy4Freedom;
|
var domainStrategy4Freedom = item?.domainStrategy4Freedom;
|
||||||
if (string.IsNullOrWhiteSpace(normalDNS))
|
if (string.IsNullOrWhiteSpace(normalDNS))
|
||||||
{
|
{
|
||||||
return 0;
|
normalDNS = "1.1.1.1,8.8.8.8";
|
||||||
}
|
}
|
||||||
|
|
||||||
//Outbound Freedom domainStrategy
|
//Outbound Freedom domainStrategy
|
||||||
|
|
Loading…
Reference in a new issue