* config: set "default" blocking mode by default
This commit is contained in:
parent
07ebcc2bf3
commit
8daca1a55a
|
@ -161,7 +161,7 @@ var config = configuration{
|
||||||
StatsInterval: 1,
|
StatsInterval: 1,
|
||||||
FilteringConfig: dnsforward.FilteringConfig{
|
FilteringConfig: dnsforward.FilteringConfig{
|
||||||
ProtectionEnabled: true, // whether or not use any of dnsfilter features
|
ProtectionEnabled: true, // whether or not use any of dnsfilter features
|
||||||
BlockingMode: "null_ip", // mode how to answer filtered requests
|
BlockingMode: "default", // mode how to answer filtered requests
|
||||||
BlockedResponseTTL: 10, // in seconds
|
BlockedResponseTTL: 10, // in seconds
|
||||||
Ratelimit: 20,
|
Ratelimit: 20,
|
||||||
RefuseAny: true,
|
RefuseAny: true,
|
||||||
|
|
Loading…
Reference in New Issue