Ownab 发表于 2023-9-19 09:23

[SmartDNS] 分流设置分享

本帖最后由 Ownab 于 2023-10-27 08:58 编辑

这个软件: https://pymumu.github.io/smartdns/


配置如下


# > Bootstrap DNS // 用于解析 DNS Server 组和不在规则内的 Domain
# AliDNS-Bootstrap
server-udp 223.5.5.5 -group AliDNS-Bootstrap
server-udp 2400:3200:baba::1 -group AliDNS-Bootstrap

# DNSPod-Bootstrap
server-udp 119.29.29.29 -group DNSPod-Bootstrap

# GoogleDNS-Bootstrap
server-tcp 8.8.8.8 -group GoogleDNS-Bootstrap
server-udp 2001:4860:4860::8888 -group GoogleDNS-Bootstrap

------------------------

# > DNS Server // 用于解析下面规则内的 Domain
# GoogleDNS
server-https https://dns.google/dns-query -group GoogleDNS -exclude-default-group -no-check-certificate
server-https https://dns64.dns.google/dns-query -group GoogleDNS -exclude-default-group -no-check-certificate

# ByteDanceDNS
server-udp 180.184.1.1 -group ByteDanceDNS -exclude-default-group
server-tcp 180.184.2.2 -group ByteDanceDNS -exclude-default-group

# BaiduDNS
server-udp 180.76.76.76 -group BaiduDNS -exclude-default-group
server-tcp 114.114.114.114 -group BaiduDNS -exclude-default-group

# CloudflareDNS
server-tls tls://1dot1dot1dot1.cloudflare-dns.com:853 -group CloudflareDNS -exclude-default-group -no-check-certificate
server-https https://one.one.one.one/dns-query -group CloudflareDNS -exclude-default-group -no-check-certificate

# AliDNS
server-https https://dns.alidns.com/dns-query -group AliDNS -exclude-default-group -no-check-certificate

# DNSPod
server-https https://doh.pub/dns-query -group DNSPod -exclude-default-group -no-check-certificate
server-tls tls://dot.pub:853 -group DNSPod -exclude-default-group -no-check-certificate

# TwnicDNS
server-https https://dns.twnic.tw/dns-query -group TwnicDNS -exclude-default-group -no-check-certificate

# HiNetDNS
server-https https://dns.hinet.net/dns-query -group HiNetDNS -exclude-default-group -no-check-certificate

# HeDNS
server-https https://ordns.he.net/dns-query -group HeDNS -exclude-default-group -no-check-certificate

# 360DNS
server-https https://doh.360.cn/dns-query -group 360DNS -exclude-default-group -no-check-certificate

# AppleDNS
server-https https://doh.dns.apple.com/dns-query -group AppleDNS -exclude-default-group -no-check-certificate

# CNNICDNS
server-udp 1.2.4.8 -group CNNICDNS -exclude-default-group

