luci-app-ssr-plus: add custom DNS setting for Netflix etc

This commit is contained in:
coolsnowwolf 2020-02-20 16:54:11 +08:00
parent b3e90d7d68
commit 30ffdb3f2a
3 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-ssr-plus
PKG_VERSION:=148
PKG_VERSION:=149
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

View File

@ -69,7 +69,7 @@ o:value("1", translate("Use Pdnsd tcp query and cache"))
o:value("0", translate("Use Local DNS Service listen port 5335"))
o.default = 1
o = s:option(ListValue, "tunnel_forward", translate("Anti-pollution DNS Server"))
o = s:option(Value, "tunnel_forward", translate("Anti-pollution DNS Server"))
o:value("8.8.4.4:53", translate("Google Public DNS (8.8.4.4)"))
o:value("8.8.8.8:53", translate("Google Public DNS (8.8.8.8)"))
o:value("208.67.222.222:53", translate("OpenDNS (208.67.222.222)"))
@ -84,5 +84,6 @@ o:value("1.1.1.1:53", translate("Cloudflare DNS (1.1.1.1)"))
o:value("114.114.114.114:53", translate("Oversea Mode DNS-1 (114.114.114.114)"))
o:value("114.114.115.115:53", translate("Oversea Mode DNS-2 (114.114.115.115)"))
o:depends("pdnsd_enable", "1")
o.description = translate("Custom DNS Server format as IP:PORT (default: 8.8.4.4:53)")
return m

View File

@ -397,6 +397,9 @@ msgstr "主服务器"
msgid "Anti-pollution DNS Server"
msgstr "访问国外域名DNS服务器"
msgid "Custom DNS Server format as IP:PORT (default: 8.8.4.4:53)"
msgstr "自定义国外域名DNS服务器格式为 IP:PORT (默认: 8.8.4.4:53)。可自定义DNS用于 Netflix 解锁等"
msgid "Use Pdnsd tcp query and cache"
msgstr "使用PDNSD TCP查询并缓存"