版本与下载SmartDNS · 官方文件与备用下载

最新正式版Release48.4

SmartDNS 的版本和文件名来自 GitHub Release,右侧提供官方地址及三个备用下载入口。 默认展开最新正式版;如果项目只有预发布版,会在版本旁单独标注。下载按钮直接指向官方直链或镜像链接,可复制链接到下载器。

最新正式版发布 2026-08-05共 10 个版本共 369 个文件最新预发布 nightly本页展示最近 3 个版本⭐ 11,301License GPL-3.0github.com/pymumu/smartdns

怎么挑:Windows 优先 .exe / .msi;macOS 优先 .dmg;Linux 选 .deb / .rpm / .AppImage;Android 选 .apk;带 .sig / .asc / .sha256 的是校验文件,不是安装包。 下载慢:从右侧三路反代列里挑一个能通的点开;复制按钮复制真实目标链接,方便放进下载器。

这里列出最近 3 个版本、每版最多 32 个文件;完整历史请查看 pymumu/smartdns Releases。

Release48.42026-08-0539 个文件 · 展示 32正式版
文件 / 平台大小官方直链反代 · ghproxy.net反代 · ghfast.top反代 · mirror.ghproxy.com
smartdns.1.2026.08.05-0921.mipsel-openwrt-all.ipkOpenWrt2.0 MB
smartdns.1.2026.08.05-0921.x86_64-linux-all.tar.gzLinux9.0 MB
smartdns.1.2026.08.05-0921.x86-optware-all.ipkOpenWrt2.2 MB
smartdns.1.2026.08.05-0921.x86-openwrt-all.apkAndroid8.8 MB
smartdns.1.2026.08.05-0921.x86-linux-all.tar.gzLinux8.9 MB
smartdns.1.2026.08.05-0921.mipsel-openwrt-all.apkAndroid2.0 MB
smartdns.1.2026.08.05-0921.x86_64-debian-all.debLinux7.5 MB
smartdns.1.2026.08.05-0921.x86_64-openwrt-all.apkAndroid8.9 MB
smartdns.1.2026.08.05-0921.x86_64-optware-all.ipkOpenWrt2.2 MB
smartdns.1.2026.08.05-0921.mips-debian-all.debLinux1.7 MB
smartdns.1.2026.08.05-0921.x86_64-openwrt-all.ipkOpenWrt9.0 MB
smartdns.1.2026.08.05-0921.x86-openwrt-all.ipkOpenWrt8.8 MB
smartdns.1.2026.08.05-0921.arm-openwrt-all.ipkOpenWrt8.6 MB
smartdns.1.2026.08.05-0921.arm-openwrt-all.apkAndroid8.5 MB
smartdns.1.2026.08.05-0921.mips-optware-all.ipkOpenWrt2.1 MB
smartdns.1.2026.08.05-0921.x86-debian-all.debLinux7.6 MB
smartdns.1.2026.08.05-0921.mipsel-debian-all.debLinux1.7 MB
smartdns.1.2026.08.05-0921.mips-openwrt-all.ipkOpenWrt2.1 MB
smartdns.1.2026.08.05-0921.mipsel-optware-all.ipkOpenWrt2.0 MB
smartdns.1.2026.08.05-0921.aarch64-linux-all.tar.gzLinux8.8 MB
smartdns.1.2026.08.05-0921.mips-openwrt-all.apkAndroid2.1 MB
smartdns-x86_64其他5.8 MB
smartdns-mips其他5.5 MB
smartdns-mipsel其他5.5 MB
smartdns.1.2026.08.05-0921.arm-debian-all.debLinux7.3 MB
smartdns.1.2026.08.05-0921.aarch64-optware-all.ipkOpenWrt8.8 MB
smartdns.1.2026.08.05-0921.arm-linux-all.tar.gzLinux8.6 MB
smartdns.1.2026.08.05-0921.aarch64-openwrt-all.apkAndroid8.7 MB
smartdns.1.2026.08.05-0921.aarch64-debian-all.debLinux7.5 MB
smartdns.1.2026.08.05-0921.arm-optware-all.ipkOpenWrt8.6 MB
smartdns.1.2026.08.05-0921.aarch64-openwrt-all.ipkOpenWrt8.8 MB
smartdns-x86其他5.0 MB
nightly2026-08-3039 个文件 · 展示 32预发布版
文件 / 平台大小官方直链反代 · ghproxy.net反代 · ghfast.top反代 · mirror.ghproxy.com
smartdns.1.2026.08.30-1818.x86_64-optware-all.ipkOpenWrt2.2 MB
smartdns.1.2026.08.30-1818.x86_64-openwrt-all.ipkOpenWrt9.0 MB
smartdns.1.2026.08.30-1818.aarch64-optware-all.ipkOpenWrt8.7 MB
smartdns.1.2026.08.30-1818.x86_64-linux-all.tar.gzLinux9.0 MB
smartdns-x86其他5.0 MB
luci-app-smartdns-lite.1.2026.08.30-1818.all-luci-lite-all.ipkOpenWrt10.3 KB
luci-app-smartdns-lite.1.2026.08.30-1818.all-luci-lite-all.apkAndroid9.4 KB
smartdns.1.2026.08.30-1818.aarch64-openwrt-all.apkAndroid8.7 MB
smartdns.1.2026.08.30-1818.x86-openwrt-all.apkAndroid8.8 MB
smartdns.1.2026.08.30-1818.mipsel-debian-all.debLinux1.7 MB
smartdns.1.2026.08.30-1818.aarch64-debian-all.debLinux7.5 MB
smartdns.1.2026.08.30-1818.x86-debian-all.debLinux7.6 MB
smartdns.1.2026.08.30-1818.mipsel-optware-all.ipkOpenWrt2.0 MB
smartdns.1.2026.08.30-1818.aarch64-linux-all.tar.gzLinux8.8 MB
smartdns.1.2026.08.30-1818.arm-openwrt-all.ipkOpenWrt8.6 MB
smartdns.1.2026.08.30-1818.x86-openwrt-all.ipkOpenWrt8.8 MB
smartdns.1.2026.08.30-1818.x86_64-debian-all.debLinux7.5 MB
luci-app-smartdns.1.2026.08.30-1818.all-luci-all.apkAndroid17.0 KB
luci-app-smartdns.1.2026.08.30-1818.all-luci-compat-all.ipkOpenWrt17.6 KB
smartdns.1.2026.08.30-1818.mips-optware-all.ipkOpenWrt2.1 MB
smartdns.1.2026.08.30-1818.mipsel-openwrt-all.apkAndroid2.0 MB
smartdns.1.2026.08.30-1818.x86_64-openwrt-all.apkAndroid8.9 MB
smartdns.1.2026.08.30-1818.mips-openwrt-all.apkAndroid2.1 MB
smartdns.1.2026.08.30-1818.mips-debian-all.debLinux1.7 MB
smartdns.1.2026.08.30-1818.x86-linux-all.tar.gzLinux8.9 MB
smartdns.1.2026.08.30-1818.arm-openwrt-all.apkAndroid8.5 MB
smartdns.1.2026.08.30-1818.x86-optware-all.ipkOpenWrt2.2 MB
smartdns.1.2026.08.30-1818.mips-openwrt-all.ipkOpenWrt2.1 MB
smartdns.1.2026.08.30-1818.arm-optware-all.ipkOpenWrt8.6 MB
smartdns-mipsel其他5.5 MB
smartdns-mips其他5.5 MB
smartdns.1.2026.08.30-1818.aarch64-openwrt-all.ipkOpenWrt8.7 MB
Release48.32026-07-2738 个文件 · 展示 32正式版
文件 / 平台大小官方直链反代 · ghproxy.net反代 · ghfast.top反代 · mirror.ghproxy.com
smartdns-x86_64其他5.1 MB
luci-app-smartdns.1.2026.07.28-0446.all-luci-all.apkAndroid17.0 KB
luci-app-smartdns.1.2026.07.28-0446.all-luci-all.ipkOpenWrt17.7 KB
luci-app-smartdns.1.2026.07.28-0446.all-luci-compat-all.ipkOpenWrt17.5 KB
luci-app-smartdns-lite.1.2026.07.28-0446.all-luci-lite-all.apkAndroid9.4 KB
luci-app-smartdns-lite.1.2026.07.28-0446.all-luci-lite-all.ipkOpenWrt10.2 KB
smartdns.1.2026.07.28-0446.aarch64-debian-all.debLinux7.0 MB
smartdns.1.2026.07.28-0446.aarch64-linux-all.tar.gzLinux8.8 MB
smartdns.1.2026.07.28-0446.aarch64-openwrt-all.apkAndroid8.8 MB
smartdns.1.2026.07.28-0446.aarch64-openwrt-all.ipkOpenWrt8.8 MB
smartdns.1.2026.07.28-0446.aarch64-optware-all.ipkOpenWrt8.8 MB
smartdns.1.2026.07.28-0446.arm-debian-all.debLinux6.8 MB
smartdns.1.2026.07.28-0446.arm-linux-all.tar.gzLinux8.6 MB
smartdns.1.2026.07.28-0446.arm-openwrt-all.apkAndroid8.6 MB
smartdns.1.2026.07.28-0446.arm-openwrt-all.ipkOpenWrt8.6 MB
smartdns.1.2026.07.28-0446.arm-optware-all.ipkOpenWrt8.6 MB
smartdns.1.2026.07.28-0446.mips-debian-all.debLinux1.3 MB
smartdns.1.2026.07.28-0446.mipsel-debian-all.debLinux1.4 MB
smartdns.1.2026.07.28-0446.mipsel-openwrt-all.apkAndroid1.9 MB
smartdns.1.2026.07.28-0446.mipsel-openwrt-all.ipkOpenWrt1.9 MB
smartdns.1.2026.07.28-0446.mipsel-optware-all.ipkOpenWrt1.9 MB
smartdns.1.2026.07.28-0446.mips-openwrt-all.apkAndroid1.9 MB
smartdns.1.2026.07.28-0446.mips-openwrt-all.ipkOpenWrt1.9 MB
smartdns.1.2026.07.28-0446.mips-optware-all.ipkOpenWrt1.9 MB
smartdns.1.2026.07.28-0446.x86_64-debian-all.debLinux7.3 MB
smartdns.1.2026.07.28-0446.x86_64-linux-all.tar.gzLinux9.1 MB
smartdns.1.2026.07.28-0446.x86_64-openwrt-all.apkAndroid9.0 MB
smartdns.1.2026.07.28-0446.x86_64-openwrt-all.ipkOpenWrt9.0 MB
smartdns.1.2026.07.28-0446.x86_64-optware-all.ipkOpenWrt2.0 MB
smartdns.1.2026.07.28-0446.x86-debian-all.debLinux7.2 MB
smartdns.1.2026.07.28-0446.x86-openwrt-all.apkAndroid8.7 MB
smartdns.1.2026.07.28-0446.x86-openwrt-all.ipkOpenWrt8.7 MB

