Get rid of duplicate variable definitions

This commit is contained in:
Eugene Bujak
2018-11-30 13:35:22 +03:00
parent ce615e1855
commit 057db71f3b
3 changed files with 16 additions and 20 deletions

View File

@@ -68,10 +68,9 @@ var config = configuration{
binaryFile: "coredns", // only filename, no path
coreFile: "Corefile", // only filename, no path
FilteringConfig: dnsforward.FilteringConfig{
ProtectionEnabled: true,
FilteringEnabled: true,
SafeBrowsingEnabled: false,
BlockedResponseTTL: 10, // in seconds
ProtectionEnabled: true, // whether or not use any of dnsfilter features
FilteringEnabled: true, // whether or not use filter lists
BlockedResponseTTL: 10, // in seconds
},
QueryLogEnabled: true,
Ratelimit: 20,