* dnsforward, config: add unspecified IP blocking option
* dnsforward: prioritize host files over null filter * dnsforward, config: adjust setting variable to blocking_mode * dnsforward: use net.IPv4zero for null IP
This commit is contained in:
committed by
Simon Zolin
parent
2178546e7b
commit
07ffcbec3d
@@ -115,6 +115,7 @@ var config = configuration{
|
||||
FilteringConfig: dnsforward.FilteringConfig{
|
||||
ProtectionEnabled: true, // whether or not use any of dnsfilter features
|
||||
FilteringEnabled: true, // whether or not use filter lists
|
||||
BlockingMode: "nxdomain", // mode how to answer filtered requests
|
||||
BlockedResponseTTL: 10, // in seconds
|
||||
QueryLogEnabled: true,
|
||||
Ratelimit: 20,
|
||||
|
||||
Reference in New Issue
Block a user