summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZuev Aleksandr <A.Zuev@stdev.su>2022-07-31 18:58:01 +0400
committerZuev Aleksandr <A.Zuev@stdev.su>2023-01-06 13:02:03 +0400
commita2fef4a3269e27c695b5e99c3fea776e05fe2da3 (patch)
treef12cdd92c5dd46c6d49ae16fcd2ff142a9fa8fce
parentb0b9a34f8b75f9c2c91cb6a4badcc4e8e4122821 (diff)
luci-app-https-dns-proxy: Add new and update adguard dns server
Add adguard unsecured dns provider and update ips on existents based on https://adguard-dns.io/en/public-dns.html info. Also added ipv6 bootstrap_dns ips. Signed-off-by: Zuev Aleksandr <A.Zuev@stdev.su>
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua4
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-nonfiltering.lua8
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua4
3 files changed, 12 insertions, 4 deletions
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua
index 0c2a4d8156..220a892b61 100644
--- a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua
+++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua
@@ -2,7 +2,7 @@ return {
name = "dns-family.adguard.com",
label = _("AdGuard (Family Protection)"),
resolver_url = "https://dns-family.adguard.com/dns-query",
- bootstrap_dns = "176.103.130.132,176.103.130.134",
- help_link = "https://adguard.com/en/adguard-dns/overview.html",
+ bootstrap_dns = "94.140.14.15,94.140.15.16,2a10:50c0::bad1:ff,2a10:50c0::bad2:ff",
+ help_link = "https://adguard-dns.io/en/public-dns.html",
help_link_text = "AdGuard.com"
}
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-nonfiltering.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-nonfiltering.lua
new file mode 100644
index 0000000000..cfa938db83
--- /dev/null
+++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-nonfiltering.lua
@@ -0,0 +1,8 @@
+return {
+ name = "dns-unfiltered.adguard.com",
+ label = _("AdGuard (Non-filtering)"),
+ resolver_url = "https://dns-unfiltered.adguard.com/dns-query",
+ bootstrap_dns = "94.140.14.140,94.140.14.141,2a10:50c0::1:ff,2a10:50c0::2:ff",
+ help_link = "https://adguard-dns.io/en/public-dns.html",
+ help_link_text = "AdGuard.com"
+}
diff --git a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua
index 79db2029dd..287056263f 100644
--- a/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua
+++ b/applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua
@@ -2,7 +2,7 @@ return {
name = "dns.adguard.com",
label = _("AdGuard (Standard)"),
resolver_url = "https://dns.adguard.com/dns-query",
- bootstrap_dns = "176.103.130.130,176.103.130.131",
- help_link = "https://adguard.com/en/adguard-dns/overview.html",
+ bootstrap_dns = "94.140.14.14,94.140.15.15,2a10:50c0::ad1:ff,2a10:50c0::ad2:ff",
+ help_link = "https://adguard-dns.io/en/public-dns.html",
help_link_text = "AdGuard.com"
}