Commit Graph

321 Commits

Author SHA1 Message Date
Bard
ed09f893ac luci-app-mosdns: mosdns.sh: fix execution sequence
Signed-off-by: sbwml <admin@cooluc.com>
2023-11-15 23:08:36 +08:00
sbwml
e79a991d75 luci-app-mosdns: add optional prefer_ipv4 for remote dns
Signed-off-by: sbwml <admin@cooluc.com>
2023-11-15 23:05:48 +08:00
sbwml
ce08474f7c mosdns: bump to 5.3.1
Signed-off-by: sbwml <admin@cooluc.com>
2023-11-06 12:56:10 +08:00
sbwml
74d15c273a luci-app-mosdns: add github proxy settings support for data updates
Signed-off-by: sbwml <admin@cooluc.com>
2023-11-05 20:08:31 +08:00
sbwml
7509532e9c luci-app-mosdns: drop ip mask for ecs plugin
*  ip mask for ecs plugin deprecated in mosdns v5.3.0
2023-11-04 18:41:00 +08:00
sbwml
b42fc889f6 luci-app-mosdns: update for 5.3.0 2023-11-01 23:27:42 +08:00
sbwml
3ef6a85fe0 mosdns: bump to 5.3.0 2023-11-01 23:02:29 +08:00
sbwml
cea09d4404 luci-app-mosdns: bump version 2023-10-23 16:41:56 +08:00
sbwml
8a427120b7 luci-app-mosdns: customize the remote DNS ecs address
* In poor network conditions, obtaining an IP address through curl may fail and cause MOSDNS to fail to start, so replace it with manual filling.

