time="2025-12-16T00:37:59+08:00" level=debug msg="尝试加载Shield统计数据" file=/root/dns/data/test_shield_stats.json
time="2025-12-16T00:37:59+08:00" level=info msg="Shield计数数据加载成功" blocked_entries=0 resolved_entries=0
time="2025-12-16T00:38:00+08:00" level=info msg="规则加载完成，域名规则: 122426, 排除规则: 654, 正则规则: 473, hosts规则: 0"
time="2025-12-16T00:38:00+08:00" level=info msg="统计数据加载成功"
time="2025-12-16T00:38:00+08:00" level=info msg="查询日志加载成功" count=118
time="2025-12-16T00:38:00+08:00" level=info msg="DNS服务器已启动，监听端口: 5353"
time="2025-12-16T00:38:00+08:00" level=info msg="HTTP控制台已启动，监听端口: 8081"
time="2025-12-16T00:38:00+08:00" level=info msg="DNS TCP服务器启动，监听端口: 5353"
time="2025-12-16T00:38:00+08:00" level=info msg="启动统计数据自动保存功能" file=data/test_stats.json interval=300
time="2025-12-16T00:38:00+08:00" level=info msg="DNS UDP服务器启动，监听端口: 5353"
time="2025-12-16T00:38:00+08:00" level=info msg="启动Shield计数数据自动保存功能" file=./data/test_shield_stats.json interval=60
time="2025-12-16T00:38:00+08:00" level=info msg="规则自动更新已启动" interval=3600
time="2025-12-16T00:38:00+08:00" level=info msg="HTTP控制台服务器启动，监听地址: 0.0.0.0:8081"
time="2025-12-16T00:38:00+08:00" level=info msg="Shield计数数据保存成功" blocked_entries=0 file=/root/dns/data/test_shield_stats.json resolved_entries=0
time="2025-12-16T00:38:14+08:00" level=debug msg="接收到DNS查询" client="127.0.0.1:52388" domain=google.com type=A
time="2025-12-16T00:38:14+08:00" level=debug msg="DNS响应不包含DNSSEC记录" domain=google.com server="223.5.5.5:53"
time="2025-12-16T00:38:14+08:00" level=debug msg="DNS查询成功" domain=google.com rtt=6.030332ms server="223.5.5.5:53"
time="2025-12-16T00:38:14+08:00" level=debug msg="DNS响应已缓存" domain=google.com ttl=30m0s type=A
time="2025-12-16T00:38:44+08:00" level=info msg="正在关闭服务..."
time="2025-12-16T00:38:44+08:00" level=info msg="统计数据保存成功" file=/root/dns/data/test_stats.json
time="2025-12-16T00:38:44+08:00" level=info msg="查询日志保存成功" file=/root/dns/data/querylog.json
time="2025-12-16T00:38:44+08:00" level=info msg="DNS服务器已停止"
time="2025-12-16T00:38:44+08:00" level=error msg="HTTP控制台服务器启动失败" error="http: Server closed"
time="2025-12-16T00:38:44+08:00" level=info msg="HTTP控制台服务器已停止"
time="2025-12-16T00:38:44+08:00" level=info msg="Shield计数数据保存成功" blocked_entries=0 file=/root/dns/data/test_shield_stats.json resolved_entries=0
time="2025-12-16T00:38:44+08:00" level=info msg="规则自动更新已停止"
time="2025-12-16T00:38:44+08:00" level=info msg="服务已关闭"
time="2025-12-16T00:38:44+08:00" level=warning msg="日志系统已关闭"
