40 lines
877 B
JSON
40 lines
877 B
JSON
{
|
|
"dns": {
|
|
"port": 5353,
|
|
"upstreamDNS": [
|
|
"223.5.5.5:53",
|
|
"223.6.6.6:53"
|
|
],
|
|
"timeout": 5000,
|
|
"statsFile": "data/test_stats.json",
|
|
"saveInterval": 300,
|
|
"cacheTTL": 30,
|
|
"enableDNSSEC": true,
|
|
"dnssecValidation": true
|
|
},
|
|
"http": {
|
|
"port": 8081,
|
|
"host": "0.0.0.0",
|
|
"enableAPI": true,
|
|
"username": "admin",
|
|
"password": "admin"
|
|
},
|
|
"shield": {
|
|
"localRulesFile": "data/test_rules.txt",
|
|
"blacklists": [],
|
|
"updateInterval": 3600,
|
|
"hostsFile": "data/test_hosts.txt",
|
|
"blockMethod": "NXDOMAIN",
|
|
"customBlockIP": "",
|
|
"statsFile": "./data/test_shield_stats.json",
|
|
"statsSaveInterval": 60,
|
|
"remoteRulesCacheDir": "data/test_remote_rules"
|
|
},
|
|
"log": {
|
|
"file": "logs/test_dns-server.log",
|
|
"level": "debug",
|
|
"maxSize": 100,
|
|
"maxBackups": 10,
|
|
"maxAge": 30
|
|
}
|
|
} |