本页加速下载用到的 3 个 GitHub 反代镜像

反代前缀说明
ghproxy.nethttps://ghproxy.net/第三方反代
ghfast.tophttps://ghfast.top/第三方反代
mirror.ghproxy.comhttps://mirror.ghproxy.com/第三方反代

反代是独立第三方服务,状态和运营方都可能变化。HTTPS 只保护当前连接,不能单独证明文件与源站一致;下载后应计算 SHA256,并与发布者给出的哈希或签名比较。

GitHub 仓库简介:A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH, DoQ. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT,DoQ。 · 许可 GPL-3.0 · ⭐ 11,301

SmartDNS 是 pymumu 维护的本地 DNS 服务器,10K+ stars。核心机制是并行查询多个上游 DNS 并返回最快结果,同时支持测速选优和 ipset 集成。对比 Mosdns 的灵活分流和 AdGuardHome 的广告过滤,SmartDNS 专长在 DNS 解析加速,尤其适合 OpenWrt 路由器场景。

项目定位

DNS 工具对比:

dnsmasq          - 经典轻量,OpenWrt 默认
SmartDNS         - 测速选最快上游  ← 本文
Mosdns           - 插件化分流 + 性能
AdGuardHome      - 广告过滤 + Web UI
unbound          - 完整 DNS 解析器

