update
This commit is contained in:
+16
-33
@@ -1,25 +1,25 @@
|
||||
[dns]
|
||||
port = 53
|
||||
upstreamDNS = 10.35.10.200, 106.14.121.141
|
||||
upstreamDNS = 10.35.10.200
|
||||
dnssecUpstreamDNS = 208.67.220.220, 208.67.222.222
|
||||
saveInterval = 10
|
||||
cacheTTL = 60
|
||||
cacheTTL = 10
|
||||
enableDNSSEC = false
|
||||
queryMode = parallel
|
||||
queryTimeout = 5
|
||||
queryTimeout = 5000
|
||||
enableFastReturn = true
|
||||
noDNSSECDomains = amazehome.cn, addr.arpa, amazehome.xyz, .cn
|
||||
enableIPv6 = false
|
||||
cacheMode = file
|
||||
cacheSize = 100
|
||||
maxCacheTTL = 60
|
||||
minCacheTTL = 30
|
||||
domain_akamai = 10.35.10.200:53
|
||||
maxCacheTTL = 30
|
||||
minCacheTTL = 5
|
||||
domain_amazehome.cn = 10.35.10.200:53
|
||||
domain_amazehome.xyz = 10.35.10.200:53
|
||||
domain_microsoft.com = 10.35.10.200:53
|
||||
domain_addr.arpa = 10.35.10.200:53
|
||||
domain_akadns = 10.35.10.200:53
|
||||
domain_akamai = 10.35.10.200:53
|
||||
|
||||
[http]
|
||||
port = 8081
|
||||
@@ -60,37 +60,20 @@ maxSize = 100
|
||||
maxBackups = 10
|
||||
maxAge = 30
|
||||
|
||||
[queryLog]
|
||||
# 基本配置
|
||||
enabled = true
|
||||
ringBufferSize = 10000
|
||||
|
||||
# SQLite 主库配置
|
||||
databasePath = data/query_logs.db
|
||||
maxDatabaseSizeMB = 1024
|
||||
enableWAL = true
|
||||
|
||||
# 归档配置
|
||||
archiveEnabled = true
|
||||
archiveDir = data/archive
|
||||
archivePrefix = querylog
|
||||
compressionLevel = 6
|
||||
|
||||
# 清理配置
|
||||
retentionDays = 0
|
||||
retentionMonths = 0
|
||||
|
||||
# 查询配置
|
||||
queryTimeout = 5
|
||||
enableCache = true
|
||||
cacheTTL = 300
|
||||
|
||||
[threat]
|
||||
enabled = true
|
||||
queryRateThreshold = 0
|
||||
nxDomainThreshold = 0
|
||||
maxDomainLength = 0
|
||||
suspiciousPatterns = malware,phishing,trojan,virus,ransomware
|
||||
unusualQueryTypes = TXT,SRV,MX
|
||||
suspiciousPatterns = malware, phishing, trojan, virus, ransomware
|
||||
unusualQueryTypes = TXT, SRV, MX
|
||||
alertRetentionDays = 0
|
||||
threatDatabasePath = ./static/domain-info/threats/threats-database.csv
|
||||
|
||||
[domainInfo]
|
||||
updateInterval = 3600
|
||||
enableAutoUpdate = true
|
||||
domainInfo_威胁数据库 = https://gitea.amazehome.xyz/AMAZEHOME/domain-info/src/branch/main/threats/threats-database.csv,threat-database,true
|
||||
domainInfo_跟踪器列表 = https://gitea.amazehome.xyz/AMAZEHOME/domain-info/raw/branch/main/tracker/trackers.json,tracker,true
|
||||
domainInfo_111 = https://gitea.amazehome.xyz/AMAZEHOME/domain-info/src/commit/b085e15b1ec593deeff1b8ea53bfc82a8669a020/domains/domain-info.json,domain-info,true
|
||||
domainInfo_11 = https://gitea.amazehome.xyz/AMAZEHOME/domain-info/src/commit/b085e15b1ec593deeff1b8ea53bfc82a8669a020/domains/domain-info.json,domain-info,true
|
||||
|
||||
Reference in New Issue
Block a user