QiuSimons / openwrt-mos

GNU General Public License v3.0
229 stars 89 forks source link

一些配置改进 #158

Closed sbwml closed 1 year ago

sbwml commented 1 year ago

https://github.com/QiuSimons/openwrt-mos/commit/93d0ff14ac5836dab477e21232162d3c123e2716 :使规则列表正常使用缓存

https://github.com/QiuSimons/openwrt-mos/commit/5ae522e7c38d8b9d962f249250012e0d9c448fce :使用 kill 命令杀死进程会导致 mosdns 关闭前无法 dump cache,而配置文件中 dump_interval 的值为 12 小时,在这期间调整参数、重启mosdns都会导致这段时间内的缓存丢失。不再使用 kill,让 openwrt 默认的 procd 来结束进程解决这个问题

https://github.com/QiuSimons/openwrt-mos/commit/0afb1ad3e9cc1a843a50c16d3b65ec0c38908d1f : 添加一个 DDNS 域名列表,强制该列表 ttl 为 5秒,且不进行缓存操作。避免( mosdns cache 文档提及的缺点:可能影响 DNS 更新频繁的域名正常使用,比如 DDNS,CDN)