SmartDNS 强在:

  • 一个域名同时查多个上游,选最快返回
  • 测 TCP / HTTPS 端口延迟(不仅 DNS 延迟)
  • 集成 ipset(让国内 IP 解析结果加入 ipset → 路由层直连)

部署

OpenWrt(推荐)

opkg update
opkg install smartdns luci-app-smartdns

LuCI → Services → SmartDNS → 启用 → 配置上游。

Linux 二进制

wget https://github.com/pymumu/smartdns/releases/latest/download/smartdns.x86_64-linux-all.tar.gz
tar -xf smartdns*.tar.gz
cd smartdns/package
dpkg -i smartdns*.deb   # Ubuntu / Debian

Docker

docker run -d \
  --name smartdns \
  --restart=always \
  -p 53:53/udp \
  -p 53:53/tcp \
  -v $(pwd)/smartdns.conf:/etc/smartdns/smartdns.conf \
  pymumu/smartdns

配置示例

/etc/smartdns/smartdns.conf:

# 监听
bind [::]:53
bind-tcp [::]:53

# 国内上游(不加密,速度优先)
server 119.29.29.29
server 223.5.5.5
server 114.114.114.114

# 加密上游
server-https https://1.1.1.1/dns-query
server-https https://dns.google/dns-query
server-tls 8.8.8.8

