summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-08-27 21:36:38 +0000
committerStan Grishin <stangri@melmac.net>2020-08-27 21:36:38 +0000
commit20ee1f0d47d22be9a69dc24a80addc1fbc89b78b (patch)
treedd0a3a692b547b27aefa10ea8545b34aaaece994 /applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers
parentc0e597ca53d9cee41f8fbc97b6d4f8e961576158 (diff)
luci-app-https-dns-proxy: add DNSPod.cn DoH
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers')
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua10
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua6
2 files changed, 11 insertions, 5 deletions
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua
index 6e53e48689..4ef78c1cbe 100644
--- a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua
+++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua
@@ -1,6 +1,6 @@
-return{
-name="Alidns",
-label=_("Alidns"),
-resolver_url="https://dns.alidns.com/dns-query",
-bootstrap_dns="223.5.5.5,223.6.6.6,2400:3200::1,2400:3200:baba::1"
+return {
+ name="AliDNS",
+ label=_("AliDNS"),
+ resolver_url="https://dns.alidns.com/dns-query",
+ bootstrap_dns="223.5.5.5,223.6.6.6,2400:3200::1,2400:3200:baba::1"
}
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua
new file mode 100644
index 0000000000..6e831f7fb0
--- /dev/null
+++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua
@@ -0,0 +1,6 @@
+return{
+ name = "DNSPod-cn-Public-DNS",
+ label = _("DNSPod.cn Public DNS"),
+ resolver_url = "https://doh.pub/dns-query",
+ bootstrap_dns = "119.29.29.29,119.28.28.28"
+}