Merge pull request #3844 from DinStamou/feature_libredns

luci-app-https-dns-proxy: Add LibreDNS as a DoH provider
This commit is contained in:
Florian Eckert 2020-04-06 14:20:08 +02:00 committed by GitHub
commit 65fb44da9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,6 @@
return {
name = "LibreDNS",
label = _("LibreDNS (No Ads)"),
resolver_url = "https://doh.libredns.gr/ads",
bootstrap_dns = "116.202.176.26"
}

View file

@ -0,0 +1,6 @@
return {
name = "LibreDNS",
label = _("LibreDNS"),
resolver_url = "https://doh.libredns.gr/dns-query",
bootstrap_dns = "116.202.176.26"
}

View file

@ -91,7 +91,9 @@ s3 = m:section(TypedSection, "https-dns-proxy", translate("Instances"), translat
.. [[ <a href="https://adguard.com/en/adguard-dns/overview.html">]] .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html">]]
.. "AdGuard.com" .. [[</a>]] .. ", " .. "AdGuard.com" .. [[</a>]] .. ", "
.. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]] .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
.. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " " .. "CleanBrowsing.org" .. [[</a>]] .. " "
.. [[ <a href="https://libredns.gr/">]]
.. "Libredns.gr" .. [[</a]] .. " " .. translate("and") .. " "
.. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]] .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
.. "Quad9.net" .. [[</a>]] .. ".") .. "Quad9.net" .. [[</a>]] .. ".")
s3.template = "cbi/tblsection" s3.template = "cbi/tblsection"

View file

@ -88,6 +88,14 @@ msgstr ""
msgid "Loading" msgid "Loading"
msgstr "" msgstr ""
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua:3
msgid "LibreDNS"
msgstr ""
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua:3
msgid "LibreDNS (No Ads)"
msgstr ""
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cz.nic.odvr.lua:3 #: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cz.nic.odvr.lua:3
msgid "ODVR (nic.cz)" msgid "ODVR (nic.cz)"
msgstr "" msgstr ""

View file

@ -85,6 +85,14 @@ msgstr ""
msgid "Loading" msgid "Loading"
msgstr "" msgstr ""
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua:3
msgid "LibreDNS"
msgstr ""
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua:3
msgid "LibreDNS (No Ads)"
msgstr ""
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cz.nic.odvr.lua:3 #: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cz.nic.odvr.lua:3
msgid "ODVR (nic.cz)" msgid "ODVR (nic.cz)"
msgstr "" msgstr ""