mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 13:42:24 +00:00
Fetches DNS strategy for domain resolution
This commit is contained in:
parent
ec29e87dd2
commit
0edfb2b08b
1 changed files with 2 additions and 2 deletions
|
@ -638,11 +638,11 @@ public class CoreConfigSingboxService
|
|||
|
||||
if (Utils.IsDomain(node.Address))
|
||||
{
|
||||
var item = await AppHandler.Instance.GetDNSItem(ECoreType.sing_box);
|
||||
outbound.domain_resolver = new()
|
||||
{
|
||||
server = "local_local",
|
||||
// TODO
|
||||
//strategy = string.IsNullOrEmpty(dNSItem?.DomainStrategy4Freedom) ? null : dNSItem?.DomainStrategy4Freedom
|
||||
strategy = string.IsNullOrEmpty(item?.DomainStrategy4Freedom) ? null : item?.DomainStrategy4Freedom
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue