From: Stan Grishin Date: Wed, 29 Jul 2020 09:41:27 +0000 (+0000) Subject: luci-app-https-dns-proxy: add OpenDNS servers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce5c5c864d9e8ab37a60bf8681eddce672efeead;p=project%2Fluci.git luci-app-https-dns-proxy: add OpenDNS servers Signed-off-by: Stan Grishin --- diff --git a/applications/luci-app-https-dns-proxy/Makefile b/applications/luci-app-https-dns-proxy/Makefile index b18e019aaa..097f93b641 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:=9 +PKG_RELEASE:=10 include ../../luci.mk diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.doh.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.doh.lua new file mode 100644 index 0000000000..b3eff188a1 --- /dev/null +++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.doh.lua @@ -0,0 +1,8 @@ +return { + name = "OpenDNS", + label = _("OpenDNS"), + resolver_url = "https://doh.opendns.com/dns-query", + bootstrap_dns = "208.67.222.222,208.67.220.220", + help_link = "https://support.opendns.com/hc/en-us/articles/360038086532-Using-DNS-over-HTTPS-DoH-with-OpenDNS", + help_link_text = "OpenDNS" +} diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.familyshield.doh.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.familyshield.doh.lua new file mode 100644 index 0000000000..12cc89a965 --- /dev/null +++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.familyshield.doh.lua @@ -0,0 +1,8 @@ +return { + name = "OpenDNS-FamilyShield", + label = _("OpenDNS (Family Shield)"), + resolver_url = "https://doh.familyshield.opendns.com/dns-query", + bootstrap_dns = "208.67.222.123,208.67.220.123", + help_link = "https://support.opendns.com/hc/en-us/articles/360038086532-Using-DNS-over-HTTPS-DoH-with-OpenDNS", + help_link_text = "OpenDNS" +} 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 0194ef08e1..7b680cd15c 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 @@ -81,6 +81,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 "" @@ -109,6 +113,14 @@ msgstr "" msgid "ODVR (nic.cz)" msgstr "" +#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.doh.lua:3 +msgid "OpenDNS" +msgstr "" + +#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.opendns.familyshield.doh.lua:3 +msgid "OpenDNS (Family Shield)" +msgstr "" + #: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:177 msgid "Proxy server" msgstr ""