诺甘农圆盘

参考资料收集库

用户工具

站点工具


linux:mosdns:config

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
linux:mosdns:config [2023/05/27 14:11] packingboxlinux:mosdns:config [2023/06/24 11:17] (当前版本) packingbox
行 13: 行 13:
       size: 1024       size: 1024
       lazy_cache_ttl: 86400       lazy_cache_ttl: 86400
 +
 +  # 本地解析
 +  - tag: hosts
 +    type: hosts
 +    args:
 +      files:
 +        - "/etc/mosdns/hosts.txt"
  
   # 转发至本地服务器 DNSPod   # 转发至本地服务器 DNSPod
行 61: 行 68:
     type: sequence     type: sequence
     args:     args:
 +      - exec: prefer_ipv4
 +      - exec: $hosts
       - matches: qname &/etc/mosdns/reject-list.txt       - matches: qname &/etc/mosdns/reject-list.txt
         exec: reject         exec: reject
linux/mosdns/config.txt · 最后更改: 2023/06/24 11:17 由 packingbox