OpenWrt 安装 MosDNS v5 超傻瓜方式 #455
Replies: 21 comments 13 replies
-
Beta Was this translation helpful? Give feedback.
-
|
求个自定义配置,用默认的有点问题个别网站 |
Beta Was this translation helpful? Give feedback.
-
|
牛逼,顶你下 |
Beta Was this translation helpful? Give feedback.
-
|
sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/master/install.sh)" 这个问题如何解决 |
Beta Was this translation helpful? Give feedback.
-
|
这个NB,对于没有编译mosdns的固件是个福音 |
Beta Was this translation helpful? Give feedback.
-
|
op旁路由模式,直接禁用dnsmasq了(改成了其他不用的端口),然后把mosdns直接监听53端口,然后登录op执行报错,只好手工一行一行执行,看看哪里出错,发现取不到ip |
Beta Was this translation helpful? Give feedback.
-
|
Error! download https://github.com/sbwml/luci-app-mosdns/releases/download/v5.1.3-4/mosdns_5.1.3-4_x86_64.ipk failed. |
Beta Was this translation helpful? Give feedback.
-
|
安装出面以下错误 Error relocating /usr/lib/libcurl.so.4: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation: symbol not found |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
hello,问问已经安装好了5.1.3-10,怎么升级哦? 是不是直接运行安装时的脚本哦》》》》 |
Beta Was this translation helpful? Give feedback.
-
|
这个依赖一个什么组件的(忘记了),如果要用5.3.1的版本,需要卸载掉这个组件的12版本,升级到13和14的版本,不过这样会掉三个软件,helloword、bypass、passwall(passwall2倒是没事)和ShadowSocksR Plus+,我用openclash,所以掉了也无所谓。我用的esir的x86固件。 |
Beta Was this translation helpful? Give feedback.
-
|
人才部部长~~~搞定 |
Beta Was this translation helpful? Give feedback.
-
|
root@BleachWrt:~# sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/v5/install.sh)" |
Beta Was this translation helpful? Give feedback.
-
|
如果安装以后,一直无法启动,,可以试试 把9091 端口 空出来,,我原来把外部端口9091 给下载使用,,,导致一直无法启动,,,后面改成9092,,空出来9091 就可以了 |
Beta Was this translation helpful? Give feedback.
-
|
请问immwrt安装不上是怎么回事 |
Beta Was this translation helpful? Give feedback.
-
|
安装后服务菜单看不到mosdns |
Beta Was this translation helpful? Give feedback.
-
|
怎么安装5.3.1版本呢? |
Beta Was this translation helpful? Give feedback.
-
|
新版安装后选项少了好多 |
Beta Was this translation helpful? Give feedback.
-
|
进阶配置也说一说啊,大佬 |
Beta Was this translation helpful? Give feedback.
-
|
安装完没有lib.sh和set.sh文件,有大神知道原因么 |
Beta Was this translation helpful? Give feedback.
-
|
可以,安装之后就是最新的 |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
来源:https://github.com/sbwml/luci-app-mosdns
🎁 MosDNS v5 is Ready! 🎉
v5 版本加入了更多的功能选项,同时它继续使用 v2ray-geodata 数据库做规则,自定义配置模式下自带 v2ray-geodata 数据库导出功能,可以让你在编写自定义配置的时候随时使用 geosite 数据库列表。
正在使用v4 版本的童鞋,可以用安装脚本无障碍升级到 v5!
⚠注意⚠
曾经安装过其他版本的 MosDNS LuCI 或使用的固件自带了 MosDNS,安装后可能无法正常运行,你需要先将其它来源的版本卸载并清除数据残留后再装才能使用。
解决方法:
1、卸载包含 mosdns 字符的所有软件包
2、删除数据
rm -rf /etc/config/mosdns /etc/mosdns3、重新安装 mosdns
安装方法
How to install prebuilt packages (OpenWrt 18-22)
Login OpenWrt terminal (SSH)
Install
curlpackageExecute install script (Multi-architecture support)
sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-mosdns/v5/install.sh)"插件截图
普通用户的默认配置(一般来讲已经非常够用)
默认配置



规则列表
白名单:加入的域名始终允许使用 “本地 DNS” 进行解析,且优先级最高(每个域名一行,支持域名匹配规则)
黑名单:加入的域名将屏蔽 DNS 解析(每个域名一行,支持域名匹配规则)
灰名单:加入的域名始终使用 “远程 DNS” 进行解析(每个域名一行,支持域名匹配规则)
DDNS 域名:加入的域名始终使用 “本地 DNS” 进行解析,并且强制 TTL 5 秒,解析结果不会进入缓存(每个域名一行,支持域名匹配规则)
Hosts:自定义 Hosts 重写,如:baidu.com 10.0.0.1(每个规则一行)
重定向:重定向请求的域名。请求域名 A,但返回域名 B 的记录,如:baidu.com qq.com(每个规则一行)
PTR 黑名单:加入的域名将阻止 PTR 请求(每个域名一行,支持域名匹配规则)
数据库更新(geodata,它提供广告列表、大陆域名、ip归属)

日志文件

进阶用户的 DIY 配置
Beta Was this translation helpful? Give feedback.
All reactions