update
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
[dns]
|
||||
port = 53
|
||||
upstreamDNS = 10.35.10.200
|
||||
dnssecUpstreamDNS = 208.67.220.220, 208.67.222.222
|
||||
saveInterval = 10
|
||||
cacheTTL = 10
|
||||
enableDNSSEC = false
|
||||
queryMode = parallel
|
||||
queryTimeout = 5000
|
||||
enableFastReturn = true
|
||||
noDNSSECDomains = amazehome.cn, addr.arpa, amazehome.xyz, .cn
|
||||
enableIPv6 = false
|
||||
cacheMode = file
|
||||
cacheSize = 100
|
||||
maxCacheTTL = 30
|
||||
minCacheTTL = 5
|
||||
domain_akamai = 10.35.10.200:53
|
||||
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
|
||||
|
||||
[http]
|
||||
port = 8081
|
||||
host = 0.0.0.0
|
||||
enableAPI = true
|
||||
username = admin
|
||||
password = admin
|
||||
|
||||
[shield]
|
||||
updateInterval = 3600
|
||||
blockMethod = NXDOMAIN
|
||||
customBlockIP = 0.0.0.2
|
||||
statsSaveInterval = 60
|
||||
blacklist_AdGuard_DNS_filter = https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/filter.txt,true
|
||||
blacklist_Adaway_Default_Blocklist = https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/hosts/adaway.txt,true
|
||||
blacklist_CHN_anti_AD = https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/list/easylist.txt,true
|
||||
blacklist_My_GitHub_Rules = https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/costomize.txt,true
|
||||
blacklist_CNList = https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/list/china.list,false
|
||||
blacklist_大圣净化 = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/hosts/dsjh.txt,true
|
||||
blacklist_Hate_and_Junk = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/hate-and-junk-extended.txt,true
|
||||
blacklist_My_Gitlab_Hosts = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/hosts/costomize.txt,true
|
||||
blacklist_Anti_Remote_Requests = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/hosts/anti-remoterequests.txt,true
|
||||
blacklist_URL_Based = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/url-based-adguard.txt,true
|
||||
blacklist_My_Gitlab_A_T_Rules = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/ads-and-trackers.txt,true
|
||||
blacklist_My_Gitlab_Malware_List = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/malware.txt,true
|
||||
blacklist_hosts = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/hosts/costomize.txt,true
|
||||
blacklist_AWAvenue_Ads_Rule = http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/rules/AWAvenue-Ads-Rule.txt,true
|
||||
blacklist_诈骗域名 = https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/cheat.txt,true
|
||||
|
||||
[domainInfo]
|
||||
updateInterval = 3600
|
||||
enableAutoUpdate = true
|
||||
domainInfo_域名信息列表 = https://gitea.amazehome.xyz/AMAZEHOME/domain-info/raw/branch/main/domains/domain-info.json,domain-info,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
|
||||
|
||||
[gfwList]
|
||||
ip = 127.0.0.1
|
||||
content =
|
||||
enabled = false
|
||||
|
||||
[log]
|
||||
level = debug
|
||||
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
|
||||
alertRetentionDays = 0
|
||||
threatDatabasePath = ./static/domain-info/threats/threats-database.csv
|
||||
Reference in New Issue
Block a user