diff --git a/_worker.js b/_worker.js index b8eb33b2d..e6d8a4c57 100644 --- a/_worker.js +++ b/_worker.js @@ -8577,9 +8577,9 @@ async function buildClashDNS(proxySettings, isChain, isWarp) { const isIPv62 = enableIPv6 && !isWarp || warpEnableIPv6 && isWarp; const isBypass = bypassIran || bypassChina || bypassRussia; const bypassRules = [ - { rule: bypassIran, geosite: "category-ir" }, + { rule: bypassIran, geosite: "ir" }, { rule: bypassChina, geosite: "cn" }, - { rule: bypassRussia, geosite: "category-ru" } + { rule: bypassRussia, geosite: "ru" } ]; const dns = { "enable": true, @@ -8605,7 +8605,7 @@ async function buildClashDNS(proxySettings, isChain, isWarp) { }); dns["nameserver-policy"] = { ...dns["nameserver-policy"], - [`geosite:${geosites.join(",")}`]: [`${localDNS}#DIRECT`] + [`rule-set:${geosites.join(",")}`]: [`${localDNS}#DIRECT`] }; } if (isFakeDNS)