summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-https-dns-proxy/luasrc')
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh-ads.lua6
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/gr.libredns.doh.lua6
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua4
3 files changed, 15 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 0000000000..e6fba2e78a
--- /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 0000000000..24d2ceeffa
--- /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 11eca60399..57ca2f63fb 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
@@ -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"