恩山无线论坛

标题: 【2022-8-6】【已开源】SmartDNS,高性能本地DNS服务器,极大优化网络访问速度 [打印本页]

作者: shenmuecn    时间: 2018-7-22 21:25
标题: 【2022-8-6】【已开源】SmartDNS,高性能本地DNS服务器,极大优化网络访问速度
本帖最后由 shenmuecn 于 2022-8-6 17:33 编辑

特别说明
smartdns为免费开源软件,未收取任何费用,如有问题,请移步github提交issue或提交相关代码patch。
如软件对自己有用,可以github上点赞支持下。
如无用,选择不用即可,请不要谩骂或带节奏。
作者并没有从此软件获益,开发此软件为作者本身使用需要,作者也没有义务或责任为smartdns的使用问题负责,也不会收取所谓的智商税。

国内开源不易,多谢各位的理解和支持。

作者建议使用默认配置,仅需增加上游服务器地址,默认配置已经优化最佳,此模式已经适配大部分场景。
如果需要修改配置,请阅读相关的帮助,正确配置,避免配置错误起到反作用。


阿里云公共DNS 223.5.5.5/223.6.6.6因不支持tcp的pipeline模式,会导致查询异常,不建议使用其tcp/tls模式。

2022-8-6更新内容详见更新日志。


SmartDNS


SmartDNS是一个运行在本地的DNS服务器,SmartDNS接受本地客户端的DNS查询请求,从多个上游DNS服务器获取DNS查询结果,并将访问速度最快的结果返回个客户端,提高网络访问速度。同时支持指定特定域名IP地址,并高性匹配,达到过滤广告的效果。
支持树莓派,openwrt,华硕路由器,Windows 10 WSL等设备。

smartdns是移动宽带,长城宽带用户的福音。

下载路径:https://github.com/pymumu/smartdns/releases
使用指导及安装配套表:https://pymumu.github.io/smartdns/

效果展示
以百度为例,分别用阿里DNS 223.6.6.6和SmartDNS对比。
阿里DNS结果:
[attach]235421[/attach]

SmartDNS结果:

[attach]235422[/attach]

可以看到,在未使用SmartDNS时,访问百度时延在30ms左右,使用smartdns后,时延在6ms。

特性
功能说明


界面预览

[attach]234253[/attach]

使用下载配套安装包

