diff options
author | Stan Grishin <stangri@melmac.net> | 2020-08-27 21:36:38 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-08-27 21:36:38 +0000 |
commit | 20ee1f0d47d22be9a69dc24a80addc1fbc89b78b (patch) | |
tree | dd0a3a692b547b27aefa10ea8545b34aaaece994 | |
parent | c0e597ca53d9cee41f8fbc97b6d4f8e961576158 (diff) |
luci-app-https-dns-proxy: add DNSPod.cn DoH
Signed-off-by: Stan Grishin <stangri@melmac.net>
4 files changed, 17 insertions, 7 deletions
diff --git a/applications/luci-app-https-dns-proxy/Makefile b/applications/luci-app-https-dns-proxy/Makefile index 6ce17ecbc..0b933b560 100644 --- a/applications/luci-app-https-dns-proxy/Makefile +++ b/applications/luci-app-https-dns-proxy/Makefile @@ -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 index 6e53e4868..4ef78c1cb 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 000000000..6e831f7fb --- /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" +} diff --git a/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot b/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot index 4dabe76cf..ea3bfbdb2 100644 --- a/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot +++ b/applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot @@ -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 "" |