luci-app-https-dns-proxy: Add LibreDNS as a DoH provider 3844/head
authorKonstantinos Stamou (Dinos) <github@f3rr3t.net>
Sun, 5 Apr 2020 15:07:42 +0000 (18:07 +0300)
committerKonstantinos Stamou (Dinos) <github@f3rr3t.net>
Sun, 5 Apr 2020 15:11:59 +0000 (18:11 +0300)
LibreDNS (libredns.gr) is a Doh service provided by LibreOps(libreops.cc), a group
of hackers around the world that are (re-)decentralizing the net.
Trying offering distributed, free (as in freedom) services to the world.
Always based on Free Open Source Software.

Signed-off-by: Konstantinos Stamou (Dinos) <github@f3rr3t.net>
applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua [new file with mode: 0644]
applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua [new file with mode: 0644]
applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
applications/luci-app-https-dns-proxy/po/en/https-dns-proxy.po
applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot

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 (file)
index 0000000..e6fba2e
--- /dev/null
@@ -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 (file)
index 0000000..24d2cee
--- /dev/null
@@ -0,0 +1,6 @@
+return {
+       name = "LibreDNS",
+       label = _("LibreDNS"),
+       resolver_url = "https://doh.libredns.gr/dns-query",
+       bootstrap_dns = "116.202.176.26"
+}
index 11eca60399153c6e91a5d7ac32e70b48e02a69be..57ca2f63fb1232295f543cf31c8102962a58ba12 100644 (file)
@@ -88,7 +88,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"
index 9dc2bebfb56c72d6b8ac59bbc5ad42045ab1fc4d..4c462b5c4dcfbaf594c5f078c2fe3e1578f5f9bc 100644 (file)
@@ -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 ""
index 3e1ddb2a32ef3c9f0a86dc323273f71bc3384302..daf8694da4b26badbddf5f7787acbab4dc189d84 100644 (file)
@@ -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 ""