luci-app-https-dns-proxy: add DNSPod.cn DoH 4392/head
authorStan Grishin <stangri@melmac.net>
Thu, 27 Aug 2020 21:36:51 +0000 (21:36 +0000)
committerStan Grishin <stangri@melmac.net>
Thu, 27 Aug 2020 21:36:51 +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 [new file with mode: 0644]
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
 
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
new file mode 100644 (file)
index 0000000..4ef78c1
--- /dev/null
@@ -0,0 +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"
+}
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 d15a028340a24f0e7630a014d5140ecf9f6c7286..ea3bfbdb231a4c67b389c6482a686f093ef35364 100644 (file)
@@ -13,6 +13,10 @@ msgstr ""
 msgid "AdGuard (Standard)"
 msgstr ""
 
+#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.alidns.dns.lua:3
+msgid "AliDNS"
+msgstr ""
+
 #: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/ca.cira.canadianshield.family.lua:3
 msgid "CIRA Canadian Shield (Family)"
 msgstr ""
@@ -61,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 ""
@@ -81,6 +89,10 @@ msgstr ""
 msgid "Google"
 msgstr ""
 
+#: applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json:3
+msgid "Grant UCI and file access for luci-app-https-dns-proxy"
+msgstr ""
+
 #: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:126
 msgid "Instances"
 msgstr ""