diff options
author | Stan Grishin <stangri@melmac.ca> | 2024-04-03 20:02:55 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.ca> | 2024-04-03 20:07:26 +0000 |
commit | 8f92f8b40369c4a2fc0cd358969e9278920d6d18 (patch) | |
tree | 11b64c3ed829982f112a664983948c09a71dd306 | |
parent | 03418d4e40d6960140bfe074016fc0b3164f566a (diff) |
luci-app-https-dns-proxy: bugfix: AdGuard servers URLs
AdGuard seems to have drastically changed their DoH servers URLs, so this change updates
the root/usr/share/https-dns-proxy/providers/com.adguard.dns.json file.
Fixes https://github.com/openwrt/luci/issues/7038
Also include minor Makefile changes for better menuconfig presence.
Signed-off-by: Stan Grishin <stangri@melmac.ca>
-rw-r--r-- | applications/luci-app-https-dns-proxy/Makefile | 13 | ||||
-rw-r--r-- | applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/com.adguard.dns.json | 22 |
2 files changed, 24 insertions, 11 deletions
diff --git a/applications/luci-app-https-dns-proxy/Makefile b/applications/luci-app-https-dns-proxy/Makefile index 4ef756b719..20e3be869e 100644 --- a/applications/luci-app-https-dns-proxy/Makefile +++ b/applications/luci-app-https-dns-proxy/Makefile @@ -3,14 +3,23 @@ include $(TOPDIR)/rules.mk +PKG_NAME:=luci-app-https-dns-proxy PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca> -PKG_VERSION:=2023.11.19-r1 +PKG_VERSION:=2023.11.19 +PKG_RELEASE:=r2 LUCI_TITLE:=DNS Over HTTPS Proxy Web UI LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy LUCI_DEPENDS:=+luci-base +https-dns-proxy -LUCI_PKGARCH:=all + +define Package/$(PKG_NAME)/config +# shown in make menuconfig <Help> +help + $(LUCI_TITLE) + . + Version: $(PKG_VERSION)-$(PKG_RELEASE) +endef include ../../luci.mk diff --git a/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/com.adguard.dns.json b/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/com.adguard.dns.json index f685ba4d60..a0d5010de4 100644 --- a/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/com.adguard.dns.json +++ b/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/com.adguard.dns.json @@ -1,24 +1,28 @@ { "title": "AdGuard", - "template": "https://dns{option}.adguard.com/dns-query", - "bootstrap_dns": "176.103.130.130,176.103.130.131", - "help_link": "https://adguard.com/en/adguard-dns/overview.html", + "template": "https://{option}.adguard-dns.com/dns-query", + "bootstrap_dns": "94.140.14.140,94.140.14.141", + "help_link": "https://adguard-dns.io/en/public-dns.html", "params": { "option": { "description": "Variant", "type": "select", - "regex": "(-family|)", + "regex": "(dns|unfiltered|family)", "options": [ { - "value": "-family", - "description": "Family Filter" + "value": "dns", + "description": "Default (Blocks ads and trackers)" + }, + { + "value": "unfiltered", + "description": "Unfiltered" }, { - "value": "", - "description": "Standard" + "value": "family", + "description": "Family Filter" } ], - "default": "" + "default": "dns" } } } |