mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-13 11:59:13 +00:00
Fetches DNS strategy for domain resolution
This commit is contained in:
parent
26b2240779
commit
d54433aeb3
1 changed files with 2 additions and 2 deletions
|
@ -614,11 +614,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