pymumu / smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
https://pymumu.github.io/smartdns/
GNU General Public License v3.0
8.51k stars 1.09k forks source link

请问这样的参数用对了吗? #1701

Open aaqomo opened 8 months ago

aaqomo commented 8 months ago

配置了国内外域名集合,国内用cn组,国外用us组,在自定义设置里用下面的参数,用对了吗?

domain-set -name chinalist -file /etc/smartdns/domain-set/chinalist.txt domain-rules /domain-set:chinalist/ -nameserver cn

domain-set -name gfwlist -file /etc/smartdns/domain-set/gfwlist.txt domain-rules /domain-set:gfwlist/ -nameserver us

PikuZheng commented 8 months ago

写法上是正确的

如果配置有语法错误,日志上会有记录

aaqomo commented 8 months ago

写法上是正确的

如果配置有语法错误,日志上会有记录

要看日志的话是“启用审计日志”吗?日志大小和个数多少比较好?

PikuZheng commented 8 months ago

要看日志的话是“启用审计日志”吗?日志大小和个数多少比较好?

软件日志 默认即可

aaqomo commented 8 months ago

了解,栓Q