Merge pull request #4765 from stangri/master-luci-app-https-dns-proxy
luci-app-https-dns-proxy: add nextdns.io and quad 101 providers
This commit is contained in:
commit
55c0c1b476
4 changed files with 30 additions and 6 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
name = "NextDNS.io",
|
||||||
|
label = _("NextDNS.io"),
|
||||||
|
resolver_url = "https://dns.nextdns.io/",
|
||||||
|
bootstrap_dns = "45.90.28.49,45.90.30.49",
|
||||||
|
help_link = " https://my.nextdns.io",
|
||||||
|
help_link_text = "NextDNS.io"
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
name = "Quad 101 (Taiwan)",
|
||||||
|
label = _("Quad 101 (Taiwan)"),
|
||||||
|
resolver_url = "https://dns.twnic.tw/dns-query",
|
||||||
|
bootstrap_dns = "101.101.101.101,101.102.103.104,2001:de4::101,2001:de4::102",
|
||||||
|
help_link = "https://blog.twnic.tw/2018/12/28/1803/",
|
||||||
|
help_link_text = "Quad 101 (Taiwan)"
|
||||||
|
}
|
|
@ -169,7 +169,7 @@ prov.write = function(self, section, value)
|
||||||
uci:save(packageName)
|
uci:save(packageName)
|
||||||
end
|
end
|
||||||
|
|
||||||
la = s3:option(Value, "listen_addr", translate("Listen address"))
|
la = s3:option(Value, "listen_addr", translate("Listen Address"))
|
||||||
la.datatype = "host"
|
la.datatype = "host"
|
||||||
la.placeholder = "127.0.0.1"
|
la.placeholder = "127.0.0.1"
|
||||||
la.rmempty = true
|
la.rmempty = true
|
||||||
|
@ -182,7 +182,7 @@ uci:foreach(packageName, packageName, function(s)
|
||||||
n = n + 1
|
n = n + 1
|
||||||
end)
|
end)
|
||||||
|
|
||||||
lp = s3:option(Value, "listen_port", translate("Listen port"))
|
lp = s3:option(Value, "listen_port", translate("Listen Port"))
|
||||||
lp.datatype = "port"
|
lp.datatype = "port"
|
||||||
lp.value = n + 5053
|
lp.value = n + 5053
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ dscp = s3:option(Value, "dscp_codepoint", translate("DSCP Codepoint"))
|
||||||
dscp.datatype = "range(0,63)"
|
dscp.datatype = "range(0,63)"
|
||||||
dscp.rmempty = true
|
dscp.rmempty = true
|
||||||
|
|
||||||
ps = s3:option(Value, "proxy_server", translate("Proxy server"))
|
ps = s3:option(Value, "proxy_server", translate("Proxy Server"))
|
||||||
ps.rmempty = true
|
ps.rmempty = true
|
||||||
|
|
||||||
return m
|
return m
|
||||||
|
|
|
@ -133,17 +133,21 @@ msgid "LibreDNS (No Ads)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:172
|
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:172
|
||||||
msgid "Listen address"
|
msgid "Listen Address"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:185
|
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:185
|
||||||
msgid "Listen port"
|
msgid "Listen Port"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/js.htm:52
|
#: applications/luci-app-https-dns-proxy/luasrc/view/https-dns-proxy/js.htm:52
|
||||||
msgid "Loading"
|
msgid "Loading"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.nextdns.dns.lua:3
|
||||||
|
msgid "NextDNS.io"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cz.nic.odvr.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cz.nic.odvr.lua:3
|
||||||
msgid "ODVR (nic.cz)"
|
msgid "ODVR (nic.cz)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -157,7 +161,11 @@ msgid "OpenDNS (Family Shield)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:193
|
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:193
|
||||||
msgid "Proxy server"
|
msgid "Proxy Server"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/tw.twnic.dns.lua:3
|
||||||
|
msgid "Quad 101 (Taiwan)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/net.quad9.dns.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/net.quad9.dns.lua:3
|
||||||
|
|
Loading…
Reference in a new issue