rules: update rules to fix issues on some websites

clash: Change to more working DOH servers
clash, surge, surfboard:
Fix wrong direct connection on some websites
Fix lineme cannot receive photos
This commit is contained in:
Alpha Kane 2022-04-25 00:56:10 +08:00
parent 472a692b3c
commit 58731faf23
No known key found for this signature in database
GPG Key ID: 180A31AB98D5C156
4 changed files with 24 additions and 13 deletions

View File

@ -60,9 +60,6 @@ rules:
# - DOMAIN,e.crashlytics.com,REJECT //注释此选项有助于大多数App开发者分析崩溃信息如果您拒绝一切崩溃数据统计、搜集请取消 # 注释。 # - DOMAIN,e.crashlytics.com,REJECT //注释此选项有助于大多数App开发者分析崩溃信息如果您拒绝一切崩溃数据统计、搜集请取消 # 注释。
# 国内网站 # 国内网站
- DOMAIN-SUFFIX,cn,DIRECT
- DOMAIN-KEYWORD,-cn,DIRECT
- DOMAIN-SUFFIX,126.com,DIRECT - DOMAIN-SUFFIX,126.com,DIRECT
- DOMAIN-SUFFIX,126.net,DIRECT - DOMAIN-SUFFIX,126.net,DIRECT
- DOMAIN-SUFFIX,127.net,DIRECT - DOMAIN-SUFFIX,127.net,DIRECT
@ -366,6 +363,7 @@ rules:
- DOMAIN-SUFFIX,klip.me,SELECT - DOMAIN-SUFFIX,klip.me,SELECT
- DOMAIN-SUFFIX,libsyn.com,SELECT - DOMAIN-SUFFIX,libsyn.com,SELECT
- DOMAIN-SUFFIX,linkedin.com,SELECT - DOMAIN-SUFFIX,linkedin.com,SELECT
- DOMAIN-SUFFIX,line-apps.com,SELECT
- DOMAIN-SUFFIX,linode.com,SELECT - DOMAIN-SUFFIX,linode.com,SELECT
- DOMAIN-SUFFIX,lithium.com,SELECT - DOMAIN-SUFFIX,lithium.com,SELECT
- DOMAIN-SUFFIX,littlehj.com,SELECT - DOMAIN-SUFFIX,littlehj.com,SELECT
@ -550,6 +548,10 @@ rules:
- IP-CIDR,224.0.0.0/4,DIRECT - IP-CIDR,224.0.0.0/4,DIRECT
- IP-CIDR6,fe80::/10,DIRECT - IP-CIDR6,fe80::/10,DIRECT
# 剩余未匹配的国内网站
- DOMAIN-SUFFIX,cn,DIRECT
- DOMAIN-KEYWORD,-cn,DIRECT
# 最终规则 # 最终规则
- GEOIP,CN,DIRECT - GEOIP,CN,DIRECT
- MATCH,SELECT - MATCH,SELECT

View File

@ -24,9 +24,10 @@ dns:
- https://doh.pub/dns-query - https://doh.pub/dns-query
- https://dns.alidns.com/dns-query - https://dns.alidns.com/dns-query
fallback: fallback:
- tls://1.0.0.1:853 - https://doh.dns.sb/dns-query
- https://cloudflare-dns.com/dns-query - https://dns.cloudflare.com/dns-query
- https://dns.google/dns-query - https://dns.twnic.tw/dns-query
- tls://8.8.4.4:853
fallback-filter: fallback-filter:
geoip: true geoip: true
ipcidr: ipcidr:
@ -84,9 +85,6 @@ rules:
# - DOMAIN,e.crashlytics.com,REJECT //注释此选项有助于大多数App开发者分析崩溃信息如果您拒绝一切崩溃数据统计、搜集请取消 # 注释。 # - DOMAIN,e.crashlytics.com,REJECT //注释此选项有助于大多数App开发者分析崩溃信息如果您拒绝一切崩溃数据统计、搜集请取消 # 注释。
# 国内网站 # 国内网站
- DOMAIN-SUFFIX,cn,DIRECT
- DOMAIN-KEYWORD,-cn,DIRECT
- DOMAIN-SUFFIX,126.com,DIRECT - DOMAIN-SUFFIX,126.com,DIRECT
- DOMAIN-SUFFIX,126.net,DIRECT - DOMAIN-SUFFIX,126.net,DIRECT
- DOMAIN-SUFFIX,127.net,DIRECT - DOMAIN-SUFFIX,127.net,DIRECT
@ -390,6 +388,7 @@ rules:
- DOMAIN-SUFFIX,klip.me,$app_name - DOMAIN-SUFFIX,klip.me,$app_name
- DOMAIN-SUFFIX,libsyn.com,$app_name - DOMAIN-SUFFIX,libsyn.com,$app_name
- DOMAIN-SUFFIX,linkedin.com,$app_name - DOMAIN-SUFFIX,linkedin.com,$app_name
- DOMAIN-SUFFIX,line-apps.com,$app_name
- DOMAIN-SUFFIX,linode.com,$app_name - DOMAIN-SUFFIX,linode.com,$app_name
- DOMAIN-SUFFIX,lithium.com,$app_name - DOMAIN-SUFFIX,lithium.com,$app_name
- DOMAIN-SUFFIX,littlehj.com,$app_name - DOMAIN-SUFFIX,littlehj.com,$app_name
@ -574,6 +573,10 @@ rules:
- IP-CIDR,224.0.0.0/4,DIRECT - IP-CIDR,224.0.0.0/4,DIRECT
- IP-CIDR6,fe80::/10,DIRECT - IP-CIDR6,fe80::/10,DIRECT
# 剩余未匹配的国内网站
- DOMAIN-SUFFIX,cn,DIRECT
- DOMAIN-KEYWORD,-cn,DIRECT
# 最终规则 # 最终规则
- GEOIP,CN,DIRECT - GEOIP,CN,DIRECT
- MATCH,$app_name - MATCH,$app_name

