luci-app-https-dns-proxy: add DNSPod.cn DoH 4391/head
authorStan Grishin <stangri@melmac.net>
Thu, 27 Aug 2020 21:36:38 +0000 (21:36 +0000)
committerStan Grishin <stangri@melmac.net>
Thu, 27 Aug 2020 21:36:38 +0000 (21:36 +0000)
Signed-off-by: Stan Grishin <stangri@melmac.net>
applications/luci-app-https-dns-proxy/Makefile
applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua
applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua [new file with mode: 0644]
applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot

index 6ce17ecbcbf2ab0bbe44521fcea36ea353002eb8..0b933b560f06b268540f8d9f06093ffc505510d4 100644 (file)
@@ -10,7 +10,7 @@ LUCI_TITLE:=DNS Over HTTPS Proxy Web UI
 LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy
 LUCI_DEPENDS:=+luci-compat +luci-mod-admin-full +https-dns-proxy
 LUCI_PKGARCH:=all
-PKG_RELEASE:=11
+PKG_RELEASE:=12
 
 include ../../luci.mk
 
index 6e53e48689fefb5b9c05c859525ad59337d789bb..4ef78c1cbea17f5d8bc0b0b672ea1cd100382ac2 100644 (file)
@@ -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 (file)
index 0000000..6e831f7
--- /dev/null
@@ -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"
+}
index 4dabe76cf1d456e3514ad383a4b576ce6749eddb..ea3bfbdb231a4c67b389c6482a686f093ef35364 100644 (file)
@@ -14,7 +14,7 @@ msgid "AdGuard (Standard)"
 msgstr ""
 
 #: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua:3
-msgid "Alidns"
+msgid "AliDNS"
 msgstr ""
 
 #: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/ca.cira.canadianshield.family.lua:3
@@ -65,6 +65,10 @@ msgstr ""
 msgid "DNS.SB"
 msgstr ""
 
+#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/pub.doh.lua:3
+msgid "DNSPod.cn Public DNS"
+msgstr ""
+
 #: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers.disabled/ch.digitale-gesellschaft.dns.lua:3
 msgid "Digitale Gesellschaft"
 msgstr ""