From 64214c429674b33f426f0f56f47821196fe3a1bf Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Wed, 7 Feb 2024 18:59:09 +0800 Subject: [PATCH] nixos/modules/clash: disable clash DNS --- nixos/modules/clash/rule.yaml | 106 ---------------------------------- 1 file changed, 106 deletions(-) diff --git a/nixos/modules/clash/rule.yaml b/nixos/modules/clash/rule.yaml index eb85047..ca625b9 100644 --- a/nixos/modules/clash/rule.yaml +++ b/nixos/modules/clash/rule.yaml @@ -10,112 +10,6 @@ secret: experimental: ignore-resolve-fail: true -dns: - enable: true - listen: 127.0.0.1:8853 - default-nameserver: - - 223.5.5.5 - - 1.0.0.1 - ipv6: false - enhanced-mode: fake-ip - fake-ip-filter: - - "*.lan" - - stun.*.*.* - - stun.*.* - - time.windows.com - - time.nist.gov - - time.apple.com - - time.asia.apple.com - - "*.ntp.org.cn" - - "*.openwrt.pool.ntp.org" - - time1.cloud.tencent.com - - time.ustc.edu.cn - - pool.ntp.org - - ntp.ubuntu.com - - ntp.aliyun.com - - ntp1.aliyun.com - - ntp2.aliyun.com - - ntp3.aliyun.com - - ntp4.aliyun.com - - ntp5.aliyun.com - - ntp6.aliyun.com - - ntp7.aliyun.com - - time1.aliyun.com - - time2.aliyun.com - - time3.aliyun.com - - time4.aliyun.com - - time5.aliyun.com - - time6.aliyun.com - - time7.aliyun.com - - "*.time.edu.cn" - - time1.apple.com - - time2.apple.com - - time3.apple.com - - time4.apple.com - - time5.apple.com - - time6.apple.com - - time7.apple.com - - time1.google.com - - time2.google.com - - time3.google.com - - time4.google.com - - music.163.com - - "*.music.163.com" - - "*.126.net" - - musicapi.taihe.com - - music.taihe.com - - songsearch.kugou.com - - trackerfastly.kugou.com - - "*.kuwo.cn" - - api-jooxtt.sanook.com - - api.joox.com - - joox.com - - y.qq.com - - "*.y.qq.com" - - streamoc.music.tc.qq.com - - mobileoc.music.tc.qq.com - - isure.stream.qqmusic.qq.com - - dl.stream.qqmusic.qq.com - - aqqmusic.tc.qq.com - - amobile.music.tc.qq.com - - "*.xiami.com" - - "*.music.migu.cn" - - music.migu.cn - - "*.msftconnecttest.com" - - "*.msftncsi.com" - - localhost.ptlogin2.qq.com - - "*.*.*.srv.nintendo.net" - - "*.*.stun.playstation.net" - - xbox.*.*.microsoft.com - - "*.ipv6.microsoft.com" - - "*.*.xboxlive.com" - - speedtest.cros.wr.pvp.net - nameserver: - - https://223.6.6.6/dns-query - - https://rubyfish.cn/dns-query - - https://dns.pub/dns-query - fallback: - - https://dns.rubyfish.cn/dns-query - - https://public.dns.iij.jp/dns-query - - tls://8.8.4.4 - fallback-filter: - geoip: true - ipcidr: - - 240.0.0.0/4 - - 0.0.0.0/32 - - 127.0.0.1/32 - domain: - - +.google.com - - +.facebook.com - - +.twitter.com - - +.youtube.com - - +.xn--ngstr-lra8j.com - - +.google.cn - - +.googleapis.cn - - +.googleapis.com - - +.gvt1.com - - rules: - 'RULE-SET, Reject, AdBlock' - 'RULE-SET, Special, DIRECT'