mosdns

一个 DNS 转发器

GPL-3.0 License

Stars
2.9K
Committers
7

Bot releases are visible (Hide)

mosdns - v1.7.0

Published by github-actions[bot] over 3 years ago

  • 新插件 arbitrary: 可以自定义构建并返回包含任意记录类型的应答。用于返回一些简单但特殊的记录(SRV,SOA,PTR....whatever),无需借助其他软件。
mosdns - v1.6.5

Published by github-actions[bot] over 3 years ago

  • dnsproxy 更新至 v0.36.0 (DoQ 协议支持草案 2)
mosdns - v1.6.4

Published by github-actions[bot] over 3 years ago

mosdns - v1.6.3

Published by github-actions[bot] over 3 years ago

  • 更新 dnsproxy
mosdns - v1.6.2

Published by github-actions[bot] over 3 years ago

  • linux/amd64 linux/arm/v7 linux/arm64 平台提供 docker 镜像
mosdns - v1.6.2-docker-test1

Published by github-actions[bot] over 3 years ago

mosdns - v1.6.1

Published by github-actions[bot] over 3 years ago

mosdns - v1.6.0

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 服务器地址之前为了方便可以省略端口号 -> 现在不能省略。(如果没有省略地址端口,可以忽略
  • Windows 一键安装脚本更新,不再依赖 winsw。使用新版 server_control.bat 需要在原版的 server_control.bat 运行 uninstall,再复制新版 server_control.bat 然后运行 install
mosdns - v1.5.2

Published by github-actions[bot] over 3 years ago

  • 修正 #77
  • 优化 redis 缓存。读取缓存不会再格外读取一次 TTL。
mosdns - v1.5.1

Published by github-actions[bot] over 3 years ago

  • 修正 query_matcher.client_ip 的问题。#76
  • Go 1.16 编译。
mosdns - v1.5.0

Published 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 实现。

  • Windows 一键安装脚本更新: 不依赖 winsw 了。使用新版 server_control.bat 需要先运行原版的 server_control.bat uninstall,再复制新版 server_control.bat 然后运行 install
mosdns - v1.4.0

Published by github-actions[bot] over 3 years ago

  • IP / 域名匹配器、hosts 现在可以将规则直接写在 yaml 中。
  • 优化了 cache 高负载下的性能。
  • 优化了 fast_forward UDP,TCP,DoT 协议性能,现在能更有效的重用连接。并且fast_forward.<upstream>.max_conns 能控制所有协议。

  • 配置文件不兼容变化: IP / 域名匹配器、hosts 导入的外部数据文件现在需要加前缀 ext:。比如原来的 "./geoip.dat:cn" 要改成 "ext:./geoip.dat:cn"
mosdns - v1.3.4

Published by github-actions[bot] over 3 years ago

  • 优化文本数据载入速度(x4),并行加载插件(x cpu核数/2)。减少启动时间。
mosdns - v1.3.2

Published by github-actions[bot] over 3 years ago

  • 反向代理可以设定 server.get_user_ip_from_header 从 http 头获取用户真实 IP。
  • server.entry 以前只能填一个插件 -> 现在可以填入整个"执行序列"。
  • cache 内存缓存现在是 LRU 淘汰,并且优化了内存开销。
  • 新插件 ttl
mosdns - v1.2.0

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 可以无视)
mosdns - v1.1.1

Published by IrineSistiana almost 4 years ago

What's new:

  • forward 支持 "最快 IP 模式"。#41
mosdns - v1.1.0

Published by IrineSistiana almost 4 years ago

What's new

  • fallback: 新模式"快速 fallback"。基于延时的快速切换。当前请求不会失败。
  • 新选项 fast_forward.upstream.max_conns。目前仅能控制 doh 的最大连接数。本地宽带很糟的话,稍微调高 max_conns 可能会有帮助。
  • 新选项 parallel.timeout。可以使 parallel 每个分支的超时都是独立的。确保即使请求已经完成,没有执行完毕的序列内的命令仍然会继续执行。
  • 新插件 sleep
mosdns - v0.25.2

Published by IrineSistiana almost 4 years ago

  • 现在可以直接在序列里使用 _end 来中止序列,不再需要 goto
  • forward 插件中的上游服务器也可以设置 trusted 可信服务器
  • 修正了一些问题。
mosdns - v0.25.1

Published by IrineSistiana almost 4 years ago

What's new:

  • cache hosts 插件现在也能放在"执行队列"里。现在一个 sequence 插件基本上可以实现一切逻辑。不用再格外配置一个 pipeline 队列了
  • 修正了预定义插件 _query_is_commom 错误的逻辑。

Note: Wiki 里的配置示例之前有很长一段时间里面的匹配器使用了 ! 取反,但是忘记了加 " " 引号。这不会报错,但会导致这些匹配器实际上没有生效。如果之前直接复制并使用了配置示例请留意。


不兼容变更: hosts 插件不再是"匹配器插件"了。(历史遗留功能,应该没人这么用 hosts)

mosdns - v0.24.0

Published by IrineSistiana almost 4 years ago

What's new:

  • parallelfallback 也可以像 if 一样直接写在执行序列。执行序列现在四种元素可以任意嵌套。
  • 新预定义插件 _block_with_empty_response, _qtype_AAAA。屏蔽 ipv6 更方便。#30
  • mosdns 自带命令行小工具:
    • -probe-server-timeout 测试 TCP/DoT 服务器是否支持 RFC 7766 连接复用以及其空连接保持时间。
    • -conv-v2ray-domain/ip-dat 将 v2ray 资源文件转换成文本文件。

  • 修正了带 OPT 的应答不会被缓存的问题。 #23
  • 提高了 logger 的效率。
  • 不再依赖 v2ray 。

不兼容的变更:

  • logger 插件没有了。log 新配置方式见 wiki。
  • parallel 插件的 exec 参数名字变为了 parallel。(避免歧义)