summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2019-11-13 04:25:53 -0700
committerStan Grishin <stangri@melmac.net>2019-11-13 04:25:53 -0700
commit5a81e4f6c1d556de3d7fbdabfc68ba6a1429dcfc (patch)
treeb8183182edd97ae07d1d0faec4479ea44a0afe8a /applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy
parent8da8f38bf97c925f6f113d3b4793edb23e7e0dc2 (diff)
luci-app-https_dns_proxy: remove dnsmasq integration, better service controls, providers as plugins, misc fixes
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy')
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/ch.digitale-gesellschaft.dns.lua6
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns-family.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/cz.nic.odvr.lua6
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns10.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns11.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns9.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-adult.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-family.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-security.lua14
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.cloudflare-dns.lua6
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.google.dns.lua7
-rw-r--r--applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/sb.dns.lua6
14 files changed, 157 insertions, 0 deletions
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/ch.digitale-gesellschaft.dns.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/ch.digitale-gesellschaft.dns.lua
new file mode 100644
index 0000000000..723ca894c3
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/ch.digitale-gesellschaft.dns.lua
@@ -0,0 +1,6 @@
+return {
+ name = "Digitale-Gesellschaft",
+ label = _("Digitale Gesellschaft"),
+ url_prefix = "https://dns.digitale-gesellschaft.ch/dns-query?",
+ bootstrap_dns = "185.95.218.42,185.95.218.43"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns-family.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns-family.lua
new file mode 100644
index 0000000000..050549bf8d
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns-family.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "AdGuard-Family",
+ label = _("AdGuard (Family Protection)"),
+ url_prefix = "https://dns-family.adguard.com/dns-query?ct&",
+ bootstrap_dns = "176.103.130.132,176.103.130.134"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns.lua
new file mode 100644
index 0000000000..67b7c12811
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/com.adguard.dns.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "AdGuard-Standard",
+ label = _("AdGuard (Standard)"),
+ url_prefix = "https://dns.adguard.com/dns-query?ct&",
+ bootstrap_dns = "176.103.130.130,176.103.130.131"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/cz.nic.odvr.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/cz.nic.odvr.lua
new file mode 100644
index 0000000000..e47576be86
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/cz.nic.odvr.lua
@@ -0,0 +1,6 @@
+return {
+ name = "odvr-nic-cz",
+ label = _("ODVR (nic.cz)"),
+ url_prefix = "https://odvr.nic.cz/doh?",
+ bootstrap_dns = "193.17.47.1,185.43.135.1"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns.lua
new file mode 100644
index 0000000000..356921a97f
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "Quad9-Recommended",
+ label = _("Quad 9 (Recommended)"),
+ url_prefix = "https://dns.quad9.net:5053/dns-query?",
+ bootstrap_dns = "9.9.9.9,149.112.112.112"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns10.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns10.lua
new file mode 100644
index 0000000000..a031556e8d
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns10.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "Quad9-Unsecured",
+ label = _("Quad 9 (Unsecured)"),
+ url_prefix = "https://dns10.quad9.net:5053/dns-query?",
+ bootstrap_dns = "9.9.9.10,149.112.112.10"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns11.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns11.lua
new file mode 100644
index 0000000000..3b51978d25
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns11.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "Quad9-ECS",
+ label = _("Quad 9 (Secured with ECS Support)"),
+ url_prefix = "https://dns11.quad9.net:5053/dns-query?",
+ bootstrap_dns = "9.9.9.11,149.112.112.11"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns9.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns9.lua
new file mode 100644
index 0000000000..c456a8dcdc
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/net.quad9.dns9.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "Quad9-Secured",
+ label = _("Quad 9 (Secured)"),
+ url_prefix = "https://dns9.quad9.net:5053/dns-query?",
+ bootstrap_dns = "9.9.9.9,149.112.112.9"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-adult.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-adult.lua
new file mode 100644
index 0000000000..708a39e958
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-adult.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "CleanBrowsing-Adult",
+ label = _("CleanBrowsing (Adult Filter)"),
+ url_prefix = "https://doh.cleanbrowsing.org/doh/adult-filter/?ct&",
+ bootstrap_dns = "185.228.168.168"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-family.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-family.lua
new file mode 100644
index 0000000000..f44ed43305
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-family.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "CleanBrowsing-Family",
+ label = _("CleanBrowsing (Family Filter)"),
+ url_prefix = "https://doh.cleanbrowsing.org/doh/family-filter/?ct&",
+ bootstrap_dns = "185.228.168.168"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-security.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-security.lua
new file mode 100644
index 0000000000..e4a3bf4ac4
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers.disabled/org.cleanbrowsing.doh-security.lua
@@ -0,0 +1,14 @@
+-- .. "</br>"
+-- .. translate("For more information on different options check ")
+-- .. [[ <a href="https://adguard.com/en/adguard-dns/overview.html#instruction">]]
+-- .. "AdGuard.com" .. [[</a>]] .. ", "
+-- .. [[ <a href="https://cleanbrowsing.org/guides/dnsoverhttps">]]
+-- .. "CleanBrowsing.org" .. [[</a>]] .. " " .. translate("and") .. " "
+-- .. [[ <a href="https://www.quad9.net/doh-quad9-dns-servers/">]]
+-- .. "Quad9.net" .. [[</a>]] .. "."
+return {
+ name = "CleanBrowsing-Security",
+ label = _("CleanBrowsing (Security Filter)"),
+ url_prefix = "https://doh.cleanbrowsing.org/doh/security-filter/?ct&",
+ bootstrap_dns = "185.228.168.168"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.cloudflare-dns.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.cloudflare-dns.lua
new file mode 100644
index 0000000000..74d9273bcd
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.cloudflare-dns.lua
@@ -0,0 +1,6 @@
+return {
+ name = "Cloudflare",
+ label = _("Cloudflare"),
+ url_prefix = "https://cloudflare-dns.com/dns-query?ct=application/dns-json&",
+ bootstrap_dns = "1.1.1.1,1.0.0.1"
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.google.dns.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.google.dns.lua
new file mode 100644
index 0000000000..168f3f7aa4
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/com.google.dns.lua
@@ -0,0 +1,7 @@
+return {
+ name = "Google",
+ label = _("Google"),
+ url_prefix = "https://dns.google.com/resolve?",
+ bootstrap_dns = "8.8.8.8,8.8.4.4",
+ default = true
+}
diff --git a/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/sb.dns.lua b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/sb.dns.lua
new file mode 100644
index 0000000000..50dc74288a
--- /dev/null
+++ b/applications/luci-app-https_dns_proxy/luasrc/https_dns_proxy/providers/sb.dns.lua
@@ -0,0 +1,6 @@
+return {
+ name = "DNS.SB",
+ label = _("DNS.SB"),
+ url_prefix = "https://doh.dns.sb/dns-query?",
+ bootstrap_dns = "185.222.222.222,185.184.222.222"
+}