# 缓存
cache-size 32768
cache-persist yes
cache-file /var/log/smartdns.cache

# 测速
speed-check-mode tcp:80,tcp:443,ping
response-mode fastest-ip  # fastest-response / first-ping / fastest-ip

启动:systemctl restart smartdns。

国内外分流

SmartDNS 支持「双解析」(国内域名走国内 DNS,海外走 DoH):

# 国内组
server 119.29.29.29 -group cn
server 223.5.5.5 -group cn

# 海外组
server-https https://1.1.1.1/dns-query -group global
server-https https://dns.google/dns-query -group global

# 规则:国内域名走 cn,其它走 global
domain-rules /cn-list.conf/ -nameserver cn
domain-rules / -nameserver global   # 默认其它

cn-list.conf 来自 v2ray-rules-dat 或社区维护的中国域名列表。

ipset 集成

把国内 IP 解析结果自动加入 ipset,让路由层直连:

ipset /cn-list.conf/ #4:china,#6:china6
ipset-no-speed-check

防火墙规则按 ipset china 做策略路由 → 国内 IP 走 WAN,海外 IP 走代理。

与同类对比

对比项SmartDNSMosdnsAdGuardHomednsmasq
测速选最快★★★★★★★❌❌
插件化分流★★★★★★★★★★★★★
Web UI⚠️(LuCI)❌✅⚠️(LuCI)
广告过滤⚠️(基础)⚠️(基础)★★★★★❌
性能★★★★★★★★★★★★★★★
学习曲线★★(conf)★★★(YAML)★(UI)★★
推荐场景OpenWrt 加速复杂分流家庭去广告兜底

与 Clash 配合

# clash.yaml
dns:
  enable: false  # 关 Clash 内置
  nameserver:
    - 127.0.0.1:53  # 指向本机 SmartDNS

SmartDNS 做 DNS 解析加速,Clash 做 TCP 协议代理。

配套订阅

SmartDNS 是 DNS 层工具,需配合代理客户端 + 节点订阅:

相关阅读