Fetches DNS strategy for domain resolution

This commit is contained in:
DHR60 2025-04-11 19:03:52 +08:00
parent ec29e87dd2
commit 0edfb2b08b

View file

@ -638,11 +638,11 @@ public class CoreConfigSingboxService
if (Utils.IsDomain(node.Address)) if (Utils.IsDomain(node.Address))
{ {
var item = await AppHandler.Instance.GetDNSItem(ECoreType.sing_box);
outbound.domain_resolver = new() outbound.domain_resolver = new()
{ {
server = "local_local", server = "local_local",
// TODO strategy = string.IsNullOrEmpty(item?.DomainStrategy4Freedom) ? null : item?.DomainStrategy4Freedom
//strategy = string.IsNullOrEmpty(dNSItem?.DomainStrategy4Freedom) ? null : dNSItem?.DomainStrategy4Freedom
}; };
} }