Signed-off-by: sbwml <admin@cooluc.com>
2023-10-23 16:36:16 +08:00
sbwml
329756b8e3 luci-app-mosdns: Update Chinese translations 2023-10-23 15:30:22 +08:00
Bard
b9972eaa2e luci-app-mosdns: clean default rules 2023-10-19 04:34:58 +08:00
sbwml
95a3ebae6d luci-app-mosdns: fix DNS leak option does not work
* busybox sed does not support regular expression.
2023-10-16 22:45:01 +08:00
sbwml
d708a3edad luci-app-mosdns: disable apple_optimization by default 2023-10-16 15:58:37 +08:00
sbwml
9bb28a32d3 luci-app-mosdns: fix 476d0bf 2023-10-16 15:54:01 +08:00
sbwml
476d0bf24f luci-app-mosdns: use the fallback plugin to process apple domain names
* Using `always_standby` can improve query efficiency
2023-10-14 03:16:28 +08:00
sbwml
4e6801dc45 luci-app-mosdns: add Cats-Team/AdRules domain blocklist 2023-10-05 10:33:48 +08:00
sbwml
77ae6988ae Update README.md 2023-10-01 22:29:48 +08:00
sbwml
a043d7b689 luci-app-mosdns: default button style. fix #141 2023-10-01 21:32:26 +08:00
Bard
8be3afe270
luci-app-mosdns: default.yaml: remove unused tag 2023-09-30 00:35:23 +08:00
sbwml
e31521dd01 luci-app-mosdns: enable http/3 protocol only for DNS with h3:// prefix
* example: h3://dns.alidns.com/dns-query
* according #138
2023-09-29 03:34:11 +08:00
sbwml
3078047cdb luci-app-mosdns: disable quic-go receive buffer warning #137 2023-09-29 01:45:06 +08:00
sbwml
c7ea65276c luci-app-mosdns: no longer using nslookup instead of bootstrap for http/3
* bootstrap work for http/3 has been fixed upstream
2023-09-28 17:54:43 +08:00
sbwml
17c41eb622 mosdns: bump to 5.2.1 2023-09-28 17:47:25 +08:00
xiaoyannzbbb
3b1366cd94 luci-app-mosdns: fix query_is_apple_domain
原来代码这里一定会有返回值,导致开启了“Apple 域名解析优化”之后,不会走后面的流程了。
这次提交有两个修改:
1、先判断是否apple域名,非apple域名直接返回;
2、优先使用`local_dns`解析
2023-09-28 12:54:51 +08:00
sbwml
eb9b7c0d31 luci-app-mosdns: update i18n 2023-09-27 17:50:27 +08:00
sbwml
d9360a37ec luci-app-mosdns: add Apple domain name optimization option
* Some public DNS upstreams will incorrectly respond to the apple domain name as a foreign CDN (such as encrypted DNSPod & alidns).
* Forcing the apple domain name to use DNSPod udp and XinFeng dns for resolution can avoid the problem of responding to foreign CDN.
2023-09-27 17:00:44 +08:00
sbwml
7d01c798fd luci-app-mosdns: fix multiple restart when database update 2023-09-27 14:20:20 +08:00
sbwml
547159caaa luci-app-mosdns: mosdns.sh: fix typo 2023-09-26 20:16:27 +08:00
sbwml
d489113348 mosdns: make it work again
fuck 3fec661adb
2023-09-23 20:28:37 +08:00
sbwml
3fec661adb mosdns: pacthes: sync upstream latest commit
fixed #129
2023-09-23 15:17:07 +08:00
sbwml
c28baeec71 luci-app-mosdns: add AliDNS DoQ 2023-09-21 19:16:22 +08:00
sbwml
329b4eb69f mosdns: pacthes: sync upstream latest commit 2023-09-21 18:49:55 +08:00
sbwml
ccfebc96f4 luci-app-mosdns: add local AD rules file support 2023-09-21 18:05:42 +08:00
sbwml
fb013521e7 luci-app-mosdns: allow add multiple AD rule sources #118 2023-09-21 17:36:14 +08:00
sbwml
1eb43a6ead luci-app-mosdns: default value 2023-09-21 03:23:17 +08:00
sbwml
e7a7ed437a mosdns/v2dat: format logtime 2023-09-21 02:53:34 +08:00
sbwml
bd9e074789 luci-app-mosdns: custom_config: add code highlight editor 2023-09-21 02:53:07 +08:00
sbwml
fe103aed81 luci-app-mosdns: disable cache plugin when cache size is 0 #128 2023-09-20 19:05:25 +08:00
sbwml
b8b7d64ba9 mosdns: black_hole: apply Fisher-Yates shuffle algorithm to randomize IP order
* The client seems to always use the first IP address in the response, using a random algorithm to scramble multiple IP addresses so that the client can use all IP addresses as much as possible.
2023-09-20 15:49:17 +08:00
sbwml
87a987dee8 mosdns: compatible with go1.20
fix #125
2023-09-19 21:20:15 +08:00
sbwml
4f71800573 fixup! luci-app-mosdns: add custom Cloudflare IP support 2023-09-19 18:16:24 +08:00
sbwml
aa9b5627f8 luci-app-mosdns: add custom Cloudflare IP support
* #121
2023-09-19 18:04:51 +08:00
sbwml
1f3883adbd mosdns: fix udp server 2023-09-19 08:13:54 +08:00
sbwml
632f190888 luci-app-mosdns: cache: update mosdns_cache_v2 header 2023-09-19 07:49:58 +08:00
sbwml
9371d980c4 mosdns: upgrade bytesPool 2023-09-18 21:49:30 +08:00
sbwml
078c451a4a ci: use go1.21.x 2023-09-18 14:59:49 +08:00
sbwml
856991c55a mosdns: update from upstream 2023-09-18 14:59:04 +08:00
sbwml
c06a96ef13 mosdns: update from upstream 2023-09-18 02:21:46 +08:00
sbwml
e255e8fb98 luci-app-mosdns: Fix local DNS to enable http/3 domain name lookup
* MosDNS does not support bootstrap working on http3, and DNS domain names must be resolved in another way and made work.
2023-08-30 01:56:40 +08:00
sbwml
c7680b0a31 luci-app-mosdns: readd http/3 support for Local DNS 2023-08-29 23:48:33 +08:00