------------------------
# > Domain Rules // 解析规则,基本思路就是各家服务用自有的DNS服务,如果你的网络没有问题,基本全网秒开
# > Encrypted DNS
nameserver /dns.alidns.com/AliDNS-Bootstrap
nameserver /doh.pub/DNSPod-Bootstrap
nameserver /dot.pub/DNSPod-Bootstrap
nameserver /doh.360.cn/DNSPod-Bootstrap
nameserver /dns.google/GoogleDNS-Bootstrap
nameserver /dns64.dns.google/GoogleDNS-Bootstrap
nameserver /1dot1dot1dot1.cloudflare-dns.com/GoogleDNS-Bootstrap
nameserver /one.one.one.one/GoogleDNS-Bootstrap
nameserver /doh.dns.apple.com/GoogleDNS-Bootstrap
nameserver /dns.twnic.tw/GoogleDNS-Bootstrap
nameserver /dns.hinet.net/GoogleDNS-Bootstrap
nameserver /ordns.he.net/GoogleDNS-Bootstrap
# > Modify Address
address /talk.google.com/108.177.125.188
address /mtalk.google.com/108.177.125.188,2404:6800:4008:c07::bc,142.250.31.188
address /alt1-mtalk.google.com/3.3.3.3,2607:f8b0:4023:c0b::bc,64.233.171.188
address /alt2-mtalk.google.com/3.3.3.3,142.250.115.188
address /alt3-mtalk.google.com/74.125.200.188,173.194.77.188
address /alt4-mtalk.google.com/74.125.200.188,173.194.219.188
address /alt5-mtalk.google.com/3.3.3.3,2607:f8b0:4023:1::bc,142.250.112.188
address /alt6-mtalk.google.com/3.3.3.3,172.217.197.188
address /alt7-mtalk.google.com/74.125.200.188,2607:f8b0:4002:c03::bc,108.177.12.188
address /alt8-mtalk.google.com/3.3.3.3
# > Modify Contents
nameserver /blog.google/DNSPod
nameserver /googletraveladservices.com/DNSPod
nameserver /dl.google.com/DNSPod
nameserver /dl.l.google.com/DNSPod
nameserver /clientservices.googleapis.com/DNSPod
nameserver /update.googleapis.com/DNSPod
nameserver /translate.googleapis.com/DNSPod
nameserver /fonts.googleapis.com/DNSPod
nameserver /fonts.gstatic.com/DNSPod
# >Linksys Velop Fix
nameserver /*.linksys.com/DNSPod
nameserver /*.linksyssmartwifi.com/DNSPod
nameserver /*.ciscoconnectcloud.com/DNSPod
nameserver /*.splunkcloud.com/DNSPod
nameserver /*.belkin.com/DNSPod
nameserver /*.msftncsi.com/DNSPod
nameserver /*.msftconnecttest.com/DNSPod
nameserver /*.ntp.org/DNSPod
address /*.linksys.com/#6
address /*.linksyssmartwifi.com/#6
address /*.ciscoconnectcloud.com/#6
address /*.splunkcloud.com/#6
address /*.belkin.com/#6
address /*.msftncsi.com/#6
address /*.msftconnecttest.com/#6
address /*.ntp.org/#6
# > Apple
nameserver /networking.apple/AppleDNS
nameserver /*.icloud.com/AppleDNS
# > Alphabet
nameserver /*.google.com/GoogleDNS
nameserver /*.gle/GoogleDNS
nameserver /goo.gl/GoogleDNS
nameserver /*.g.co/GoogleDNS
nameserver /*.getoutline.org/GoogleDNS
nameserver /*.gmodules.com/GoogleDNS
nameserver /*.gstatic.com/GoogleDNS
nameserver /*.ggpht.com/GoogleDNS
nameserver /*.googleusercontent.com/GoogleDNS
nameserver /*.googleapis.com/GoogleDNS
nameserver /*.1e100.net/GoogleDNS
nameserver /*.youtube/GoogleDNS
nameserver /*.youtube.com/GoogleDNS
nameserver /*.ytimg.com/GoogleDNS
nameserver /*.withyoutube.com/GoogleDNS
nameserver /*.youtu.be/GoogleDNS
nameserver /*.youtubeeducation.com/GoogleDNS
nameserver /*.youtubegaming.com/GoogleDNS
nameserver /*.youtube-nocookie.com/GoogleDNS
nameserver /*.yt.be/GoogleDNS
nameserver /*.googlevideo.com/GoogleDNS
nameserver /*.recaptcha.net/GoogleDNS
nameserver /*.gmail.com/GoogleDNS
nameserver /*.googlesource.com/GoogleDNS
nameserver /*.googleadservices.com/GoogleDNS
nameserver /*.doubleclick.net/GoogleDNS
nameserver /*.adsense.com/GoogleDNS
nameserver /*.adsensecustomsearchads.com/GoogleDNS
nameserver /*.adsenseformobileapps.com/GoogleDNS
nameserver /*.go.dev/GoogleDNS
nameserver /*.golang.org/GoogleDNS
nameserver /*.waze.com/GoogleDNS
nameserver /*.blog.youtube/GoogleDNS
nameserver /*.android.com/GoogleDNS
nameserver /*.lra8j.com/GoogleDNS
nameserver /*.measurement.com/GoogleDNS
nameserver /*.androidify.com/GoogleDNS
nameserver /*.androidtv.com/GoogleDNS
nameserver /*.api.ai/GoogleDNS
nameserver /*.apigee.com/GoogleDNS
nameserver /*.appspot.com/GoogleDNS
nameserver /*.blogblog.com/GoogleDNS
nameserver /*.chromium.org/GoogleDNS
nameserver /*.chrome.com/GoogleDNS
nameserver /*.debug.com/GoogleDNS
nameserver /*.dialogflow.com/GoogleDNS
nameserver /*.feedburner.com/GoogleDNS
nameserver /*.firebaseio.com/GoogleDNS
# > Github
nameserver /*.github.com/GoogleDNS
nameserver /*.githubusercontent.com/GoogleDNS
nameserver /*.githubbassets.com/GoogleDNS
nameserver /*.github.blog/GoogleDNS
nameserver /*.github.io/GoogleDNS
# > Microsoft
nameserver /onedrive.live.com/GoogleDNS
nameserver /*.windows.net/GoogleDNS
nameserver /*.xboxlive.com/GoogleDNS
nameserver /*.msecnd.net/GoogleDNS
# > Disney
nameserver /*.disneyplus.com/GoogleDNS
nameserver /*.disney-plus.net/GoogleDNS
nameserver /*.disneystreaming.com/GoogleDNS
nameserver /*.dssott.com/GoogleDNS
nameserver /*.go.com/GoogleDNS
# > Netflix
nameserver /*.netflix.com/GoogleDNS
nameserver /*.netflix.net/GoogleDNS
nameserver /*.nflxext.com/GoogleDNS
nameserver /*.nflximg.com/GoogleDNS
nameserver /*.nflximg.net/GoogleDNS
nameserver /*.nflxso.net/GoogleDNS
nameserver /*.nflxvideo.net/GoogleDNS
# > Spotify
nameserver /*.pscdn.co/GoogleDNS
nameserver /*.scdn.co/GoogleDNS
nameserver /*.spotify.com/GoogleDNS
nameserver /*.spoti.fi/GoogleDNS
# > Telegram
nameserver /*.t.me/GoogleDNS
nameserver /*.tdesktop.com/GoogleDNS
nameserver /*.telegra.ph/GoogleDNS
nameserver /*.elegram.me/GoogleDNS
nameserver /*.telegram.org/GoogleDNS
nameserver /*.telesco.pe/GoogleDNS
nameserver /*.legra.ph/GoogleDNS
# > Facebook
nameserver /*.f8.com/GoogleDNS
nameserver /*.facebookmail.com/GoogleDNS
nameserver /*.fb.com/GoogleDNS
nameserver /*.fb.me/GoogleDNS
nameserver /*.fb.watch/GoogleDNS
nameserver /*.fbaddins.com/GoogleDNS
nameserver /*.fbcdn.net/GoogleDNS
nameserver /*.fbsbx.com/GoogleDNS
nameserver /*.fbworkmail.com/GoogleDNS
nameserver /*.instagram.com/GoogleDNS
nameserver /*.m.me/GoogleDNS
nameserver /*.messenger.com/GoogleDNS
nameserver /*.oculus.com/GoogleDNS
nameserver /*.oculuscdn.com/GoogleDNS
nameserver /*.readyatdawn.com/GoogleDNS
nameserver /*.rocksdb.org/GoogleDNS
# > Whatsapp
nameserver /*.whatsapp.com/GoogleDNS
nameserver /*.whatsapp.net/GoogleDNS
# > Steam
nameserver /*.steamcommunity.com/GoogleDNS
nameserver /*.periscope.tv/GoogleDNS
nameserver /*.pscp.tv/GoogleDNS
# > Twitter
nameserver /*.t.co/GoogleDNS
nameserver /*.tweetdeck.com/GoogleDNS
nameserver /*.twimg.co/GoogleDNS
nameserver /*.twimg.com/GoogleDNS
nameserver /*.twitpic.com/GoogleDNS
nameserver /*.twitter.com/GoogleDNS
nameserver /*.twitter.jp/GoogleDNS
# > Wikipedia
nameserver /*.wikibooks.org/GoogleDNS
nameserver /*.wikidata.org/GoogleDNS
nameserver /*.wikileaks.org/GoogleDNS
nameserver /*.wikimedia.org/GoogleDNS
nameserver /*.wikimediafoundation.org/GoogleDNS
nameserver /*.wikinews.org/GoogleDNS
nameserver /*.wikipedia.org/GoogleDNS
nameserver /*.wikiquote.org/GoogleDNS
nameserver /*.wikisource.org/GoogleDNS
nameserver /*.wikiversity.org/GoogleDNS
nameserver /*.wikivoyage.org/GoogleDNS
nameserver /*.wiktionary.org/GoogleDNS
# > Amazon
nameserver /*.amazon.co.jp/GoogleDNS
# > Other
nameserver /*.zendesk.com/GoogleDNS
nameserver /*.sentry.io/GoogleDNS
nameserver /*.openai.com/GoogleDNS
nameserver /*.behance.net/GoogleDNS
nameserver /*.pinterest.com/GoogleDNS
nameserver /*.pinimg.com/GoogleDNS
nameserver /*.dribbble.com/GoogleDNS
nameserver /*.abc.xyz/GoogleDNS
nameserver /*.admob.com/GoogleDNS
nameserver /*.adsense.com/GoogleDNS
nameserver /*.advertisercommunity.com/GoogleDNS
nameserver /*.ampproject.org/GoogleDNS
nameserver /*.itasoftware.com/GoogleDNS
nameserver /*.on2.com/GoogleDNS
nameserver /*.recaptcha.net/GoogleDNS
nameserver /*.schema.org/GoogleDNS
nameserver /*.tensorflow.org/GoogleDNS
nameserver /*.tenor.com/GoogleDNS
nameserver /*.tfhub.dev/GoogleDNS
nameserver /*.waymo.com/GoogleDNS
nameserver /*.web.dev/GoogleDNS
nameserver /*.webmproject.org/GoogleDNS
nameserver /*.webrtc.org/GoogleDNS
nameserver /*.widevine.com/GoogleDNS
nameserver /*.xn--ngstr-lra8j.com/GoogleDNS
nameserver /*.zynamics.com/GoogleDNS
nameserver /*.vine.co/GoogleDNS
nameserver /*.mediawiki.org/GoogleDNS
nameserver /*.cloudfront.net/GoogleDNS
nameserver /*.dropbox.com/GoogleDNS
nameserver /*.dropboxapi.com/GoogleDNS
nameserver /*.dropboxusercontent.com/GoogleDNS
nameserver /*.line.me/GoogleDNS
nameserver /*.line-apps.com/GoogleDNS
nameserver /*.line-scdn.net/GoogleDNS
nameserver /*.naver.jp/GoogleDNS
nameserver /*.accountkit.com/GoogleDNS
nameserver /*.cdninstagram.com/GoogleDNS
# > Cloudflare
nameserver /*.cloudflare.com/CloudflareDNS
nameserver /*.cloudflarestream.com/CloudflareDNS
nameserver /*.cloudflareclient.com/CloudflareDNS
nameserver /*.cloudflareinsights.com/CloudflareDNS
nameserver /*.every1dns.net/CloudflareDNS
nameserver /*.cloudflare-dns.com/CloudflareDNS
nameserver /*.workers.dev/CloudflareDNS
# > Alibaba
nameserver /*.alibaba.cn/AliDNS
nameserver /*.alibaba.com.cn/AliDNS
nameserver /*.china.alibaba.com/AliDNS
nameserver /*.1688.com/AliDNS
nameserver /*.taobao.com/AliDNS
nameserver /*.tbcache.com/AliDNS
nameserver /*.tmall.com/AliDNS
nameserver /*.alicdn.com/AliDNS
nameserver /*.alikunlun.com/AliDNS
nameserver /*.aliapp.com/AliDNS
nameserver /*.aliapp.org/AliDNS
nameserver /*.alibabausercontent.com/AliDNS
nameserver /*.mmstat.com/AliDNS
nameserver /tb.cn/AliDNS
# > Aliyun
nameserver /*.aliyun.cn/AliDNS
nameserver /*.aliyun.com/AliDNS
nameserver /*.aliyun.com.cn/AliDNS
nameserver /*.aliyuncdn.cn/AliDNS
nameserver /*.aliyuncdn.com/AliDNS
nameserver /*.aliyuncdn.com.cn/AliDNS
nameserver /*.aliyuncs.com/AliDNS
nameserver /*.aliyundrive.com/AliDNS
nameserver /*.aliyundun.com/AliDNS
nameserver /*.aliyundunwaf.com/AliDNS
nameserver /*.aliyun-inc.com/AliDNS
# > AntGroup
nameserver /*.antgroup.com/AliDNS
nameserver /*.antfin.com/AliDNS
nameserver /*.antfinancial.com/AliDNS
nameserver /*.alipay.com/AliDNS
nameserver /*.alipay.com.cn/AliDNS
nameserver /*.alipaydns.com/AliDNS
nameserver /*.alipayeshop.com/AliDNS
nameserver /*.alipaylog.com/AliDNS
nameserver /*.alipayobjects.com/AliDNS
nameserver /*.alipay-eco.com/AliDNS
# > Tencent
nameserver /*.tencent.com/DNSPod
nameserver /*.qcloud.com/DNSPod
nameserver /*.qcloudcdn.cn/DNSPod
nameserver /*.qcloudcdn.com/DNSPod
nameserver /*.qcloudcos.com/DNSPod
nameserver /*.qcloudimg.com/DNSPod
nameserver /*.qcloudcjgj.com/DNSPod
nameserver /*.qcloudwzgj.com/DNSPod
nameserver /*.qcloudzygj.com/DNSPod
nameserver /*.myqcloud.com/DNSPod
nameserver /*.tencent-cloud.net/DNSPod
nameserver /*.tencent-cloud.com/DNSPod
nameserver /*.tencent-cloud.cn/DNSPod
nameserver /*.tencentcs.com/DNSPod
nameserver /*.tencentcloud-aiot.com/DNSPod
nameserver /*.tencentcloudapi.com/DNSPod
nameserver /*.tencentcloudcr.com/DNSPod
nameserver /*.tencentcloudmarket.com/DNSPod
nameserver /*.qq.com/DNSPod
nameserver /*.qq.com.cn/DNSPod
nameserver /*.qlogo.cn/DNSPod
nameserver /*.qpic.cn/DNSPod
nameserver /*.gtimg.com/DNSPod
nameserver /*.weixin.qq.com/DNSPod
nameserver /*.wx.qq.com/DNSPod
nameserver /*.weixin.com/DNSPod
nameserver /*.weixinbridge.com/DNSPod
nameserver /*.wechat.com/DNSPod
nameserver /*.servicewechat.com/DNSPod
nameserver /*.weiyun.com/DNSPod
nameserver /*.gtimg.cn/DNSPod
nameserver /*.idqqimg.com/DNSPod
nameserver /*.cdn-go.cn/DNSPod
nameserver /*.smtcdns.com/DNSPod
nameserver /*.smtcdns.net/DNSPod
nameserver /url.cn/DNSPod
nameserver /*.maoyan.com/DNSPod
# > Baidu
nameserver /*.baidu/BaiduDNS
nameserver /*.baidu.com/BaiduDNS
nameserver /*.bdimg.com/BaiduDNS
nameserver /*.bdstatic.com/BaiduDNS
nameserver /*.baidupcs.cn/BaiduDNS
nameserver /*.baiduyuncdn.cn/BaiduDNS
nameserver /*.baiduyundns.cn/BaiduDNS
nameserver /*.bdydns.cn/BaiduDNS
nameserver /*.bdycdn.cn/BaiduDNS
nameserver /*.baidupcs.com/BaiduDNS
nameserver /*.baiduyuncdn.com/BaiduDNS
nameserver /*.baiduyundns.com/BaiduDNS
nameserver /*.bdydns.com/BaiduDNS
nameserver /*.bdycdn.com/BaiduDNS
nameserver /*.baidupcs.com.cn/BaiduDNS
nameserver /*.baiduyuncdn.com.cn/BaiduDNS
nameserver /*.baiduyundns.com.cn/BaiduDNS
nameserver /*.bdydns.com.cn/BaiduDNS
nameserver /*.bdycdn.com.cn/BaiduDNS
nameserver /*.bdysite.com/BaiduDNS
nameserver /*.bdysites.com/BaiduDNS
nameserver /*.baidubce.cn/BaiduDNS
nameserver /*.baidubce.com/BaiduDNS
nameserver /*.bcedns.cn/BaiduDNS
nameserver /*.bcedns.com/BaiduDNS
nameserver /*.bcebos.com/BaiduDNS
nameserver /*.bcevod.com/BaiduDNS
nameserver /*.bceimg.com/BaiduDNS
nameserver /*.bcehost.com/BaiduDNS
nameserver /*.bcehosts.com/BaiduDNS
nameserver /dwz.cn/BaiduDNS
# > 360
nameserver /*.360.cn/360DNS
nameserver /*.360safe.com/360DNS
nameserver /*.360kuai.com/360DNS
nameserver /*.so.com/360DNS
nameserver /*.360webcache.com/360DNS
nameserver /*.qihuapi.com/360DNS
nameserver /*.qhimg.com/360DNS
nameserver /*.qhimgs.com/360DNS
nameserver /*.qhmsg.com/360DNS
nameserver /*.qhres.com/360DNS
nameserver /*.dhrest.com/360DNS
nameserver /*.qhupdate.com/360DNS
nameserver /*.yunpan.cn/360DNS
nameserver /*.yunpan.com.cn/360DNS
nameserver /*.yunpan.com/360DNS
nameserver /urlqh.cn/360DNS
# > Bytedance
nameserver /*.amemv.com/ByteDanceDNS
nameserver /*.bdxiguaimg.com/ByteDanceDNS
nameserver /*.bdxiguastatic.com/ByteDanceDNS
nameserver /*.byted-static.com/ByteDanceDNS
nameserver /*.bytedance.com/ByteDanceDNS
nameserver /*.bytedance.cn/ByteDanceDNS
nameserver /*.bytedance.com.cn/ByteDanceDNS
nameserver /*.bytedns.net/ByteDanceDNS
nameserver /*.bytednsdoc.com/ByteDanceDNS
nameserver /*.bytegoofy.com/ByteDanceDNS
nameserver /*.byteimg.com/ByteDanceDNS
nameserver /*.bytescm.com/ByteDanceDNS
nameserver /*.bytetos.com/ByteDanceDNS
nameserver /*.bytexservice.com/ByteDanceDNS
nameserver /*.douyin.com/ByteDanceDNS
nameserver /*.douyinpic.com/ByteDanceDNS
nameserver /*.douyinstatic.com/ByteDanceDNS
nameserver /*.douyinvod.com/ByteDanceDNS
nameserver /*.feelgood.cn/ByteDanceDNS
nameserver /*.feiliao.com/ByteDanceDNS
nameserver /*.gifshow.com/ByteDanceDNS
nameserver /*.huoshan.com/ByteDanceDNS
nameserver /*.huoshanzhibo.com/ByteDanceDNS
nameserver /*.ibytedapm.com/ByteDanceDNS
nameserver /*.iesdouyin.com/ByteDanceDNS
nameserver /*.ixigua.com/ByteDanceDNS
nameserver /*.kspkg.com/ByteDanceDNS
nameserver /*.pstatp.com/ByteDanceDNS
nameserver /*.snssdk.com/ByteDanceDNS
nameserver /*.toutiao.com/ByteDanceDNS
nameserver /*.toutiao13.com/ByteDanceDNS
nameserver /*.toutiaocloud.cn/ByteDanceDNS
nameserver /*.toutiaocloud.com/ByteDanceDNS
nameserver /*.toutiaocloud.com.cn/ByteDanceDNS
nameserver /*.toutiaopage.com/ByteDanceDNS
nameserver /*.wukong.com/ByteDanceDNS
nameserver /*.zijieapi.com/ByteDanceDNS
nameserver /*.zijieimg.com/ByteDanceDNS
nameserver /*.zjbyte.com/ByteDanceDNS
nameserver /*.zjcdn.com/ByteDanceDNS
# > BiliBili
nameserver /upos-sz-mirrorali.bilivideo.com/AliDNS
nameserver /upos-sz-mirrorbos.bilivideo.com/BaiduDNS
nameserver /upos-sz-mirrorcos.bilivideo.com/DNSPod
nameserver /upos-sz-upcdntx.bilivideo.com/DNSPod
# > CHN
nameserver /*.gov.cn/CNNICDNS
# > TWN
nameserver /*.cht.com.tw/HiNetDNS
nameserver /*.hinet.net/HiNetDNS
nameserver /*.emome.net/HiNetDNS
nameserver /*.tw/TwnicDNS
nameserver /*.taipei/TwnicDNS
# > USA
nameserver /*.he.net/HeDNS

jiaozhu204 发表于 2023-9-19 10:56

一直不是很懂它和openclash 之间在openwrt下如何搭配设置,就没用。。。

不知道有作业能抄下么?

Ownab 发表于 2023-9-19 11:25

jiaozhu204 发表于 2023-9-19 10:56
一直不是很懂它和openclash 之间在openwrt下如何搭配设置,就没用。。。

不知道有作业能抄下么? ...

这个部分违规~ 不能聊。。。

zzybzhong 发表于 2023-10-6 10:35

每次刚设置好时挺好用的,用一段时间就不好使了。

Ownab 发表于 2023-10-6 10:52

本帖最后由 Ownab 于 2023-10-6 12:04 编辑

zzybzhong 发表于 2023-10-6 10:35
每次刚设置好时挺好用的,用一段时间就不好使了。

阿里的公共DNS不要开DoT和TCP,另外非阿里系的尽量不要用阿里DNS,阿里那个是个超级大缓存

还有, 国内流量不要开edns, 国内除了腾讯基本都不支持edns, 而腾讯的偶尔会抽风

zzybzhong 发表于 2023-10-6 15:51

本帖最后由 zzybzhong 于 2023-10-6 15:53 编辑

Ownab 发表于 2023-10-6 10:52
阿里的公共DNS不要开DoT和TCP,另外非阿里系的尽量不要用阿里DNS,阿里那个是个超级大缓存

还有, 国内流 ...

是替换smartdns整个配置文件?还是将代码复制到自定义配置里?我想试试你这个代码的效果

Ownab 发表于 2023-10-6 20:35

本帖最后由 Ownab 于 2023-10-6 20:40 编辑

zzybzhong 发表于 2023-10-6 15:51
是替换smartdns整个配置文件?还是将代码复制到自定义配置里?我想试试你这个代码的效果 ...

1# 前55行对应下图, 注意“-exclude-default-group -no-check-certificate”参数要到对应条目的高级里面勾选



1# 后面的复制到这里



其他设置




配置完了以后, 每个URL首次访问会慢, 因为要测试,第二次开始会有非常明显的效果差异

zzybzhong 发表于 2023-10-7 08:25

Ownab 发表于 2023-10-6 20:35
1# 前55行对应下图, 注意“-exclude-default-group -no-check-certificate”参数要到对应条目的高级里面 ...

谢谢大佬的分享。我今晚试试这套设置的效果。

zixiang5288 发表于 2023-10-9 22:31

效果不错,刚刚整完

Ownab 发表于 2023-10-9 22:50

本帖最后由 Ownab 于 2023-10-27 14:47 编辑

zixiang5288 发表于 2023-10-9 22:31
效果不错,刚刚整完

如果出现个别智能家居设备连接问题,把这个cache Persist取消重启一下设备,我测试下来跟Linksys路由器的远程控制有冲突,其他还好

更新: Linksys的问题已修复, 更新了配置文件

zzybzhong 发表于 2023-10-18 11:00

在用。观察看看,多久会蹦。

Ownab 发表于 2023-10-27 08:59

zzybzhong 发表于 2023-10-18 11:00
在用。观察看看,多久会蹦。

119.29.29.29那个 tcp改成udp, 腾讯这几天把tcp协议下线了

Ownab 发表于 2023-10-27 08:59

zixiang5288 发表于 2023-10-9 22:31
效果不错,刚刚整完

119.29.29.29那个 tcp改成udp, 腾讯这几天把tcp协议下线了

qhdxy 发表于 2023-11-2 09:27

openwrt 下使用 smartdns,只需要打这两个勾,其他设置取消勾,然后把所有配置直接丢自定义里,这样最方便

dominicchen 发表于 2023-11-17 15:37

MARK晚上回去更新一下设置

comuis 发表于 2024-1-4 08:28

这个能不能**呢

shiift 发表于 2024-2-26 13:59

有没有 恩山帖子, 能配合 OpenClash 或者 PassWall 使用的教程,那样更香[狂笑]

m1ngh 发表于 2024-5-18 22:14

Ownab 发表于 2023-10-6 20:35
1# 前55行对应下图, 注意“-exclude-default-group -no-check-certificate”参数要到对应条目的高级里面 ...

老哥咨询一下 你这上游服务器是怎么刷进去的?一行一行填太麻烦了

wae 发表于 2024-7-6 12:05

楼主规则有更新吗?
页: [1]
查看完整版本: [SmartDNS] 分流设置分享