diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-04-06 14:20:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 14:20:08 +0200 |
commit | 65fb44da9fb8435c7958455bb4b00354bff6cb00 (patch) | |
tree | 4c7976cbd041ef414d836f89e67b45a05ea1584d | |
parent | bdc86c8464139494b67faaa68ac3dae64359c8e8 (diff) | |
parent | ab11c74172b19d3f5bf94cfd5b85401936a6b180 (diff) |
Merge pull request #3844 from DinStamou/feature_libredns
luci-app-https-dns-proxy: Add LibreDNS as a DoH provider
5 files changed, 31 insertions, 1 deletions
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua new file mode 100644 index 000000000..e6fba2e78 --- /dev/null +++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua @@ -0,0 +1,6 @@ +return { + name = "LibreDNS", + label = _("LibreDNS (No Ads)"), + resolver_url = "https://doh.libredns.gr/ads", + bootstrap_dns = "116.202.176.26" +} diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua new file mode 100644 index 000000000..24d2ceeff --- /dev/null +++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua @@ -0,0 +1,6 @@ +return { + name = "LibreDNS", + label = _("LibreDNS"), + resolver_url = "https://doh.libredns.gr/dns-query", + bootstrap_dns = "116.202.176.26" +} diff --git a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua index 405eb2a84..a50b5b17c 100644 --- a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua +++ b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua @@ -91,7 +91,9 @@ s3 = m:section(TypedSection, "https-dns-proxy", translate("Instances"), translat .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html">]] .. "AdGuard.com" .. [[</a>]] .. ", " .. [[ <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/">]] .. "Quad9.net" .. [[</a>]] .. ".") s3.template = "cbi/tblsection" diff --git a/applications/luci-app-https-dns-proxy/po/en/https-dns-proxy.po b/applications/luci-app-https-dns-proxy/po/en/https-dns-proxy.po index 9dc2bebfb..4c462b5c4 100644 --- a/applications/luci-app-https-dns-proxy/po/en/https-dns-proxy.po +++ b/applications/luci-app-https-dns-proxy/po/en/https-dns-proxy.po @@ -88,6 +88,14 @@ msgstr "" msgid "Loading" 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 msgid "ODVR (nic.cz)" msgstr "" 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 78352cc7a..2a418d819 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 @@ -85,6 +85,14 @@ msgstr "" msgid "Loading" 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 msgid "ODVR (nic.cz)" msgstr "" |