Bot releases are visible (Hide)
Published by github-actions[bot] over 3 years ago
arbitrary
: 可以自定义构建并返回包含任意记录类型的应答。用于返回一些简单但特殊的记录(SRV,SOA,PTR....whatever),无需借助其他软件。Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
v1.4.0 -> v1.6.0 变化:
ecs
如果没有配置 ecs.ipv6
,AAAA 请求会附加 ecs.ipv4
。A 请求同理。Windows XP+, Linux/(systemd | Upstart | SysV), and OSX/Launchd
环境下,可以用 mosdns -s [install, uninstall, start, stop, restart]
命令一键[安装,卸载,启动,停止,重启] mosdns。详见 wiki。fast_forward.<upstream>.addr
服务器地址之前为了方便可以省略端口号 -> 现在不能省略。(如果没有省略地址端口,可以忽略server_control.bat
需要在原版的 server_control.bat
运行 uninstall
,再复制新版 server_control.bat
然后运行 install
。Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
query_matcher.client_ip
的问题。#76Published by github-actions[bot] over 3 years ago
Windows XP+, Linux/(systemd | Upstart | SysV), and OSX/Launchd
环境下,可以用 mosdns -s [install, uninstall, start, stop, restart]
命令一键[安装,卸载,启动,停止,重启] mosdns。该功能由 kardianos/service 实现。server_control.bat
需要先运行原版的 server_control.bat
uninstall
,再复制新版 server_control.bat
然后运行 install
。Published by github-actions[bot] over 3 years ago
hosts
现在可以将规则直接写在 yaml 中。cache
高负载下的性能。fast_forward
UDP,TCP,DoT 协议性能,现在能更有效的重用连接。并且fast_forward.<upstream>.max_conns
能控制所有协议。hosts
导入的外部数据文件现在需要加前缀 ext:
。比如原来的 "./geoip.dat:cn"
要改成 "ext:./geoip.dat:cn"
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
server.get_user_ip_from_header
从 http 头获取用户真实 IP。server.entry
以前只能填一个插件 -> 现在可以填入整个"执行序列"。cache
内存缓存现在是 LRU 淘汰,并且优化了内存开销。ttl
。Published by IrineSistiana over 3 years ago
What's new:
cache
支持 redis 后端。ipset.max_ttl4/6
选项,可以限制并修改 DNS 记录的 TTL。避免 ipset 记录已超时,但 DNS 记录可能还在某个缓存中生效。配置文件不兼容的变更:
fast_forward.upstream.ca
选项现在放在 fast_forward.ca
。对插件内所有上游生效。(如果没有配置过 CA 可以无视)Published by IrineSistiana almost 4 years ago
What's new:
forward
支持 "最快 IP 模式"。#41Published by IrineSistiana almost 4 years ago
What's new
fallback
: 新模式"快速 fallback"。基于延时的快速切换。当前请求不会失败。fast_forward.upstream.max_conns
。目前仅能控制 doh
的最大连接数。本地宽带很糟的话,稍微调高 max_conns
可能会有帮助。parallel.timeout
。可以使 parallel
每个分支的超时都是独立的。确保即使请求已经完成,没有执行完毕的序列内的命令仍然会继续执行。sleep
。Published by IrineSistiana almost 4 years ago
_end
来中止序列,不再需要 goto
。forward
插件中的上游服务器也可以设置 trusted 可信服务器
。Published by IrineSistiana almost 4 years ago
What's new:
cache
hosts
插件现在也能放在"执行队列"里。现在一个 sequence
插件基本上可以实现一切逻辑。不用再格外配置一个 pipeline
队列了_query_is_commom
错误的逻辑。Note: Wiki 里的配置示例之前有很长一段时间里面的匹配器使用了 !
取反,但是忘记了加 " "
引号。这不会报错,但会导致这些匹配器实际上没有生效。如果之前直接复制并使用了配置示例请留意。
不兼容变更: hosts
插件不再是"匹配器插件"了。(历史遗留功能,应该没人这么用 hosts
)
Published by IrineSistiana almost 4 years ago
What's new:
parallel
和 fallback
也可以像 if
一样直接写在执行序列。执行序列现在四种元素可以任意嵌套。_block_with_empty_response
, _qtype_AAAA
。屏蔽 ipv6 更方便。#30-probe-server-timeout
测试 TCP/DoT 服务器是否支持 RFC 7766 连接复用以及其空连接保持时间。-conv-v2ray-domain/ip-dat
将 v2ray 资源文件转换成文本文件。不兼容的变更:
logger
parallel
插件的 exec
参数名字变为了 parallel
。(避免歧义)