Skip to content

Instantly share code, notes, and snippets.

@fwqaaq
Last active June 9, 2024 04:14
Show Gist options
  • Save fwqaaq/21fdebec74f1e2def127f400c94c7679 to your computer and use it in GitHub Desktop.
Save fwqaaq/21fdebec74f1e2def127f400c94c7679 to your computer and use it in GitHub Desktop.
解决 Clash DNS 泄漏
[custom]
; AI
ruleset=🤖️ 人工智能,[]DOMAIN-SUFFIX,openai.com
ruleset=🤖️ 人工智能,[]DOMAIN,cdn.oaistatic.com
ruleset=🤖️ 人工智能,[]DOMAIN-SUFFIX,claude.ai
ruleset=🤖️ 人工智能,[]DOMAIN-SUFFIX,chatgpt.com
;解决 DNS 泄露,无分流群组
ruleset=✅ 自定义,[]DOMAIN-SUFFIX,xn--ngstr-lra8j.com
ruleset=✅ 自定义,[]DOMAIN-SUFFIX,services.googleapis.cn
ruleset=✅ 自定义,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleCNProxyIP.list
ruleset=DIRECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list
ruleset=DIRECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/UnBan.list
ruleset=DIRECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaDomain.list
ruleset=DIRECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaMedia.list
ruleset=REJECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
ruleset=REJECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
ruleset=DIRECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaCompanyIp.list
ruleset=DIRECT,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ChinaIp.list
ruleset=DIRECT,[]GEOIP,CN,no-resolve
ruleset=✅ 自定义,[]FINAL
custom_proxy_group=🚀 节点选择`select`[]♻️ 自动选择`[]DIRECT`.*
custom_proxy_group=🤖️ 人工智能`select`[]♻️ 自动选择`[]DIRECT`.*
custom_proxy_group=✅ 自定义`relay`[]♻️ 自动选择
custom_proxy_group=♻️ 自动选择`url-test`.*`http://www.gstatic.com/generate_204`300,,50
enable_rule_generator=true
overwrite_original_rules=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment