Update code

This commit is contained in:
Nick Peng
2018-07-22 23:07:53 +08:00
parent de6486d99c
commit 7238cbd63c
2 changed files with 8 additions and 5 deletions

View File

@@ -2,7 +2,8 @@ SmartDNS
==============
SmartDNS是一个运行在本地的DNS服务器SmartDNS接受本地客户端的DNS查询请求从多个上游DNS服务器获取DNS查询结果并将访问速度最快的结果返回个客户端避免DNS污染提高网络访问速度。
同时支持指定特定域名IP地址并高性匹配达到过滤广告的效果。
同时支持指定特定域名IP地址并高性匹配达到过滤广告的效果。
与dnsmasq的all-servers不同smartdns返回的是访问速度最快的解析结果。
支持树莓派openwrt华硕路由器等设备。
@@ -54,9 +55,9 @@ SmartDNS是一个运行在本地的DNS服务器SmartDNS接受本地客户端
|华硕原生固件(optware)|smartdns.xxxxxxx.mipsbig.ipk|支持MIPS大端架构的系统如RT-AC55U, RT-AC66U.
|华硕原生固件(optware)|smartdns.xxxxxxx.mipsel.ipk|支持MIPS小端架构的系统如RT-AC68U。
|openwrt 15.01|smartdns.xxxxxxxx.ar71xx.ipk|支持AR71XX MIPS系统。
|openwrt 15.01|smartdns.xxxxxxxx.ramips.ipk|支持MT7620系统
|openwrt 15.01|smartdns.xxxxxxxx.ramips.ipk|支持MT7620端等小系统
|openwrt LEDE|smartdns.2xxxxxxxx.mips_24kc.ipk|支持AR71XX MIPS系统。
|openwrt LEDE|smartdns.xxxxxxxx.mipsel_24kc.ipk|支持
|openwrt LEDE|smartdns.xxxxxxxx.mipsel_24kc.ipk|支持MT7260等小端路由器
|openwrt LUCI|luci-app-smartdns.xxxxxxxxx.xxxx.all.ipk|openwrt管理统一界面
[此处下载](https://github.com/pymumu/smartdns/releases)
@@ -204,8 +205,9 @@ vi /opt/etc/smartdns/smartdns.conf
|server-tcp|上游TCP DNS|无|[IP][:port],可重复| server-tcp 8.8.8.8:53
|address|指定域名IP地址|无|address /domain/ip| address /www.example.com/1.2.3.4
[捐助](#donate)
[Donate](#Donate)
==============
如果你觉得此项目对你有帮助,请捐助我们,以使项目能持续发展,更加完善。
* PayPal
[![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://paypal.me/PengNick/)

View File

@@ -28,7 +28,8 @@ o.datatype = "port"
o.rempty = false
o = s:option(Flag, "redirect", translate("redirect"), translate("redirect standard dns query from 53 to smartdns"))
o.default = true
o.default = "1"
o.placeholder = "1"
o.rempty = false
---- cache-size