mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2026-01-09 06:49:06 +08:00
fix default domain resolver
This commit is contained in:
parent
71d1c2b8cc
commit
df6daaaad1
@ -790,6 +790,11 @@ namespace Configs {
|
||||
QJsonArray dnsServers;
|
||||
QJsonArray dnsRules;
|
||||
|
||||
routeObj["default_domain_resolver"] = QJsonObject{
|
||||
{"server", "dns-direct"},
|
||||
{"strategy", dataStore->routing->outbound_domain_strategy},
|
||||
};
|
||||
|
||||
// Remote
|
||||
if (status->ent->type == "tailscale")
|
||||
{
|
||||
@ -903,10 +908,6 @@ namespace Configs {
|
||||
{"action", "route"},
|
||||
{"server", "dns-direct"},
|
||||
};
|
||||
routeObj["default_domain_resolver"] = QJsonObject{
|
||||
{"server", "dns-direct"},
|
||||
{"strategy", dataStore->routing->outbound_domain_strategy},
|
||||
};
|
||||
}
|
||||
|
||||
// Underlying 100% Working DNS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user