下载配套版本的SmartDNS安装包,对应安装包配套关系如下。(请访问https://pymumu.github.io/smartdns/查看最新配套表)
系统安装包说明
标准Linux系统(树莓派)smartdns.xxxxxxxx.armhf.deb支持树莓派Raspbian stretch,Debian 9系统。
标准Linux系统(x86_64)smartdns.xxxxxxxx.x86_64.tar.gz支持x86_64 Linux 系统。
Windows 10 WSL (ubuntu)smartdns.xxxxxxxx.x86_64.tar.gz支持Windows 10 WSL ubuntu系统。
华硕原生固件(optware)smartdns.xxxxxxx.mipsbig.ipk支持MIPS大端架构的系统,如RT-AC55U, RT-AC66U.
华硕原生固件(optware)smartdns.xxxxxxx.mipsel.ipk支持MIPS小端架构的系统。
华硕原生固件(optware)smartdns.xxxxxxx.arm.ipk支持arm小端架构的系统,如RT-AC68U。
Padavansmartdns.xxxxxxx.mipselsf.ipkpadavan固件。
openwrt 15.01smartdns.xxxxxxxx.ar71xx.ipk支持AR71XX MIPS系统。
openwrt 15.01smartdns.xxxxxxxx.ramips.ipk支持MT7260小端等路由器
openwrt 15.01(潘多拉)smartdns.xxxxxxxx.ramips_24kec.ipk支持MT762X等小端路由器
openwrt 15.01(潘多拉)smartdns.xxxxxxxx.ramips_24kec.ipk支持MT7620系列的潘多拉固件
openwrt 18.06smartdns.xxxxxxxx.mips_24kc.ipk支持AR71XX MIPS系统。
openwrt 18.06smartdns.xxxxxxxx.mipsel_24kc.ipk支持MT7260小端等路由器
openwrt 18.06smartdns.xxxxxxxx.x86-64.ipk支持x86-64路由器
openwrt 18.06smartdns.xxxxxxxxxxx.arm_cortex-a9.ipk支持arm A9核心CPU的路由器
openwrt 18.06smartdns.xxxxxxxxx.arm_cortex-a7_neon-vfpv4.ipk支持arm A7核心CPU的路由器
openwrt LUCIluci-app-smartdns.xxxxxxxxx.xxxx.all.ipkopenwrt管理统一界面

openwrt系统CPU架构比较多,请查看CPU架构后下载,CPU架构可在路由器管理界面找到,查看方法:

src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base

使用说明
https://pymumu.github.io/smartdns/

下载:下载链接

版本说明:
如果没有你要的版本,请在回复中留言,注明一下信息:
【路由器型号】:
【CPU型号】:
【openwrt适用的固件路径】:(https://downloads.openwrt.org/releases/目录中给出)
【opkg的安装源信息】:(登录路由器,点击System->Software,点击Configuration Tab页面的内容)


更新日志
【2022/8/6】

  更新内容:  
  功能:
  1. 支持返回多IP地址,优化下载、视频播放体验。  
     第一个IP地址仍然为最快,保证大部分软件体验,并支持设置返回IP个数,参数:max-reply-ip-num(此功能需要开启cache)
  2. 支持读取dnsmasq dhcp文件,解析局域网主机功能,参数:dnsmasq-lease-file [/path/to/lease-file]。
  3. 支持设置首次请求响应模式,参数:response-mode, 值:
     * first-ping:最快ping响应地址模式,DNS上游最快查询时延+ping时延最短,查询等待与链接体验最佳。(当前默认)
     * fastest-ping: 最快IP地址模式,查询到的所有IP地址中ping最短的IP。DNS查询时间最长,IP链接最短。(之前模式)
     * fastest-response: 最快响应的DNS结果,DNS查询等待时间最短。
  4. 支持设置ECS。
  5. speed-mode支持设置三种测速模式,之前版本为两种。
  6. 优化docker镜像大小为3MB。
  7. 双栈优选支持主动优选IPV6地址避免链接V4地址:参数:dualstack-ip-allow-force-AAAA yes。(实验性功能)
  8. 双栈优选支持设置预取周期,参数:serve-expired-prefetch-time [second]
  9. 支持非root模式运行,提升服务安全性,参数:user [username]
  10. 支持缓存除A,AAAA类型的其他结果,如SRV,TXT,NXDOMAIN等。提升查询性能。
  11. 优化并行查询性能,合并同类型查询。
  12. 支持查询smartdns服务的IP地址,用于检测smartdns服务是否正常。如:`dig smartdns`返回路由IP。
  13. 支持自动检测IPV6运行环境,自动开启/关闭IPV6相关功能。
  14. Auditlog支持记录多IP地址。
  15. 支持无PID文件启动smartdns多实例,`-pid -`进程启动参数。
  16. 优化smartdns日志打印,避免无效打印,和收到无效数据包的打印,以及优化配置错误的提示。
  
  BUG修复:
  1. 解决TTL某些场景下不变化的BUG。
  2. 解决IPSET在某些场景下丢失问题。
  3. 解决日志打印引发的进程死锁和IP冲突问题
  4. 解决其他若干crash问题。
  5. 解决华硕路由器中,cache无法持久化的BUG。
  6. 解决openwrt中,提示端口冲突的BUG。
  7. 解决smartdns github版本和debian版本冲突的问题。
  8. 解决双栈优选的一些BUG。
  9. 解决其他crash问题。
  10. 清理代码中潜在的问题。
  11. 避免查询风暴。
  
  注意:
  1. 此版本默认情况下,会启用多IP能力,会出现第一次查询返回一个IP,后面再次查询返回多个IP的情况,属于正常的功能。注意和之前版本区分。
  2. cache建议开启,并保证持久化功能开启,这样才能获得多IP查询能力。
  3. smartdns是否正常,可用`dig smartdns`或`ping smartdns.`检查(注意,windows下后面的.是必须)


【2019/12/15】
  1. GPL V3协议开源。
  2. 解决一些BUG。

【2019/11/2】


【2019/4/1】


【2019/2/18】


【2019/1/8】


【2018/12/1】


【2018/11/3】


【2018/9/4】


【2018/8/17】


【2018/8/9】

【2018/8/7】
1. 解决LEDE系统下,重启后,redirect未生效的问题。
2. 增加IPV6场景下的端口重定向。
3. 增加重定向是否生效的检测。并提示。


【2018/8/3】
1. 解决华硕路由器中服务重启问题。
2. 优化,当域名只有一个IP的情况下,不做检测。
3. 增加arm_cortex-a9_vfpv3的支持
4. 解决界面服务状态显示未刷新的问题
5. 优化指导书,刷新检查服务是否生效的方法
6. 界面默认启用redirect

注意:之前版本升级到此版本,需要重启路由器,否则服务状态将获取失败。

【2018/7/31】
1. 增加配置smartdns服务器名字,完善帮助。
2. 增加中文界面.

【2018/7/30】
1.增加x86_64, arm_cortex_a9, arm_cortex_a7的支持


【2018/7/25】
1. 解决smartdns服务在路由器重启时没启动的问题。

【2018/7/24】
1. 解决LEDE安装时的segment falut错误。
2. 支持X86-64系统














作者: 505575853    时间: 2018-7-22 21:36
没有x86 64的么
作者: shenmuecn    时间: 2018-7-22 21:39
505575853 发表于 2018-7-22 21:36
没有x86 64的么

在准备编译环境,后面会有。

你要支持的x86_64的标准Linux,还是x86_64的openwrt?
作者: 505575853    时间: 2018-7-22 21:44
shenmuecn 发表于 2018-7-22 21:39
在准备编译环境,后面会有。

你要支持的x86_64的标准Linux,还是x86_64的openwrt?

当然openwrt拉
作者: hcyme    时间: 2018-7-22 21:46
看上去很美丽,谢谢分享
作者: 心理有数    时间: 2018-7-22 21:47
6666666666
作者: nee207    时间: 2018-7-22 22:22
试试看,如果有效就太棒了
作者: 坚持↓去    时间: 2018-7-22 22:49
x86_64的openwrt,目前双网:电信+联通,策略路由:联通IP走联通,其他电信
dnsmasq.conf里:
all-servers  
server=61.139.2.69
server=119.6.6.6
这2两个电信和联通的DNS ping延迟一样,哪个运营商DNS服务器返回最快流量就跑到哪个运营商线路
楼主这个适合我,空了打算弄下
作者: a2213062    时间: 2018-7-23 01:08
和pdnsd好像
作者: hcyme    时间: 2018-7-23 07:26
怎么样呢?老铁们
作者: dongfangy2011    时间: 2018-7-23 09:14
不晓得效果怎么样,特别是被监控
作者: 林展扬    时间: 2018-7-23 10:18
期待开源。
作者: ekenchan    时间: 2018-7-23 10:21
没开源,不敢用
作者: cayxxx    时间: 2018-7-23 10:23
和china-dns有啥区别
作者: 我是路人乙    时间: 2018-7-23 10:25
期待开源,这个选择方式和dnschooser很像
作者: QQ66    时间: 2018-7-23 11:42
支持一下,看起来和pcap-dnsproxy的功能差不多
作者: 我是路人乙    时间: 2018-7-23 11:59
K2T openwrt,内核4.9.107。opkg install提示Segmentation fault错误。
作者: shenmuecn    时间: 2018-7-23 12:01
我是路人乙 发表于 2018-7-23 11:59
K2T openwrt,内核4.9.107。opkg install提示Segmentation fault错误。

是不是没有下对版本。大小端不要搞错,openwrt的版本不要搞错。

作者: shenmuecn    时间: 2018-7-23 12:03
dongfangy2011 发表于 2018-7-23 09:14
不晓得效果怎么样,特别是被监控

免费,功能不限制,无后门,如担心,建议不要使用。
作者: shenmuecn    时间: 2018-7-23 12:04
我是路人乙 发表于 2018-7-23 10:25
期待开源,这个选择方式和dnschooser很像

嗯,看了下dnschooser,确实差不多,这个后面还会增加其他功能的,在规划中。
作者: shenmuecn    时间: 2018-7-23 12:05
QQ66 发表于 2018-7-23 11:42
支持一下,看起来和pcap-dnsproxy的功能差不多

不同,pcap-dnsproxy是按规则过滤避免DNS污染,这个是动态检测,并且能达到提升访问速度的效果。pcap是不行的
作者: shenmuecn    时间: 2018-7-23 12:06
ekenchan 发表于 2018-7-23 10:21
没开源,不敢用

免费,功能不限制,无后门,暂不开源,如担心,建议不要使用
作者: 博丽灵梦    时间: 2018-7-23 12:20
请问楼主,华硕acrh-17 用的高通ipq4019 cpu的产品有匹配吗?
作者: 我是路人乙    时间: 2018-7-23 13:13
shenmuecn 发表于 2018-7-23 12:01
是不是没有下对版本。大小端不要搞错,openwrt的版本不要搞错。

K2T是Qualcomm Atheros QCA956X

AR71xx和mips_24kc无法安装,又把剩下的所有都试了,都不能安装。


作者: 56143575    时间: 2018-7-23 13:22
效果怎么样 字数补丁

作者: harry586    时间: 2018-7-23 17:40
效果怎么样??有试过的吗?
作者: zgzh    时间: 2018-7-23 18:19
内核4.9.107 opkg install提示Segmentation fault错误
作者: 1323344202    时间: 2018-7-23 21:29
看上去很美丽,谢谢分享
作者: someoneloveU    时间: 2018-7-23 22:14
make 下,回去弄

作者: liuxichi    时间: 2018-7-23 22:46
不错下载试试看
作者: cdnaa    时间: 2018-7-24 01:00
试一下,,我这边udo 53被劫持
作者: l256    时间: 2018-7-24 01:21
来了解一下
作者: s2005203007    时间: 2018-7-24 01:37
不开源 放gayhub干嘛
作者: Emmerich    时间: 2018-7-24 01:46
k3类型的arm系列会有吗
作者: @12@    时间: 2018-7-24 03:28
好好好好好
作者: yesup    时间: 2018-7-24 07:41
高端大气上档次
作者: shenmuecn    时间: 2018-7-24 09:09
505575853 发表于 2018-7-22 21:44
当然openwrt拉

编译了x86-64的版本,看看能不能用。
作者: en小哥666    时间: 2018-7-24 09:16
紫薯布丁紫薯布丁
作者: cdnaa    时间: 2018-7-24 13:11
目前最新版Pangubox 安装失败了..
系统是PandoraBox-ralink-mt7620-newifi-mini-2018-07-21-git-73ad65611

[attach]234775[/attach]

作者: 505575853    时间: 2018-7-24 13:20
本帖最后由 505575853 于 2018-7-24 13:27 编辑
shenmuecn 发表于 2018-7-24 09:09
编译了x86-64的版本,看看能不能用。

/tmp$ opkg install smartdns.1.2018.07.24-0807.x86-64.ipk
Unknown package 'smartdns'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for smartdns found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package smartdns.
/tmp$ opkg install smartdns.1.2018.07.24-0807.x86-64.ipk --force-depends
Unknown package 'smartdns'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for smartdns found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package smartdns.我是openwrt x86 x86_64 4.14和4.9内核

作者: yuyangzxw    时间: 2018-7-24 13:26
看看下载地址
作者: 274895282    时间: 2018-7-24 14:33
支持华硕Merlin吗
作者: 505575853    时间: 2018-7-24 14:53
顺便问一下tcp udp可以同时并发吗?
作者: shenmuecn    时间: 2018-7-24 15:03
cdnaa 发表于 2018-7-24 13:11
目前最新版Pangubox 安装失败了..
系统是PandoraBox-ralink-mt7620-newifi-mini-2018-07-21-git-73ad65611 ...

查了下,潘多拉的应该是15.05的openwrt,不是lede的,你可以安装这个看一下:smartdns.1.2018.07.24-1455.mipsel_24kec_dsp.ipk
作者: 505575853    时间: 2018-7-24 15:11
https://github.com/holmium/dnsforwarder/blob/6/default.config   其实和dnsforwarder很像,一个给ss坐上游,一个做本地dns
作者: shenmuecn    时间: 2018-7-24 15:29
505575853 发表于 2018-7-24 15:11
https://github.com/holmium/dnsforwarder/blob/6/default.config   其实和dnsforwarder很像,一个给ss坐上 ...

这个不只是防止DNS污染,这个会检测DNS解析后的IP访问速度的。
一个域名的多个IP地址,返回客户端的只有一个访问速度最快的IP地址。
作者: good223388    时间: 2018-7-24 15:35
谢谢分享ヾ(●`●)哇~

作者: 279792890    时间: 2018-7-24 15:44

谢谢楼主分享资源
作者: cdnaa    时间: 2018-7-24 15:55
本帖最后由 cdnaa 于 2018-7-24 16:03 编辑
shenmuecn 发表于 2018-7-24 15:03
查了下,潘多拉的应该是15.05的openwrt,不是lede的,你可以安装这个看一下:smartdns.1.2018.07.24-1455 ...

换成smartdns.1.2018.07.24-1455.mipsel_24kec_dsp.ipk 这个可以了~谢谢
  1. [root@PandoraBox_8C78:/root]#opkg install smartdns.1.2018.07.24-1455.mipsel_24kec_dsp.ipk
  2. Installing smartdns (1.2018.07.24-1455) to root...
  3. Configuring smartdns.
  4. [root@PandoraBox_8C78:/root]#opkg install luci-app-smartdns.1.2018.07.24-0807.all.ipk
  5. Installing luci-app-smartdns (1.2018.07.24-0807) to root...
  6. Configuring luci-app-smartdns.
复制代码



Pangubox的SDK
https://downloads.pangubox.com/pandorabox/18.07/targets/ralink/

设备型号Newifi mini
固件版本PandoraBox 18.07 2018-07-21-git-73ad65611 / LuCI Master (git-18.191.64311-165cb77)
内核版本3.14.79



作者: 279792890    时间: 2018-7-24 16:00
是不是这样就可以了?
还要设置别的吗

作者: 279792890    时间: 2018-7-24 16:06
279792890 发表于 2018-7-24 16:00
是不是这样就可以了?
还要设置别的吗

这里不用改对吗?

作者: nikoxp    时间: 2018-7-24 16:15
感谢分享。。
作者: robinsome    时间: 2018-7-24 17:06
谢谢分享了
作者: clutam75849    时间: 2018-7-24 17:07
好东西,回复一下看看
作者: pizizhang    时间: 2018-7-24 17:10
好东西啊,谢谢楼主分享
作者: lflcan    时间: 2018-7-24 17:13
按照描述, 如果用于扶墙,smartdns 可以同时替代 dns-forward 和 china-dns 对吗?
作者: 5112075    时间: 2018-7-24 17:16
那个redirect 的选项需要提上吗?
作者: lflcan    时间: 2018-7-24 17:44
楼主啊,smartdns能让指定域名使用特定的dns来解析吗?
作者: clutam75849    时间: 2018-7-24 17:54
问一下:路由器默认地址必须为192.168.1.1吗?
作者: czytea    时间: 2018-7-24 18:16
本帖最后由 czytea 于 2018-7-24 18:19 编辑

怎么设置才能让smartdns和china-dns搭配工作?
[attach]234801[/attach]

[attach]234802[/attach]

[attach]234803[/attach]

作者: sspg33    时间: 2018-7-24 18:24
279792890 发表于 2018-7-24 16:00
是不是这样就可以了?
还要设置别的吗

53端口是游戏端口? 王者荣耀 填什么端口  也是UDP吗
作者: sspg33    时间: 2018-7-24 18:50
sspg33 发表于 2018-7-24 18:24
53端口是游戏端口? 王者荣耀 填什么端口  也是UDP吗

这个插件能降低游戏延迟吗   
作者: sspg33    时间: 2018-7-24 19:08
那用这个插件有什么意义?
作者: shenmuecn    时间: 2018-7-24 19:13
sspg33 发表于 2018-7-24 19:08
那用这个插件有什么意义?

都说了,是找最快的IP给你,一般情况下一个域名会有多个IP地址的,你的手机,电脑,是找任意一个,但这个并不一定是最快的,这个软件就是帮你找到最快的IP返回的手机,电脑。

也就是你玩一游戏可能没用到最快的那个IP,这个软件可以帮你找到最快的那个IP,这样你玩游戏就快了。

但如果服务器只有一个IP,这个软件就没有用。
作者: sspg33    时间: 2018-7-24 19:33
shenmuecn 发表于 2018-7-24 19:13
都说了,是找最快的IP给你,一般情况下一个域名会有多个IP地址的,你的手机,电脑,是找任意一个,但这个 ...

懂了 !~~~~~~~~~~~~~~~~~~~~~~~~
作者: 815e    时间: 2018-7-24 19:53
期待开源,这个选择方式和dnschooser很像
作者: haidaoyy    时间: 2018-7-24 20:58
如果没有你要的版本,请在回复中留言
作者: 炽热太阳    时间: 2018-7-24 21:30
回复看看!!!!!!!!
作者: 我是路人乙    时间: 2018-7-24 22:11
[attach]234857[/attach]

K2T安装mips_24K,不在运行
作者: cdnaa    时间: 2018-7-24 22:17
我又来了哈。。。

我在另一台机子上测试 又安装不上了,CPU是MT7621
smartdns.1.2018.07.24-1455.mipsel_24kec_dsp
smartdns.1.2018.07.24-0807.mipsel_24kc.ipk
smartdns.1.2018.07.24-0807.mipsel.ipk.ipk

#opkg install smartdns.1.2018.07.24-1455.mipsel_24kec_dsp.ipk
Unknown package 'smartdns'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for smartdns found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package smartdns.

设备型号HiWiFi HC5962
固件版本PandoraBox 18.07 2018-07-21-git-a73863179 / LuCI Master (git-18.191.64311-165cb77)
内核版本3.14.79
作者: cdnaa    时间: 2018-7-24 22:24
cdnaa 发表于 2018-7-24 22:17
我又来了哈。。。

我在另一台机子上测试 又安装不上了,CPU是MT7621

还是同样的问...
[root@B70:/root]#opkg install smartdns.1.2018.07.24-1455.ramips_24kec.ipk
Unknown package 'smartdns'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for smartdns found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package smartdns.
作者: cdnaa    时间: 2018-7-24 22:28
本帖最后由 cdnaa 于 2018-7-26 11:01 编辑
cdnaa 发表于 2018-7-24 22:24
还是同样的问...
[root@B70:/root]#opkg install smartdns.1.2018.07.24-1455.ramips_24kec.ipk
Unkno ...

opkg list uhttpd
uhttpd - 2016-10-25-1628fa4b-1 - uHTTPd is a tiny single threaded HTTP server with TLS, CGI and Lua support. It is intended as a drop-in replacement for the Busybox HTTP daemon.
找的应该是这个吧
  1. [root@B70:/root]#cat /proc/cpuinfo |grep 'system type'
  2. system type                : MediaTek MT7621
  3. [root@B70:/root]#cat /proc/cpuinfo |grep 'cpu model'
  4. cpu model                : MIPS 1004Kc V2.15
  5. cpu model                : MIPS 1004Kc V2.15
  6. cpu model                : MIPS 1004Kc V2.15
  7. cpu model                : MIPS 1004Kc V2.15
  8. [root@B70:/root]#cat /proc/cpuinfo |grep 'machine'
  9. machine                        : HiWiFi HC5962
复制代码



作者: cdnaa    时间: 2018-7-24 22:33
cdnaa 发表于 2018-7-24 22:28
opkg list uhttpd
uhttpd - 2016-10-25-1628fa4b-1 - uHTTPd is a tiny single threaded HTTP server wi ...

MIPS 1004Kc  应该是这个
作者: 291485356    时间: 2018-7-24 22:35
本帖最后由 291485356 于 2018-7-31 16:53 编辑

感谢分享...本人移动宽带,请问大佬,K2p官改应安装那个版本ipk,谢谢
作者: cdnaa    时间: 2018-7-24 22:56
cdnaa 发表于 2018-7-24 22:33
MIPS 1004Kc  应该是这个

试了下 还是不支持,麻烦编译一下 谢谢
  1. [root@Aibei:/root]#opkg install smartdns.1.2018.07.24-2239.ramips_1004kc.ipk
  2. Unknown package 'smartdns'.
  3. Collected errors:
  4. * pkg_hash_fetch_best_installation_candidate: Packages for smartdns found, but incompatible with the architectures configured
  5. * opkg_install_cmd: Cannot install package smartdns.
复制代码
SDK
https://downloads.pangubox.com/p ... gets/ralink/mt7621/

作者: cdnaa    时间: 2018-7-24 23:11
本帖最后由 cdnaa 于 2018-7-26 11:00 编辑
cdnaa 发表于 2018-7-24 22:56
试了下 还是不支持,麻烦编译一下 谢谢SDK
https://downloads.pangubox.com/pandorabox/18.07/targets/r ...

厉害了,,赞!! 确实可以了
  1. [root@B70:/root]#opkg install smartdns.1.2018.07.24-2258.mipsel_1004kc_dsp.ipk

  2. Installing smartdns (1.2018.07.24-2258) to root...
  3. Configuring smartdns.
  4. [root@B70:/root]#/usr/sbin/smartdns -h
  5. Usage: smartdns [OPTION]...
  6. Start smartdns server.
  7.   -f            run forground.
  8.   -c [conf]     config file.
  9.   -p [pid]      pid file path
  10.   -h            show this help message.
  11. Online help: http://pymumu.github.io/smartdns
复制代码



作者: Lux    时间: 2018-7-24 23:20
C301安装不了,CPU是AR9344
作者: 奥特曼打小怪兽    时间: 2018-7-25 16:18
来看看,非标棒棒
作者: xiaokui51020    时间: 2018-7-25 17:24
kankan............................
作者: cjjdaq    时间: 2018-7-25 19:48
不支持本地tcp监听,另外希望添加安卓二进制
作者: lflcan    时间: 2018-7-25 20:59
Report a bug! Newifi d1在PandoraBox 18.07 2018-07-21下用ramips_24kec或mipsel_1004kc的包都会出现系统重启后smartdns看似在运行,但仍需手动重启smartdns才能正常解析的情况!
作者: 1323344202    时间: 2018-7-25 22:09
可惜了,不开源
作者: cjjdaq    时间: 2018-7-25 22:09
本帖最后由 cjjdaq 于 2018-7-25 22:12 编辑

@shenmuecn
安卓udp->tcp -->路由dnsmasq_tcp->smart_tcp
作者: mlpk12    时间: 2018-7-25 22:24
谢谢分享。。。。。。。。
作者: leechaohua    时间: 2018-7-25 22:26
支持楼主!!!
作者: a2213062    时间: 2018-7-26 01:59
楼主  我安装了   机器重启后 smartdns 不运行  每次重启后都要手动重启下服务才行
不知道怎么回事
看了下启动项里   没有禁用啊
作者: gdck    时间: 2018-7-26 04:10
效果有明显吗?
作者: sg871013613    时间: 2018-7-26 06:18
66666666666666666666666666
作者: tomatogege    时间: 2018-7-26 09:19
很厉害哦
作者: 279792890    时间: 2018-7-26 12:44
279792890 发表于 2018-7-24 16:06
这里不用改对吗?

我重新改了下。

作者: sspg33    时间: 2018-7-26 13:36
装好了 有没有效果就不清楚了 。在二级路由用 的      会不会受主路由的DNS影响?


作者: sspg33    时间: 2018-7-26 13:39
我是路人乙 发表于 2018-7-24 22:11
K2T安装mips_24K,不在运行

我的9341 也是和你一样  刚才没注意 还以为装好了  看了一下  也是NOT RUNNING
作者: ml991    时间: 2018-7-26 14:07
支持支持楼主!!
作者: shenmuecn    时间: 2018-7-26 14:15
sspg33 发表于 2018-7-26 13:39
我的9341 也是和你一样  刚才没注意 还以为装好了  看了一下  也是NOT RUNNING

1. 看看是不是5353端口被占用了,比运行了china-dns .
2. 刷新下页面。
3. 看看/usr/sbin/smartdns -h是否可执行。如果不可执行,那就是包有问题,反馈下。
作者: 某人_    时间: 2018-7-26 15:18
感觉和dnsmasq有点像
作者: cjjdaq    时间: 2018-7-26 16:55
@shenmuecn
dnsmasq无法强制udp到上游的。tcp来就tcp转出去,udp来就udp转出去。需求是不大但需要的时候用不了gg了。主流的dns软件基本没有不支持tcp监听的。
作者: sspg33    时间: 2018-7-26 19:02
shenmuecn 发表于 2018-7-26 14:15
1. 看看是不是5353端口被占用了,比运行了china-dns .
2. 刷新下页面。
3. 看看/usr/sbin/smartdns -h ...

1 固件里没有集成china-dns功能  应该是没运行的。
2刷新了  还是NOT
3不知道在哪里执行!~说清楚点可好  新手!~
作者: sspg33    时间: 2018-7-26 19:05
在启动项那边点击启用后    切换到选项里面依然是NOT RUNNING
作者: ymkpynnghd    时间: 2018-7-26 19:15
看看,我来学习
作者: sspg33    时间: 2018-7-26 19:40
执行了  就返回这些






欢迎光临 恩山无线论坛 (https://www.right.com.cn/forum/) Powered by Discuz! X3.5