From 944051cef5303bc6462d3989bb93a04adee87c90 Mon Sep 17 00:00:00 2001 From: pickrui Date: Mon, 28 Sep 2026 17:55:36 +0800 Subject: [PATCH] Resolve LAN rules so domains pointing at LAN go direct 98413a7 added no-resolve to Domestic IPs. That rule set was the last one before LAN to resolve a domain, and LAN's own IP rules never resolve, so a domain whose DNS record points at 192.168.x.x now falls through to MATCH and reaches the proxy node's network instead of the local one. Let the LAN IP rules resolve again. In Rule.yaml and Rule_Lite.yaml the GEOIP,CN rule right after LAN resolves anyway, so this adds no lookups. Egern's LAN set goes back to resolving as it did before 98413a7. --- Clash/Provider/LAN.yaml | 17 +++++++++-------- Egern/Provider/LAN.yaml | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Clash/Provider/LAN.yaml b/Clash/Provider/LAN.yaml index fc0ccbc..eff3b43 100644 --- a/Clash/Provider/LAN.yaml +++ b/Clash/Provider/LAN.yaml @@ -1,11 +1,12 @@ payload: # > LAN + # No no-resolve: domains whose records point at these ranges must match here. - DOMAIN-SUFFIX,local - - IP-CIDR,10.0.0.0/8,no-resolve - - IP-CIDR,100.64.0.0/10,no-resolve - - IP-CIDR,127.0.0.0/8,no-resolve - - IP-CIDR,172.16.0.0/12,no-resolve - - IP-CIDR,192.168.0.0/16,no-resolve - - IP-CIDR6,::1/128,no-resolve - - IP-CIDR6,fc00::/7,no-resolve - - IP-CIDR6,fe80::/10,no-resolve + - IP-CIDR,10.0.0.0/8 + - IP-CIDR,100.64.0.0/10 + - IP-CIDR,127.0.0.0/8 + - IP-CIDR,172.16.0.0/12 + - IP-CIDR,192.168.0.0/16 + - IP-CIDR6,::1/128 + - IP-CIDR6,fc00::/7 + - IP-CIDR6,fe80::/10 diff --git a/Egern/Provider/LAN.yaml b/Egern/Provider/LAN.yaml index fba81e1..d8c8311 100644 --- a/Egern/Provider/LAN.yaml +++ b/Egern/Provider/LAN.yaml @@ -1,5 +1,5 @@ # LAN -no_resolve: true +# No no_resolve: domains whose records point at these ranges must match here. domain_suffix_set: # > LAN