mosdns

一个 DNS 转发器

GPL-3.0 License

Stars
2.9K
Committers
7

Bot releases are visible (Hide)

mosdns - v4.5.1

Published by github-actions[bot] about 2 years ago

修正 v4.5.0 引入的 UDP 服务器的 bug。

mosdns - v4.5.0

Published by github-actions[bot] about 2 years ago

  • _misc_optm 会自动将 EDNS0 UDPSIZE 限定在 1200。

  • forward 的 trusted 选项现在不再有作用。forward 如果配置多上游,并发现在会使用 dnsproxy 的逻辑,而不是 mosdns 自己的。
  • (仅限 Linux 平台) UDP 服务器的应答数据包一定会从收到请求的接口和 IP 发送。避免多 IP 的 UDP 服务器监听泛 IP,数据多路径可达时,内核自动选择发送路径导致收发 IP 和接口不一致的问题。
mosdns - v4.4.2

Published by github-actions[bot] about 2 years ago

修正 v4.4.1 的 cache 不命中缓存的问题 #520

mosdns - v4.4.1

Published by github-actions[bot] about 2 years ago

  • cache 支持压缩应答。
  • 新插件 edns0_filter 可以过滤请求的 edns0 option。

其他:

  • 更新 dnsproxy 至 v0.45.1,forward 现在支持用形如 h3://dns.google/dns-query 的地址来使用 DoH3。
  • 稍微优化了 debug log 的可读性。
mosdns - v4.4.0

Published by github-actions[bot] about 2 years ago

mosdns - v4.3.1

Published by github-actions[bot] about 2 years ago

cache 缓存:禁用异步写,默认 redis_timeout 从 50ms 修改至 1s,避免 redis 缓存经常报错 timeout。

mosdns - v4.3.0

Published by github-actions[bot] about 2 years ago

  • fast_forward 支持 SO_BINDTODEVICE。
  • server 除 UDP 协议外,支持 Proxy Protocol。
  • blackhole 支持多 IP。

其他

  • DoH server 应答现在会自带附加 Cache-Control 头。
  • reverse_lookup 现在会缓存请求的 Name,而不是应答中 RR 的 Name。
mosdns - v4.2.0

Published by github-actions[bot] about 2 years ago

  • fast_forward 支持 bootstrap。
  • reverse_lookup 支持 redis 缓存,更大的缓存时间,以及可以自动应答客户端的 PTR 请求。
  • 新插件 client_limiter 可以限制客户端的最大 QPS。
  • prometheus metrics 统计。新 metrics_collector 插件可以收集该插件所在运行节点的总请求数,总错误数,线程数和延时。
mosdns - v4.1.10

Published by github-actions[bot] about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/IrineSistiana/mosdns/compare/v4.1.9...v4.1.10

mosdns - v4.1.9

Published by github-actions[bot] about 2 years ago

  • go 1.19 编译
mosdns - v4.1.8

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

  • 修正一个 fast_forward 内存泄漏问题。 #434
mosdns - v4.1.6

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

  • 完善自动重载 #430
mosdns - v4.1.5

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

  • 修正 v2ray IP 数据载入问题。 #421
  • 修正 ipset timeout 问题。 #419
mosdns - v4.1.4

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

  • 修正 v4.1.3 无法加载 v2ray 的 IP 数据。
mosdns - v4.1.3

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

  • 修正 fast_forward pipeline 模式会导致内存泄漏。
mosdns - v4.1.2

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

  • 修正 include 插件载入顺序不对。
mosdns - v4.1.0

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

  • 配置文件支持 include 载入其他配置文件。
  • 新增 service 子命令,一键安装成系统服务。
mosdns - v4.0.0

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

与 v3 配置文件不兼容,请参照 wiki 重新配置。

wiki 已迁移至 gitbook: https://irine-sistiana.gitbook.io/mosdns-wiki/


  • 新增统计数据 metrics api 接口。位于 http://<api_addr>/metrics。目前有 fast_forward, cache 插件的数据(服务器延时统计,缓存率等)。json 输出,也可用于日常查看。
  • 新增 http api 接口。
  • 新增 reverse_lookup api 插件,可用 IP 反查获取最近请求的域名。该插件可配合其他透明代理程序实现无延时的"有效 IP -> 域名"转换。
  • cache 新增 when_hit 参数,可设定 cache 命中后执行什么插件。
  • 新增插件 _misc_optm,内置一些常用优化。
  • 支持数据文件变化自动重载。
  • 支持 yaml,json,toml... 等配置格式。
  • 支持自然的条件表达式。比如这样 (matcher && ! matcher) || matcher
  • v2ray 数据文件可以使用 :tag1@attr1@att2,tag2@att3... 后缀一次载入多个标签的数据。
mosdns - v4.0.0-alpha4

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

PREVIEW RELEASE

可能继续有不兼容的变更

与 v3 配置文件不兼容

wiki 已迁移至 gitbook: https://irine-sistiana.gitbook.io/mosdns-wiki/


  • 新增统计数据 metrics api 接口。位于 http://<api_addr>/metrics。目前有 fast_forward, cache 插件的数据(服务器延时统计,缓存率等)。json 输出,也可用于日常查看。
mosdns - v4.0.0-alpha3

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

PREVIEW RELEASE

可能继续有不兼容的变更

与 v3 配置文件不兼容

wiki 已迁移至 gitbook: https://irine-sistiana.gitbook.io/mosdns-wiki/


  • 新增 http api 接口。
  • 新增 reverse_lookup api 插件,可用 IP 反查获取最近请求的域名。该插件可配合其他透明代理程序实现无延时的"有效 IP -> 域名"转换。