summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-https-dns-proxy/luasrc')
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.nextdns.dns.lua8
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/tw.twnic.dns.lua8
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua6
3 files changed, 19 insertions, 3 deletions
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.nextdns.dns.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.nextdns.dns.lua
new file mode 100644
index 0000000000..418c100f45
--- /dev/null
+++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.nextdns.dns.lua
@@ -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"
+}
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/tw.twnic.dns.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/tw.twnic.dns.lua
new file mode 100644
index 0000000000..dea4eda37f
--- /dev/null
+++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/tw.twnic.dns.lua
@@ -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)"
+}
diff --git a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
index ea4b0d8af0..e38e4e39b6 100644
--- a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
+++ b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
@@ -169,7 +169,7 @@ prov.write = function(self, section, value)
uci:save(packageName)
end
-la = s3:option(Value, "listen_addr", translate("Listen address"))
+la = s3:option(Value, "listen_addr", translate("Listen Address"))
la.datatype = "host"
la.placeholder = "127.0.0.1"
la.rmempty = true
@@ -182,7 +182,7 @@ uci:foreach(packageName, packageName, function(s)
n = n + 1
end)
-lp = s3:option(Value, "listen_port", translate("Listen port"))
+lp = s3:option(Value, "listen_port", translate("Listen Port"))
lp.datatype = "port"
lp.value = n + 5053
@@ -190,7 +190,7 @@ dscp = s3:option(Value, "dscp_codepoint", translate("DSCP Codepoint"))
dscp.datatype = "range(0,63)"
dscp.rmempty = true
-ps = s3:option(Value, "proxy_server", translate("Proxy server"))
+ps = s3:option(Value, "proxy_server", translate("Proxy Server"))
ps.rmempty = true
return m