luci-app-https-dns-proxy: Mullvad URL update
authorHector Fernandez <hector.fernandez.carmona@gmail.com>
Fri, 2 Aug 2024 18:12:49 +0000 (20:12 +0200)
committerHector Fernandez <hector.fernandez.carmona@gmail.com>
Sat, 3 Aug 2024 07:40:32 +0000 (09:40 +0200)
Signed-off-by: Hector Fernandez <hector.fernandez.carmona@gmail.com>
applications/luci-app-https-dns-proxy/Makefile
applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.dns.json [new file with mode: 0644]
applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.doh.json [deleted file]
applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.json [new file with mode: 0644]

index 9ca88118991b3045ba7b98c555265d5ecf4251c0..8bc5263ad3b53df665b13decd52c55101b4ca564 100644 (file)
@@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=luci-app-https-dns-proxy
 PKG_LICENSE:=AGPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
-PKG_VERSION:=2023.11.19
-PKG_RELEASE:=4
+PKG_VERSION:=2023.12.26
+PKG_RELEASE:=1
 
 LUCI_TITLE:=DNS Over HTTPS Proxy Web UI
 LUCI_URL:=https://github.com/stangri/luci-app-https-dns-proxy/
diff --git a/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.dns.json b/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.dns.json
new file mode 100644 (file)
index 0000000..318497f
--- /dev/null
@@ -0,0 +1,41 @@
+{
+       "title": "Mullvad",
+       "template": "https://{option}dns.mullvad.net/dns-query",
+       "bootstrap_dns": "1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001,8.8.8.8,8.8.4.4,2001:4860:4860::8888,2001:4860:4860::8844",
+       "help_link": "https://mullvad.net/en/help/dns-over-https-and-dns-over-tls/",
+       "http2_only": true,
+       "params": {
+               "option": {
+                       "description": "Variant",
+                       "type": "select",
+                       "regex": "(|adblock.|base.|extended.|family.|all.)",
+                       "options": [
+                               {
+                                       "value": "",
+                                       "description": "Standard"
+                               },
+                               {
+                                       "value": "adblock.",
+                                       "description": "Ads and Trackers Filter"
+                               },
+                               {
+                                       "value": "base.",
+                                       "description": "Ads, Trackers, and Malware Filter"
+                               },
+                               {
+                                       "value": "extended.",
+                                       "description": "Ads, Trackers, Malware, and Social Media Filter"
+                               },
+                               {
+                                       "value": "family.",
+                                       "description": "Ads, Trackers, Malware, Adult, and Gambling"
+                               },
+                               {
+                                       "value": "all.",
+                                       "description": "Ads, Trackers, Malware, Adult, Gambling, and Social Media Filter"
+                               }
+                       ],
+                       "default": ""
+               }
+       }
+}
diff --git a/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.doh.json b/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.doh.json
deleted file mode 100644 (file)
index 18dad9c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-       "title": "Mullvad",
-       "template": "https://{option}doh.mullvad.net/dns-query",
-       "bootstrap_dns": "1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001,8.8.8.8,8.8.4.4,2001:4860:4860::8888,2001:4860:4860::8844",
-       "help_link": "https://mullvad.net/en/help/dns-over-https-and-dns-over-tls/",
-       "http2_only": true,
-       "params": {
-               "option": {
-                       "description": "Variant",
-                       "type": "select",
-                       "regex": "(adblock.|)",
-                       "options": [
-                               {
-                                       "value": "adblock.",
-                                       "description": "AdBlocking Filter"
-                               },
-                               {
-                                       "value": "",
-                                       "description": "Standard"
-                               }
-                       ],
-                       "default": ""
-               }
-       }
-}
diff --git a/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.json b/applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/net.mullvad.json
new file mode 100644 (file)
index 0000000..c4a4053
--- /dev/null
@@ -0,0 +1,53 @@
+{
+       "title": "Mullvad Regional",
+       "template": "https://{option}.mullvad.net/dns-query",
+       "bootstrap_dns": "1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001,8.8.8.8,8.8.4.4,2001:4860:4860::8888,2001:4860:4860::8844",
+       "help_link": "https://mullvad.net/en/help/dns-over-https-and-dns-over-tls/",
+       "http2_only": true,
+       "params": {
+               "option": {
+                       "description": "Region",
+                       "type": "select",
+                       "regex": "(de-fra-dns-001|gb-lon-dns-001|gb-lon-dns-301|se-got-dns-001|se-mma-dns-001|se-sto-dns-001|sg-sin-dns-101|us-dal-dns-001|us-nyc-dns-601)",
+                       "options": [
+                               {
+                                       "value": "de-fra-dns-001",
+                                       "description": "Frankfurt, Germany"
+                               },
+                               {
+                                       "value": "gb-lon-dns-001",
+                                       "description": "London, United Kingdom (1)"
+                               },
+                               {
+                                       "value": "gb-lon-dns-301",
+                                       "description": "London, United Kingdom (2)"
+                               },
+                               {
+                                       "value": "se-got-dns-001",
+                                       "description": "Gothenburg, Sweden"
+                               },
+                               {
+                                       "value": "se-mma-dns-001",
+                                       "description": "Malmö, Sweden"
+                               },
+                               {
+                                       "value": "se-sto-dns-001",
+                                       "description": "Stockholm, Sweden"
+                               },
+                               {
+                                       "value": "sg-sin-dns-101",
+                                       "description": "Singapore"
+                               },
+                               {
+                                       "value": "us-dal-dns-001",
+                                       "description": "Dallas, United States"
+                               },
+                               {
+                                       "value": "us-nyc-dns-601",
+                                       "description": "New York City, United States"
+                               }
+                       ],
+                       "default": "us-nyc-dns-601"
+               }
+       }
+}