View File

@ -78,8 +78,6 @@ DOMAIN-SUFFIX,apple-mapkit.com,DIRECT
USER-AGENT,MicroMessenger Client*,DIRECT USER-AGENT,MicroMessenger Client*,DIRECT
USER-AGENT,WeChat*,DIRECT USER-AGENT,WeChat*,DIRECT
DOMAIN-SUFFIX,cn,DIRECT
DOMAIN-KEYWORD,-cn,DIRECT
DOMAIN-SUFFIX,126.com,DIRECT DOMAIN-SUFFIX,126.com,DIRECT
DOMAIN-SUFFIX,126.net,DIRECT DOMAIN-SUFFIX,126.net,DIRECT
DOMAIN-SUFFIX,127.net,DIRECT DOMAIN-SUFFIX,127.net,DIRECT
@ -382,6 +380,7 @@ DOMAIN-SUFFIX,kat.cr,Proxy
DOMAIN-SUFFIX,klip.me,Proxy DOMAIN-SUFFIX,klip.me,Proxy
DOMAIN-SUFFIX,libsyn.com,Proxy DOMAIN-SUFFIX,libsyn.com,Proxy
DOMAIN-SUFFIX,linkedin.com,Proxy DOMAIN-SUFFIX,linkedin.com,Proxy
DOMAIN-SUFFIX,line-apps.com,Proxy
DOMAIN-SUFFIX,linode.com,Proxy DOMAIN-SUFFIX,linode.com,Proxy
DOMAIN-SUFFIX,lithium.com,Proxy DOMAIN-SUFFIX,lithium.com,Proxy
DOMAIN-SUFFIX,littlehj.com,Proxy DOMAIN-SUFFIX,littlehj.com,Proxy
@ -565,6 +564,10 @@ IP-CIDR,100.64.0.0/10,DIRECT
IP-CIDR,224.0.0.0/4,DIRECT IP-CIDR,224.0.0.0/4,DIRECT
IP-CIDR6,fe80::/10,DIRECT IP-CIDR6,fe80::/10,DIRECT
# 剩余未匹配的国内网站
DOMAIN-SUFFIX,cn,DIRECT
DOMAIN-KEYWORD,-cn,DIRECT
# 最终规则 # 最终规则
GEOIP,CN,DIRECT GEOIP,CN,DIRECT
FINAL,Proxy FINAL,Proxy

View File

@ -103,8 +103,6 @@ DOMAIN-SUFFIX,apple-mapkit.com,DIRECT
USER-AGENT,MicroMessenger Client*,DIRECT USER-AGENT,MicroMessenger Client*,DIRECT
USER-AGENT,WeChat*,DIRECT USER-AGENT,WeChat*,DIRECT
DOMAIN-SUFFIX,cn,DIRECT
DOMAIN-KEYWORD,-cn,DIRECT
DOMAIN-SUFFIX,126.com,DIRECT DOMAIN-SUFFIX,126.com,DIRECT
DOMAIN-SUFFIX,126.net,DIRECT DOMAIN-SUFFIX,126.net,DIRECT
DOMAIN-SUFFIX,127.net,DIRECT DOMAIN-SUFFIX,127.net,DIRECT
@ -407,6 +405,7 @@ DOMAIN-SUFFIX,kat.cr,Proxy
DOMAIN-SUFFIX,klip.me,Proxy DOMAIN-SUFFIX,klip.me,Proxy
DOMAIN-SUFFIX,libsyn.com,Proxy DOMAIN-SUFFIX,libsyn.com,Proxy
DOMAIN-SUFFIX,linkedin.com,Proxy DOMAIN-SUFFIX,linkedin.com,Proxy
DOMAIN-SUFFIX,line-apps.com,Proxy
DOMAIN-SUFFIX,linode.com,Proxy DOMAIN-SUFFIX,linode.com,Proxy
DOMAIN-SUFFIX,lithium.com,Proxy DOMAIN-SUFFIX,lithium.com,Proxy
DOMAIN-SUFFIX,littlehj.com,Proxy DOMAIN-SUFFIX,littlehj.com,Proxy
@ -581,6 +580,10 @@ IP-CIDR,220.181.174.34/32,Proxy,no-resolve
RULE-SET,LAN,DIRECT RULE-SET,LAN,DIRECT
# 剩余未匹配的国内网站
DOMAIN-SUFFIX,cn,DIRECT
DOMAIN-KEYWORD,-cn,DIRECT
# 最终规则 # 最终规则
GEOIP,CN,DIRECT GEOIP,CN,DIRECT
FINAL,Proxy,dns-failed FINAL,Proxy,dns-failed